It is vital that you select an appropriate syntax to tell MMEdit which device you are connecting to. There are differences in the methods used to transfer files between the PC an d the different devices.
Having the wrong device syntax selected will not go well.
MMEdit scans the data folder for *.tkn files during start-up. Any files found will be considered syntax files and the menu list will be populated. The files are not checked for validity until chosen.
You can add your own syntax files. If you edit one of the existing files, it will be overwritten with the next MMEdit update so if you don't want that to happen, save it under a different name.
The first lines of the syntax file hold the version and then the options that vary between devices.
For the CMM2 we have:
The version number is not usually relevant.
The device options are:
MMOdos = VAL(MID$(MMdeviceOptions$,1,1))
' 1 = use DOS exe to run
MMOshowfiles = VAL(MID$(MMdeviceOptions$,2,1)) ' 1 = has FILES command
MMOdriveletter = VAL(MID$(MMdeviceOptions$,3,1)) ' 1 = drive A - Maximite
MMOlfn = VAL(MID$(MMdeviceOptions$,4,1)) ' 1 = long file names OK
MMOxmCurrent = VAL(MID$(MMdeviceOptions$,5,1)) ' 1 = XMODEM to/from memory
MMOxmFile = VAL(MID$(MMdeviceOptions$,6,1)) ' 1 = XMODEM to/from files
MMOlistALL = VAL(MID$(MMdeviceOptions$,7,1)) ' 1 = can use LIST ALL
MMOautosave = VAL(MID$(MMdeviceOptions$,8,1)) ' 1 = AUTOSAVE ^Z, 2 = AUTOSAVE ^C, 0 = AUTO ^Z, 3 = AUTOSAVE fn$ F1/F2
After that, there are 3 long lines of keywords. The lists include some but not all parameters. What to include is a personal preference and should not be considered definitive.
The keywords determine the highlighting and also are used for the variable report. Currently the variable report uses a global list.
Last edited: 03 November, 2020