Bug in MMBasic 5.07.01


Author Message
joker

Regular Member

Joined: 06/02/2024
Location: Germany
Posts: 43
Posted: 06:03pm 01 May 2026      

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