Hi Sergey
Great ! Thank you, I wonmder if you could help me a little more. I found the simple code below for inputing from the comm port. Do you know the opposite of oComm.input ? Is it oComm.output ?
Thanks for your time.
Cheers
John
* load mscomm
oComm = CREATEOBJ('MSCOMMLib.MSComm')
* Open and Initialize COM port #1 for use
oComm.CommPort = 1
oComm.Settings = "9600,N,8,1"
oComm.InputLen = 0
oComm.PortOpen = .T.
FOR i = 1 to 10000
oComm.inputlen = 1
lnChar = oComm.input
IF lnchar = "A"
EXIT
ENDIF
ENDFOR
* Close the port
oComm.PortOpen = .F.
release oComm
To move a mountain start with the smallest stone