[Gambas-user] Errotr message " Illegal seek"
frenchpark43
tinker43 at ...626...
Mon May 4 22:07:36 CEST 2009
I was wrong about where the program seems to stop.
It is at the line Print #hfile "S" .
http://www.nabble.com/file/p23375691/FMain.class FMain.class
frenchpark43 wrote:
>
> 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
>
--
View this message in context: http://www.nabble.com/Errotr-message-%22-Illegal-seek%22-tp23359909p23375691.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list