Re: switch / case statements
Posted: Wed Sep 14, 2016 8:19 pm
Ok.
Just posted up a new build.
See the following demonstration program.
You can now goto the branch name contained in a variable.
Just posted up a new build.
See the following demonstration program.
You can now goto the branch name contained in a variable.
Code: Select all
listbox test$, "[test1],[test2]"
button "go", [go]
wait
[go]
goto test$
wait
[test1]
print "1"
wait
[test2]
print "2"
wait