PDA

View Full Version : Weird exceptions in syntax



Ian
02-14-2007, 10:17 PM
While I knew "x = 1 y = 2" was valid in Lua, I didn't know you could omit parentheses around a function call if there's only one argument. "print x" Weird.

I wonder who can make the most obfuscated code!

P.S. Er wait, that only works if the one argument is a string literal. :(