> OK, I managed to isolate this problem! > This will crash Gambas 3 rev 3452 @ Ubuntu 10.10 64bit. > > > Public Sub Form_Open() > Dim hFile As File > Dim sho As Short > Dim sStr As String = "" '"abc" Crash only occurs if string is null. > > hFile = Open "/tmp/test" For Create > Write #hFile, 123 As Short > Write #hFile, sStr As String > Close #hFile > > hFile = Open "/tmp/test" For Read > sho = Read #hFile As Short > sStr = Read #hFile As String > Close #hFile > > End > > Ready made project is attached. > > Jussi >
Thanks. It was fixed in revision #3455. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user