> Public Sub Button1_Click() > > Dim hFile As File > Dim LastChar As Byte > > hFile = Open bigfile For Input > > ' Should get 3930677248 > Debug Lof(hFile) > > Seek #hFile, 3930677241 > > ' Should get 3930677241 > Debug Seek(hFile) > > Read #hFile, LastChar >
--> Beware! The syntax of Read has changed in Gambas 3. Now you should do: LastChar = Read #hFile As Byte Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user