Does LiveCode use an interpreter or complier?
Posted: Mon Dec 16, 2013 10:03 pm
Hey guys,
I'm wondering whether the Livecode environment uses an interpreter or compiler to translate into machine code. I think it uses an interpreter, but I'll show you my code...
global variable1
Thanks for your help.
I'm wondering whether the Livecode environment uses an interpreter or compiler to translate into machine code. I think it uses an interpreter, but I'll show you my code...
global variable1
I was deliberately trying to use a non-existent variable so I could check the error message. So, what happened when I ran this code was it asked me to type a random number between one and nine, and then displayed the error message. As a compiler scans the whole code and fails to run if there's any errors, I assume it's an interpreter.on mouseUp
configure
thing
end mouseUp
on configure
put 0 into variable1
end configure
on thing
ask "Type a random number between 1 and 9."
put it into variable1
put variable1 / variable2 into field "Field"
end thing
Thanks for your help.