[Hbasic-userinfo] How to end a simple hbasic program?
Status: Beta
Brought to you by:
mengels
|
From: David <Da...@so...> - 2004-05-23 19:33:29
|
Hello All,
I must have missed something sonewhere and I cannot find an HBasic
example anywhere to solve my problem. I thought the keyword to end a
program was "End" but anytime I try to run the app i get an error
message pointing to the "end" statement telling me I have an "Illegal
token after End symbol".
All works fine when I don't include the "End" statement for button3. I'm
playing with 0.9.9g on Mepis 2003.10 and KDE. Any help is greatly
appreciated!
David
Below is the entire sourcecode :
Sub button1_clicked()
Led1.on()
End Sub
Sub button2_clicked()
Led1.off()
End Sub
Sub button3_clicked()
End
End Sub
|