Hello,
I hope you can help me.
I want to use a function go to which is like I’m in a condition and if it is verified, we can go to a part further in the code.
Thank you and best regards,
Mayu
There’s no instruction to skip some code. You need to use IF… ELSE.. (or ELSIF…) ENDIF to execute some code according to conditions.
The language would need to use alphabetic labels (or line numbers like the old basic interpreters) to tag some parts of the code, but neither is supported.
You might use custom indicators as functions that do something according to some parameters then return some data that they have processed, but it’s not that straightforward and they would still require using IF..ENDIF to make a choice.
JSParticipant
Veteran
There is an instruction “BREAK” for forcing an end in a “FOR” loop or “WHILE” loop.