Remote-processing BASIC 52 Manuel d'utilisateur Page 37

  • 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 36
RPBASIC-52 PROGRAMMING GUIDE
2-18
COM
Syntax: COM(port)
Where: port = 0 or 1, the serial com munication port. port may be larger. Check your hardware
manual.
Function: Returns the number of ch aracters received in the specified se rial port buffer.
Mode: Run
Use: A = COM (0)
Cards: All
DESCRIPTION
Use this function in conjunction with GET and COM $ to determine the number of characters to extract from
the serial buffer. A GET 0 data value can be processed with the knowledge that it is a valid character and not
an indication of an empty buffer.
RELATED
COM$, GET
ERRORS
BAD SYNTAX Any parameters left out
BAD ARGUMENT When port > 1 or card limit or negative
Vue de la page 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 162 163

Commentaires sur ces manuels

Pas de commentaire