Thursday, January 10, 2008

Return is not a function

> return ReturnArgs(1,2,3)
1, 2, 3

> return (ReturnArgs(1,2,3))
1

wrapping what follows return in parentheses forces only a single argument out of the ReturnArgs function.

No comments: