PDA

View Full Version : returnvalue in script =1



glorydog
July 31st, 2003, 06:31 PM
In the last release of girder before 3.29 the GVMS still worked and so did my little script. Now I can only get a script in Lua to return value = 0!
I need to goto top group if myvariable = 1, and bottom group if myvariable = 0. It can't be too hard, but I have tried and tried... :cry:

Ron
August 4th, 2003, 10:48 AM
Could you give me an example Girder file? ( just send it to the support@... address)

chros
September 23rd, 2003, 06:51 AM
in last row of the LUA script, for example, write :

result = 2 (or result = myvariable)

The value of the 'result' variable will return.
Then the Name1 command, Name2 command will work !!!

I have been searching a half day, till I have found it ... :)