Remote-processing BASIC 52 Uživatelský manuál Strana 129

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 163
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 128
RPBASIC-52 PROGRAMMING GUIDE
2-110
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"
Cards: All
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),AIN(0)*.237,
130 PRINT TAB(23),AIN(1)*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
Zobrazit stránku 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 162 163

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

Žádné komentáře