Code: Select all
VAR SomeText = ""
EXTERNAL SetIntVariable(x, y)
->main
=== main ===
Do this test work?
* Yes
Yes it does!
~ SomeText = "You chose yes"
->main
*[No]
->SetIntVariable(CharactersPerSecond, 1)
Well you say no, but actually yes, also the plus means that this option always stays present, removing the "+" and changing it to a "*" will make it continue to last option
~ SomeText = "You chose no"
->main
*->
Either way your choices don't matter, it does work. I'm calling a function now that prints out the option you chose.
->chosen
=== chosen ===
{SomeText}
Now I will call a function that passes what you chose to the function
->chosenparam(SomeText)
===chosenparam(sometext)===
{sometext} + 1
->DONE
-> END
==function SetIntVariable(x, y)==
~return 1