pure dos 6.2 with a modem in it. Wrote the following test code:
Code:
$lib all off $lib com on color 14,1 cls a$ = string$(80,"A") width "com2:",10 rem open "com2:1200,n,8,1,rs,cs,ds,cd" for output as #1 rem open "com2:1200,n,8,1,rs,cs,ds,cd" for append as #1 rem open "com2:1200,n,8,1,rs,cs,ds,cd" for random as #1 open "com2:1200,n,8,1" for output as #1 width "com2:",10 delay 1 print #1,"atz" delay 5 '----------- for x = 1 to len(a$) print #1,mid$(a$,x,1); rem print #1,mid$(a$,x,1) next x rem print #1,a$; rem print #1,a$ '----------- do until inkey$ <> "" if not eof(1) then t$ = input$(1,#1) print;t$;using$("### ",asc(t$)); end if loop close #1 end
error out did not produce the desired results. i.e., no Cr's
every 10th character.
What are we missing?
------------------
[This message has been edited by Mel Bishop (edited September 11, 2003).]
Leave a comment: