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

  • 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 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
Zobrazit stránku 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 162 163

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

Žádné komentáře