Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:39 25 Nov 2024 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 : MM Edit update

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 05:00am 05 Feb 2012
Copy link to clipboard 
Print this post

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: Australia
Posts: 219
Posted: 06:17am 05 Feb 2012
Copy link to clipboard 
Print this post

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: Australia
Posts: 6098
Posted: 06:54am 05 Feb 2012
Copy link to clipboard 
Print this post

  Ray B said   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

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: Australia
Posts: 219
Posted: 07:14am 05 Feb 2012
Copy link to clipboard 
Print this post

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: France
Posts: 240
Posted: 05:28pm 05 Feb 2012
Copy link to clipboard 
Print this post

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: Bulgaria
Posts: 226
Posted: 06:47pm 05 Feb 2012
Copy link to clipboard 
Print this post

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: Australia
Posts: 219
Posted: 08:57am 06 Feb 2012
Copy link to clipboard 
Print this post

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: Australia
Posts: 6098
Posted: 10:38pm 07 Feb 2012
Copy link to clipboard 
Print this post

  Ray B said   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


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


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

© JAQ Software 2024