Campbell-scientific CR800 and CR850 Measurement and Control Systems Instrukcja Użytkownika Strona 458

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 457
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
Przeglądanie stron 457
1 2 ... 453 454 455 456 457 458 459 460 461 462 463 ... 565 566

Komentarze do niniejszej Instrukcji

Brak uwag