[Gambas-user] Errotr message " Illegal seek"
Benoît Minisini
gambas at ...1...
Mon May 4 20:05:19 CEST 2009
> When I execute the code below , it works fine for the first "Single" button
> push. But on the second push
> I get an error message " System error. Illegal seek". Any ideas ?
>
> PUBLIC SUB Single_Click()
> DIM i AS Integer
> DIM dump AS Byte
> DIM data AS Byte
> ' DIM data AS String
> PRINT "Test"
> PRINT #hfile "S" ' Send S to start sweep
> FOR i = 0 TO points - 1
> READ #hfile, data, points
> buffer[i] = data
> NEXT
> draw_chart(buffer, points)
> END
You must tell which version of Gambas you use, and where you get the error
exactly. The better would be sending your project, and a way to reproduce the
error!
Regards,
--
Benoît
More information about the User
mailing list