No, at this time there is no way to define a constant.
But it would be a good feature to have - perhaps in a future version.
Geoff
- FAQ Home
- MMBasic 3.x
- MMBasic 2.x
- Maximite
- UBW32 MMBasic
- DuinoMite
- Supplier Links
- Alternate PIC32 Support
- Return to Main Site
Apology
Thanks for all your patience during the Launch period.
The excellent script used had major issues with emails. This has now been (fingers crossed) SOLVED.All previously registered users have been activated and emailed with their registration details
ID #1038
I would like to define several different constants to use through out a program. I could just use a variable, but this risks getting accidentally changed through a programming error. Is there any way to define a constant so that if I decide to change its value I only need to change it in one place instead of searching through the entire program and finding all occurrences of it?
Tags: -
Related entries:
- I set Terra Term to have a delay of 50 msec/line but it still looses characters when I paste a large program into the full screen editor in 3.0. What can I do?
- MMBasic 3 allows the creation of a blank line number with no following data. Would this create a backward compatibility issue if one was to inadvertently leave a blank line number in a program intended for an earlier Basic?
- Plugging in an SD Card causes MMBASIC to reset, clearing internal memory of program, data and system settings.
- I have built my own version of the Maximite and it refuses to run. It will program correctly but when I cycle the power nothing happens and the power light does not come on. I have checked every component twenty times. Help?
- What are the known bugs in ver 3.0?
You can comment this FAQ