home *** CD-ROM | disk | FTP | other *** search
- MENU Test
- BAR Show PAUSE Command
- PAUSE Press any key to return to Disk Menu.
- BAR Show EXEC Command (shows directory)
- EXEC \dos\command.com /c dir /p
- PAUSE Press any key.
- BAR Show CD (Change Directory) Command
- CD \DOS
- PRINT I'm now in the DOS Directory (if it exists).
- PRINT Type "EXIT" to return to DiskMenu.
- exec \dos\command.com
- BAR Show PRINT Command
- PRINT This is a sample of the PRINT Command.
- PRINT Without a PAUSE Command, these lines will flash up.
- BAR Show a SubMENU
- MENU Sub Menu
- BAR
- BAR You can nest the menus as deep as
- BAR you need, but I'm sure there is a
- BAR limit. The program uses recursion
- BAR to access and display the menus, and
- BAR the memory available is finite!!
- BAR When the system locks up, you know
- BAR you've gone too far.
- BAR Notice with this menu, there are
- BAR no commands associated with the
- BAR bars. In a case like this, a bar
- BAR selection does nothing. Press ESC
- BAR to back up to the previous menu.
- BAR
- MEND
- BAR Show DONE Command--exit Disk Menu
- PRINT Goodbye!
- DONE
- MEND
- END
-
- You may include any comments you wish after the END statement.