Hi friends of BP,
this is the mine first post to this forum.
I'm writing from Italy, near Roma.
I have monitored this list from few days ago.
I have been discovered the Power Basic for the first time
a couple of months ago. As an old entusiast programmer of
the use of Turbo Basic ten years ago, After that positive
experience, the world goes to VB...
Now I have buied the full line of product of Power Basic
and I have in plan to use it frequently!
But at my first approach to the serial port, a strange problem
put me in trouble.
A simple comm program, that work fine under pure DOS, in a
VDM (DOS)windows of WIN98SE do not work.
The program is:
DEFINT a-z
CLS
$COM 1024
OPEN "COM2:9600,n,8,1,DS,RS,CS,CD" as #2 LEN = 1024
PRINT "premi un tasto per terminare"
WHILE NOT INSTAT
DO UNTIL LOC(2) = 0 or EOF(1)
a$ = INPUT$(1,#2)
PRINT a$;
LOOP
WEND
What I have mistaked?
Thanks for your answer.
Ciao
Leonardo
------------------
this is the mine first post to this forum.
I'm writing from Italy, near Roma.
I have monitored this list from few days ago.
I have been discovered the Power Basic for the first time
a couple of months ago. As an old entusiast programmer of
the use of Turbo Basic ten years ago, After that positive
experience, the world goes to VB...
Now I have buied the full line of product of Power Basic
and I have in plan to use it frequently!
But at my first approach to the serial port, a strange problem
put me in trouble.
A simple comm program, that work fine under pure DOS, in a
VDM (DOS)windows of WIN98SE do not work.
The program is:
DEFINT a-z
CLS
$COM 1024
OPEN "COM2:9600,n,8,1,DS,RS,CS,CD" as #2 LEN = 1024
PRINT "premi un tasto per terminare"
WHILE NOT INSTAT
DO UNTIL LOC(2) = 0 or EOF(1)
a$ = INPUT$(1,#2)
PRINT a$;
LOOP
WEND
What I have mistaked?
Thanks for your answer.
Ciao
Leonardo
------------------
Comment