Remote-processing BASIC for the CX-10 Modbus Manual do Utilizador Página 77

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 84
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 76
BASIC PROGRAMMING GUIDE
2-68
TAB
Syntax: PRINT TAB(
position
)
Where:
position
= 1 to 255
Function: Specifies a column number at to begin printing.
Mode: Command, run
Use: PRINT TAB(5), "Pressure", TAB (20),"Temperature"
DESCRIPTION
TAB is used with PRINT. It is used to print data in table form. If the cursor is past the requested column, the
instruction is ignored.
ERROR
BAD ARGUMENT When
position
is negative or out of range.
EXAMPLE
100 PRINT TAB(5),"Pressure",TAB(20),"Temperature"
110 FOR N=0 TO 6
120 PRINT TAB(7),REGREAD(2)*.237,
130 PRINT TAB(23),REGREAD(3)*1.324
140 NEXT
>run
Pressure Temperature
116.13 237.3
116.14 237.3
116.13 237.4
116.14 237.4
116.11 237.0
116.16 237.6
116.13 237.5
Vista de página 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 83 84

Comentários a estes Manuais

Sem comentários