PicoMite V6.00.02 release candidates - all versions
Author
Message
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4281
Posted: 11:38am 07 Jun 2025
I don't see how that can print In Sub a, b, c = 10 6 7 as it should be In Sub x% y%, z% etc
But addressing the main issue: normally defining a SUB with parameters makes each of those parameters a sort of locally defined variable, so the original example would have both a global variable b and a parameter b. The parameter would in effect hide the global one.
It's OK if that is not how MMBasic is supposed to work but it is most unusual/odd.