Xylem STORM 3 Basic Programming manual Manuale Utente Pagina 42

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 48
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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)
Vedere la pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 48

Commenti su questo manuale

Nessun commento