Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function g (a, b, ...) end
- -- Call Parameters
- g(3, 4, 5, 8) a=3, b=4, arg={5, 8; n=2}
- ---------------------------------------------
- function A ()
- local a = 5
- local b = 8
- local c = 10
- local d
- local e
- if X then
- d = 13
- e = 15
- end
- g(a,b,c,d,e)
- -- call ; was sind die parameters? ENTWEDER: a=5, a=8, arg={10; n=1} ODER: a=5, a=8, arg={10, nil, nil; n=3}
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement