PDA

View Full Version : Why does if command not in 3.2.6?



wom
December 22nd, 2002, 10:39 PM
I upgraded to the latest girder yesterday. Everything seems to work fine except an IF command which doesn't anymore.

What the IF command does is a conditional jump.

if reg1<25000 then goto x else goto y.

My Variable Manipulation Script reads as follows:

reg1<25000;

In the the two browse windows, I have made the connection to TRUE and FALSE.

When I test the command, I get the error message: "Parse Error".

What do I do wrong? It used to work fine... :roll:

Ron
December 22nd, 2002, 10:46 PM
The scripting language changed to Lua. Either upgrade the commands to lua or downgrade the Scripting library. The original GVMS is available on the download page. ( Though upgrading is strongly advised)

You probably want to change that code into this:



result = reg1 < 25000

wom
December 22nd, 2002, 11:02 PM
Ron-

this is spectacular: Only a few minutes delay to get answer (which fixed my problem) on the day before Christmas at 7:45 in the morning! :D


Now let's both get off the computer and do some last minute Christmas shopping...

Thanks a million!

Ron
December 22nd, 2002, 11:47 PM
No deal, I still have to work. :-(