Hello guys
I've written a program in PBDOS that does serial communications
with a data logger. The program works great but I'm trying to
convert the code to PBDLL60 using the new COMM commands. I have
had a few problems with that.
To establish the connection, in PBDOS I use:
FN = FREEFILE
OPEN "COM2:9600,N,8,,cs,ds,cd" FOR RANDOM AS #FN
In PBDLL60, when I try to set: COMM SET #FN, CD = 1 I get the
compile time error 542: Value may not be altered (the same thing
happens when I try to modify RLSD)
Can any one show me how to convert the above PBDOS code to PBDLL60?
Thanks a lot for any suggestions.
------------------
I've written a program in PBDOS that does serial communications
with a data logger. The program works great but I'm trying to
convert the code to PBDLL60 using the new COMM commands. I have
had a few problems with that.
To establish the connection, in PBDOS I use:
FN = FREEFILE
OPEN "COM2:9600,N,8,,cs,ds,cd" FOR RANDOM AS #FN
In PBDLL60, when I try to set: COMM SET #FN, CD = 1 I get the
compile time error 542: Value may not be altered (the same thing
happens when I try to modify RLSD)
Can any one show me how to convert the above PBDOS code to PBDLL60?
Thanks a lot for any suggestions.
------------------
Comment