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 : MM Edit update
Author | Message | ||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
There has been an update to MM Edit. Now that MM Basic has user defined subroutines, It was time to add an INCLUDE directive. You can have a comment line with '$INCLUDE: lib.bas (for Quick Basic fans) or '#INCLUDE lib.bas (for the C purists). Either way, 'lib.bas' gets merged into the main document. I have also updated the syntax help to MM Basic V3.1 and included a Syntax Help editor so you can fix my errors or add new commands without waiting for the next update from me. The Help menu has room for adding up to 6 of your own documents. As usual, comments are welcome. There is one known bug. The Syntax help has a few control codes showing under Windows XP. Not a big deal but annoying for me. I will investigate... Dwonload MM Edit from: http://www.c-com.com.au/MMedit.htm Jim VK7JH MMedit MMBasic Help |
||||
Ray B Senior Member Joined: 16/02/2007 Location: AustraliaPosts: 219 |
Jim this program is really developing well with each revision. Most impressed after I found my way around the menus. Have you considered including a "Snippits Store / Edit" facility.? Somewhere to store all of those code examples to for later Cutting/Pasting. Cheers RayB from Perth WA |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
I am glad you like it. Most of the improvements came about when MM Basic improves. I just try to keep up with it. I have thought about a way of organizing code snippits. It's still at the thinking stage... One simple option is to 'preview' code before pasting. I have fixed the Windows XP displaying control codes in the syntax help but as that's the only change, I wouldn't bother upgrading yet. I would like to have a simulator but that will need a lot of rainy Sundays..... Jim VK7JH MMedit MMBasic Help |
||||
Ray B Senior Member Joined: 16/02/2007 Location: AustraliaPosts: 219 |
Jim here is a couple of links you may consider for examples of storing Snippits which I'm sure you could improve upon: http://freesoftland.sytes.net/dtt.html http://www.formatbluesoftware.com/snippethub.htm Cheers RayB from Perth WA |
||||
darthmite Senior Member Joined: 20/11/2011 Location: FrancePosts: 240 |
Great Jim I created the Space Invaders on your editor , i will then create the next game on your editor again It will just take a little more time because its a little (allot) more complex to do ... Cheers. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
Olimex Senior Member Joined: 02/10/2011 Location: BulgariaPosts: 226 |
I use notepad++ at the moment The new DM firmware Feb/04 implements Mass Storage Disk when connect with USB cable so I can write the code with any editor and save it to the disk as .BAS file then run it on the DM without exiting the editor |
||||
Ray B Senior Member Joined: 16/02/2007 Location: AustraliaPosts: 219 |
Jim I've started using the Edit Syntax Help to past in some sample code for some instructions. I note that files MMsyntaxhelp.dat & mmcmndlist.dat & also maybe locate.inf are changed to reflect the changes under AppData\Local\CCom\MMedit My question is: will future upgrades to the program overwrite my changes thus loosing them without first saving? Cheers RayB from Perth WA |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
The locate.inf and mmedit.inf should not get changed with an upgrade. MMsyntaxhelp.dat, mmcmndlist.dat and DM... will get upgraded at this stage but your old copies should end up in a backup folder: AppData\Local\CCom\MMedit\backup Now that I have provided the cmd edit function, I will try and see if I can work out how to make the update of those files optional and still keep the installation idiot proof. I would strongly urge you to make copies of your own work first. I use INNO for the installation program and is is very powerful but with the huge number of ways that Windows can be configured, it can be difficult to be confident about installations. I don't have enough different PC's to test with. Jim VK7JH MMedit MMBasic Help |
||||
Print this page |