PICBASIC PLUS LITE Manual - Profe Saul
PICBASIC PLUS LITE Manual - Profe Saul
PICBASIC PLUS LITE Manual - Profe Saul
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>PICBASIC</strong> <strong>PLUS</strong> Compiler5.28. GOTOSyntax :Overview :Operators :Example :GOTO LabelJump to a defined label and continue execution from there.Label is a user-defined label placed at the beginning of a line whichmust have a colon ‘:’ directly after it.IF Var = 3 THEN GOTO Jumpover{code here executed only if Var3…………}Jumpover:{continue code execution}In this example, if VAR=3 then the program jumps over all the codebelow it until it reaches the label JUMPOVER where program executioncontinues as normal.63Copyright Crownhill 2001