lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi, I'm using Lua 4.0 and I ran into trouble with the order of evaluation.
 
I have two functions:
SetAttribute("name of attribute", "value")
and
GetUniqueID() which returns a string
 
If I do this:
SetAttribute("a name", GetUniqueID())
 
The former function gets called with an empty string as the second parameter and the GetUniqueID is called. (both are C functions)
 
I have similar code to this, and the order of evaluation is correct. I don't know what goes on in this case.
 
Thanks in advance
Ignacio Burgueño