Remote-processing BASIC 52 Manuel d'utilisateur Page 134

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 163
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 133
RPBASIC-52 PROGRAMMING GUIDE
2-115
UI0
UI1
Syntax: UIn
Where: n = 0 or 1, is the serial port number
Function: Directs serial input to COM 0 or COM 1 when using GET and INPUT statements.
Mode: Command, run
Use: UI1
Cards: All
DESCRIPTION
UI0 and UI1 can be placed anywhere in a program, allowing RPBASIC-52 to accept input from 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
GET, UO0, UO1, 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
Vue de la page 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 162 163

Commentaires sur ces manuels

Pas de commentaire