|
Alex Queiroz wrote:
Hallo, On 2/24/06, Pavol Severa <pavol.severa@gmail.com> wrote:I imagine there are some formal problems: 1. a function call is a valid statement - still it would be nice if its results were printed (except when it's nil)Try putting a '=' before the expression or function call.
Hello!A followup question: if i write '= 2+3', the lua console prints '6', as it should. However, lua doesn't support expression cascading ('a=b=c;' is not valid), so if i write something like '=a=2+3;', i get an error. Is there a way to make it print '6' even in this case?
Cheers, Goran. -- The absolute law of the universe: everything depends