Xylem STORM 3 Basic Programming manual Manual do Utilizador Página 42

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 48
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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)
Vista de página 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 48

Comentários a estes Manuais

Sem comentários