Xylem STORM 3 Basic Programming manual Uživatelský manuál Strana 42

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 48
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 41
40
COMMANDS AND FUNCTIONS
Marks the beginning of a conditional WHILE-WEND loop. The condition is specified after the WHILE
keyword. As long as the condition evaluates to TRUE, the loop will continue to iterate. Once the condition
evaluates to FALSE, the loop will exit.
REM Presuming SiteID.csv contains:
REM Digital1,Analog2,WindSpeed
REM 56.23,2.25,126.5
OPEN “SiteID.csv” FOR READING AS #1
WHILE (!EOF(#1))
INPUT #1 “,, var$ REM reads each name and value from the file
WEND
CLOSE #1
WHILE
Returns the bitwise exclusive or (as a number) of the two numeric parameters.
var = XOR(6, 2) REM sets var to XOR: 4
XOR (number, number)
Zobrazit stránku 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 48

Komentáře k této Příručce

Žádné komentáře