Can I write to Com1 as a file ?
Maurizio
FUNCTION MAIN()
LOCAL nHandle
LOCAL cBuf
LOCAL nLen
nHandle := FOPEN( "COM1" , 1 )
? nHandle
cBuf := "ATDT161"
nLen := LEN( cBuf )
? FWRITE( nHandle , @cBuf , nLen )
FCLOSE( nHandle )
? nHandle
RETURN NIL
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: russimicro and 43 guests