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-tp23359909p23359909.html
Sent from the gambas-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user