Remote-processing BASIC 52 Instrukcja Użytkownika Strona 37

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 163
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 162 163

Komentarze do niniejszej Instrukcji

Brak uwag