Campbell CSIOPC Spécifications Page 145

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 322
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 144
Section 10. CRBASIC Programming Instructions
10-7
10.4 Program Control Instructions
10.4.1 Common Controls
BeginProg … EndProg
Mark the beginning and end of a program.
Syntax
BeginProg
Program Code
EndProg
Call
Transfers program control from the main program to a subroutine.
Syntax
Call [subroutine name] (list of variables)
CallTable
Calls a data table, typically for output processing.
Syntax
CallTable [TableName]
Delay
Delays the program.
Syntax
Delay (Option, Delay, Units)
Do … Loop
Repeats a block of statements while a condition is true or until a condition
becomes true.
Syntax
Do [{While | Until} condition]
[statementblock]
[ExitDo]
[statementblock]
Loop
-or-
Do
[statementblock]
[ExitDo]
[statementblock]
Loop [{While | Until} condition]
Exit
Exit program.
Syntax
Exit
Vue de la page 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 321 322

Commentaires sur ces manuels

Pas de commentaire