Campbell-scientific CR800 and CR850 Measurement and Control Systems Manuel d'utilisateur Page 458

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 566
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 457
1 2 ... 453 454 455 456 457 458 459 460 461 462 463 ... 565 566

Commentaires sur ces manuels

Pas de commentaire