EasyManua.ls Logo

Campbell CR850 - Page 458

Campbell CR850
566 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix A. CRBasic Programming Instructions
458
Syntax
Do [{While | Until} condition]
[statementblock]
[ExitDo]
[statementblock]
Loop
-or-
Do
[statementblock]
[ExitDo]
[statementblock]
Loop [{While | Until} condition]
EndSequence
EndsthecurrentsequencethatstartedatBeginProgorafteraSlowSequence
andaccompanyingdeclarationsequences.
Syntax
EndSequence
Exit
Exitsprogram.
Syntax
Exit
For/Next
Repeatsagroupofinstructionsforaspecifiednumberoftimes.
Syntax
For counter = start To end [ Step increment ]
[statement block]
[ExitFor]
[statement block]
Next [counter [, counter][, ...]]
If/Then/Else/ElseIf/EndIf
Allowsconditionalexecution,basedontheevaluationofanexpression.Elseis
optional.ElseIfisoptional.NotethatEndSelectandEndIfcallthesame
function).
Syntax
If [condition] Then [thenstatements] Else [elsestatements]
-or-
If [condition 1] Then
[then statements]
ElseIf [condition 2] Then
[elseif then statements]
Else
[else statements]
EndIf

Table of Contents

Related product manuals