Reset from script

3 years 5 months ago #29532819 by infoa
Reset from script was created by infoa
Hi,

Could I reset my script from a command microbasic inside the code ? I would like use a command similar to "!r 2" or "%reset 321654987" to restart the execution code inside my script in microbasic script. I can not use a jump to a label becouse after some restarts my stack are overflow.

Thanks

Please Log in or Create an account to join the conversation.

3 years 5 months ago #29532824 by blake
Replied by blake on topic Reset from script
The !R 2 command will restart your script from the beginning. The MicroBasic syntax for this command is:
setcommand(_r, 2)

This is shown on page 225 of our User Manual

Please Log in or Create an account to join the conversation.

Time to create page: 0.096 seconds