Campbell CR200 Betreibershandbuch Seite 110

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 210
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 109
Section 10. CRBASIC Programming Instructions
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 subname
CallTable
Calls a data table, typically for output processing.
Syntax
CallTable [TableName]
Delay
Delays the program.
Syntax
Delay (Delay, Units)
Do … While ... Until ... ExitDo ... 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]
For ... To ... Step ... ExitFor ... Next
Repeats a group of instructions a specified number of times.
Syntax
For counter = start To end [ Step increment ]
[statementblock]
[ExitFor]
[statementblock]
Next [counter [, counter][, ...]]
96
Seitenansicht 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 209 210

Kommentare zu diesen Handbüchern

Keine Kommentare