![Radio Shack TRS-80 CR-510 Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/radio-shack/trs-80-cr-510/trs-80-cr-510_operation-manual_3298152050.webp)
-46-
230 ' Get card reader status (S$) — first character in string returned
by CR-310
240 ' "4" means not reader is not ready
280 S$=MID$(A$,1,1): IF S$="4" THEN 210
330 'Status "0" means reader is not ready, "2" means hopper is empty
340 IF (S$="0" OR S$="2")=0 THEN PRINTTAB(5)"ERROR "S$" has occurred."
:
PRINTTAB(5)"Refer to the CR-310 Owner's Manual for error descriptions.
PRINT:GOTO 140
350 'Get length of text on card and print to screen (ignore status and
following
comma, start at character 3 in string returned by card reader: this co
rresponds
to column 1 on card)
360 L=INSTR(3,A$,CR$)-3: PRINT MID$(A$,3,L)
370 'Status value " 2 " means card hopper is empty
380 IF S$="2" THEN CLS: PRINTTAB(20) "The card hopper is empty.":GOTO
140 ELSE 210
390 "Trap unexpected errors and go back to read again.
400 PRINTTAB(5)"ERROR "ERR/2+1" has occurred.":
PRINTTAB(5)"Refer to the Model III BASIC Language Reference Manual
for error descriptions.":
PRINT: RESUME 140
999 END
Содержание TRS-80 CR-510
Страница 1: ......
Страница 8: ......
Страница 12: ...Figure 7 Baud Rate Switch Positions...
Страница 17: ...Figure 10 Card Specifications Chart 1 3...
Страница 24: ...20...
Страница 34: ...30...
Страница 39: ...35...
Страница 40: ...36...
Страница 41: ...37...
Страница 42: ...38...
Страница 43: ...39...
Страница 44: ...40...
Страница 45: ...4 1...
Страница 46: ...42...
Страница 47: ...43...
Страница 48: ...44...
Страница 51: ...A 1...
Страница 52: ...A 2...
Страница 53: ...A 3...
Страница 54: ...A 4...
Страница 55: ...B 1 Figure B1 General Purpose Card Appendix B Card Specification...
Страница 56: ...B2...
Страница 58: ...C2...
Страница 60: ...D 2 Card Trailing Edge Card Must Be Placed Face Down In the Card Hopper Card Left Card Right...
Страница 63: ......