Denso RC5 Spécifications Page 252

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 251
11-2
STOP (Statement) [Conforms to SLIM]
Function
Ends program execution.
Format
STOP
Explanation
During program execution, if the system executes a STOP statement, the
program execution ends there.
Related Terms
DELAY, HALT, HOLD, STATUS
Example
REM Executes plural condition decision.
SELECT CASE Index 'The command is executed if the index value and the CASE
'statement value match.
CASE 0 'When the index is 0.
STOP 'Ends a program.
CASE 1 'When the index is 1.
HALT “STOP” 'Suspends program execution.
CASE 2 'When the index is 2.
HOLD “STOP” 'Suspends program execution.
CASE 3 'When the index is 3.
STOPEND 'Stops a continuous executed program after a cycle.
CASE 4 'When the index is 4.
ON li1 + li2 GOSUB *samp1, *samp2, *samp3
'Calls a subroutine of the label name written at the same level as
the
'value of li1 + li2.
CASE 5 'When the index is 5.
ON li1 + li2 GOTO *samp1, *samp2, *samp3
'Jumps to a label written at the same level as the value of li1 + li2.
CASE 6 'When the index is 6.
END 'Declares the end of motion by the program.
END SELECT 'Declares the end of a plural condition decision statement.
Vue de la page 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 691 692

Commentaires sur ces manuels

Pas de commentaire