Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:07 02 May 2026 Privacy Policy
Jump to

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 : Bug in MMBasic 5.07.01

Author Message
joker

Regular Member

Joined: 06/02/2024
Location: Germany
Posts: 41
Posted: 06:03pm 01 May 2026
Copy link to clipboard 
Print this post

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
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026