# Advanced

Mark selected lines as comment. A quick way to comment out a section of code.

Uncomment selected lines. A quick way to reverse the above action.

Mark selected lines as DEBUG. If you have code that is only needed for debugging, it can be marked so that it can easily be converted into comments when debugging has finished, but still be there 'just in case'.
It puts 'DEBUG as a comment at the end of the line.

Remove DEBUG mark. A quick way to reverse the above action.

Mark DEBUG lines as comment. Global action to change all DEBUG lines into comments. Usually just before final release.

Uncomment DEBUG lines. Global action when there is still a bug after all!

Run external program. Runs a program of your choice. Your code is saved as a temp.bas file and the program is called with the full path to the temp.bas file as a command line parameter. Holding SHIFT will allow you to select the program. When the program exits, your basic program is reloaded. This allows you to use a pre-processor or syntax checker of your choice. By using a batch file, you can run a DOS MMBasic program with your new program made available for acting on.

Auto INCLUDE on load: Scans the documents and inserts any INCLUDE files before uploading

Autorun external on load. Runs the above external program every time load and run is selected. In this case your program in the edit window is NOT updated.

Set clock on load. The maximite clock is set to PC time every time you 'load and run'

Auto run on load. The maximite is sent the 'run' command after loading the program.

Auto crunch on load. Comments are removed from your program before loading.

Delete blank lines. Blank lines are removed from your program before loading.

CLS on load. The terminal is cleared after loading the program.

Auto detect device: not currently implemented. Make sure you set the appropriate syntax before uploading.

Enable handshake lines: Select this to allow 100mS pulses on the DTR and RTS lines. It comes into effect the next time you connect by Serial. Not all USB to TTL adapters have handshake lines available. THis feature can be used to sent a reset pulse to a connected device with the appropriate wiring.

Pulse DTR /RTS line. Sends a 100mS pulse on the DTR (or RTS) line

Last edited: 02 November, 2020