> 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 ------------------------------------------------------------------------------ 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
