Can I write to Com1 as a file ?
Maurizio
WriteComm on file
- MarcoBoschi
- Posts: 925
- Joined: Thu Nov 17, 2005 11:08 am
- Location: Padova - Italy
- Contact:
Re: WriteComm on file
Maurizio,
do you mean this?
do you mean this?
Code: Select all
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
Marco Boschi
info@marcoboschi.it
info@marcoboschi.it