Goto est une instruction servant à "bouger" dans un programme, d'aller d'un endroit à un autre, pendant l'éxécution de celui-ci.
Il doit être associé à un Label (Lbl).
Syntaxe :
Goto XX
où XX est :
une lettre ou deux ( de A à ZZ + theta-theta)
un nombre allant de 0 à 99
On peut aussi combiner ces deux : Goto R8 est parfaitement accepté.
Exemple d'emploi :
Input A
If A=1
Goto A
If A=2
Goto B
......
......
Lbl A
Disp "A EGALE 1"
......
......
Lbl B
Disp "A EGALE 2"
......
Comments (0)
You don't have permission to comment on this page.