home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
comm
/
st.lzh
/
MODE.SCL
< prev
next >
Wrap
Text File
|
1986-05-05
|
512b
|
31 lines
if "$1" == "" error 1
len z "$1"
left a "$1" 5
case a l
if "$a" == "com1:" let p = 1|goto m1
if "$a" == "com2:" let p = 2|goto m1
error 2
:m1
com %p
mid a "$1" 6 2
baud $a
instr b "$1" ","
let b = %b+1
mid p "$1" %b 1
case p u
mid a "$1" %b
instr b "$a" ","
let b = %b+1
mid d "$a" %b 1
wordlen $d
parity $p
mid d "$a" %b
instr b "$d" ","
let b = %b+1
mid a "$d" %b 1
stopbit $a
end