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 ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user