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 : MMBasic Run Cmd Enhancement
Author | Message | ||||
DuinoMiteMegaAn Senior Member Joined: 17/11/2011 Location: AustraliaPosts: 231 |
MaxiMite MMBasic Run Command Parameter Enhancement The most powerful feature of MMBasic is the ability to run "blocks of MMBasic code" from the SD drive. In most cases, you can have up to 16 GB of program files. RAM is probably the only limiting factor how much of MMBasic code block(s) can be run in memory.(700-1000 lines?) The MMBasic run command has no parameters except for the drive/file name. Could it be possible to also add a return drive name and file name plus some "protected" variable parameters? This way, the main or calling program will run a block of code and have the parameter results from running this block of code. Of course, you could read/write "dat" files but the run command with extra parameters would be very easy to code. |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
This has been on my todo list for a while but so far I have not found anyone who has pushed the memory limitations far enough to make it worth while implementing. The main issue is preserving some variables but not others. The next version (3.2) will provide much more space for programs and that should overcome a lot of memory issues (for a while at least). Geoff Geoff Graham - http://geoffg.net |
||||
Print this page |