[Gambas-user] write to file question
wally
wally at ...2037...
Mon Aug 15 14:03:02 CEST 2011
Hi,
i try to write data to a new file in the following way:
Public hFile As File 'because i need to write in a serial_read_event
hFile = Open Application.Path &/ "prot.log" For Write Create
Write #hFile, Hex$(iByte, 2)
hFile.Close
Problem is that the filesize is growing during run and the containing data is
as wanted. If i break the execution all is OK.
When i use hFile.Close the file remain but is empty.
What i need to do ?
thank you
wally
More information about the User
mailing list