Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : CMM v4.4(a) bug
Author | Message | ||||
Juri74 Senior Member Joined: 06/02/2012 Location: ItalyPosts: 162 |
hello i think i've just found a bug. it's in v4.4 but because v4.4a only fix a PIN 7 bug probably this bug is in 4.4a too try this little program: Hello()
Print "Where is the bug?" End Sub Hello() Print "Hello there!" Return could someone confirm this please? :) |
||||
CircuitGizmos Guru Joined: 08/09/2011 Location: United StatesPosts: 1425 |
So what happens? Are you saying it is OK that return works? Hello() Print "Where is the bug?" End Sub Hello() Print "Hello there!" END SUB Micromites and Maximites! - Beginning Maximite |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
It does work but only because Return does the same thing as End Sub - however this may change in the future. The correct syntax is: Hello
Print "Where is the bug?" End Sub Hello Print "Hello there!" End Sub Geoff Geoff Graham - http://geoffg.net |
||||
Juri74 Senior Member Joined: 06/02/2012 Location: ItalyPosts: 162 |
ok, thank you Geoff |
||||
Print this page |