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
I am using Gambas 2.11 on Ubuntu 9.04. My PC is connected via a serial port
to a microcontoller-based
circuit which sends 16 characters every time it receives an "S character.
The code seems to stop at the READ statement.
I have tried to insert debug messages but for some reason the Console
disap
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