![]() |
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: 1427 |
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: 3271 |
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 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |