Download Print this page

Radio Shack TRS-80 PC-2 Owner's Manual page 31

Hide thumbs Also See for TRS-80 PC-2:

Advertisement

Non-Communications BASIC Commands
Transmits a carriage return/linefeed
Page
sequence.
20
ERL
Returns the line number of the
statement wh ich caused the cu rrent
error.
PRINT ERL
Page
19
DTE
DTE
FEED n
Enters Terminal Communications
Mode.
Page
37
FEED 65535
ERN
Returns the number of the current
Page
error.
20
PRINT ERN
INPUT$
Inputs a string of characters from
the RS-232C.
Page
21
Comminications BASIC Enhancements
INPUT $ "LOAD DATA"; A
SPACE$ n
Returns a string of n spaces (where
n
=
0 to 31)
Page
34
INPUT%
Fills a string array with RS-232C
data.
Page
22
CLOADa
CLOADa
Reads an ASCII format program
from the RS-232C.
Page
13
INPUT% "SEND DATA "; A$ ( *)
INPUT #-8,
Requests data from the RS-232C.
INPUT #-8, "SEND DATA ";
X
Page
24
MERGEa
CLOADr
Loads a reserve program from the
RS-232C.
Page
14
MERGEa
Merges an ASCII format program.
Page
25
C LOADr "fi lespec"
CSAVEr "filespec"
i
CSAVEa
CSAVEa
CSAVEr
DEV$
Saves a program in ASCII format.
Saves a reserve program from the
RS-232C.
Lists the names of the input devices
which are currently disabled and
whose functions are being handled
by the RS-232C.
56
Page
17
Page
18
Page
18
PRINT #-8,
Sends data to the RS-232C.
PRINT#-8, A, B, C, D
PRINT and LPRINT
Expanded capability when
output is routed to the RS-
232C allows multiple com-
mas in one print list as
delimiters and comma and
semicolon combined deli-
miters.
PRINT A,B,C,D
LPRINT A$;B,C$;D
57
Page
28
Page
29

Advertisement

loading