Nick
 Guru
 Joined: 09/06/2011 Location: AustraliaPosts: 512 |
| Posted: 08:53pm 25 Jun 2011 |
|
|
|
Just to emphasis...
When you run the program, it will create a MENU.DAT file if it doesn't find one. This file stores the menu entries you create on your system.
The boxes on the screen are *meant* to be empty when you first run the menu.
You need to choose a box then select EDIT MENU ENTRY where it will ask you for...
1) A label (12 characters) to label the box.
2) A filename of the program you wish to define here.
3) A sub-directory (1 level down only) where the program resides (leave blank if root)
4) Then an icon number. Here you will see the icon palette displaying all currently defined icons. You can add/change an icon in the ICON EDITOR and it will update the ICON.DAT file.
The program MBOOT.BAS is always created because MMBASIC (as do most BASICS) don't allow a string in the RUN command.
Example:
10 INPUT F$
20 RUN F$
... doesn't work. The work around I found was to generate a small program (MBOOT.BAS) that has the commands to CHDIR to the required directory and RUN the specific file the user chooses.
Pretty logical I think...even for me! :) |