[JW Lua] "Bad Argument" error once more
Jan Angermüller
jan at angermueller.com
Tue Nov 10 11:57:58 CET 2015
Jari,
I noticed when I use a setter function instead of the property the line
number is printed in the error message.
( a = FCArticulationDef)
local vertoffset=0.5
a.MainHandleVerticalOffset=vertoffset
Throws:
bad argument #2 to '?' (number has no integer representation)
a:SetMainHandleVerticalOffset(vertoffset)
Throws:
2339: bad argument #1 to 'SetMainHandleVerticalOffset' (number has no
integer representation)
Jan
More information about the JWLua
mailing list