Remote-processing BASIC 52 Manual do Utilizador Página 135

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 163
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 134
RPBASIC-52 PROGRAMMING GUIDE
2-116
UO0
UO1
Syntax: UOn
Where: n = 0 or 1, is the serial port number
Function: Directs PRINT output to COM 0 or COM 1 serial port.
Mode: Command, run
Use: UO1
Cards: All
DESCRIPTION
UO0 and UO1 can be placed anywhere in a program, allowing RPBASIC-52 to accept print to either COM0
or COM1.
The original BASIC-52 required an assembly language routine to use another serial port. RPBASIC-52 has
done this already.
RELATED
UI0, UI1, INPUT
EXAMPLE
The followin g exam ple prin ts out an d inputs data from C OM 1.
100 UI 1
110 UO 1
120 INPUT "Enter name:",$(0)
130 UO 0
140 UI 0
Vista de página 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 162 163

Comentários a estes Manuais

Sem comentários