|
Forum Index : Microcontroller and PC projects : Bug in MMBasic 5.07.01
| Author | Message | ||||
| joker Regular Member Joined: 06/02/2024 Location: GermanyPosts: 42 |
Hello, I recently discovered a bug in MMBasic 5.07.01 on my CMM2. I defined a funktion like this: FUNCTION convertToHex$(a%) convertToHex$=<do something> END FUNCTION If I run this program I get this error message: "Variable Name". The reaon for this is that Hex$ is a reserved name in MMBasic and obviously it doesn't matter that Hex$ is part of a longer name. Changing the name or choosing a different return type than String make the message disapear. The name is perfectly acceptable for MMB4L. Maybe you know this problem already, but I haven't found any hint in this forum. Therefore, I would be delighted, if we could get the MMBasic 6.xx on the CMM2 soon. Best Regards Matthias |
||||
| disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 1110 |
I can duplicate on on the latest CMM2 beta version. I will add to the list. BIN$,OCT$ and HEX$ functions are replaced by BASE$(2, BASE$(8, or BASE(16, when a program is loaded to save function tokens. F4 H7FotSF4xGT |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |