home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / util / menu / 007 / sample.src < prev   
Encoding:
Text File  |  1992-11-18  |  1.2 KB  |  38 lines

  1. MENU Test
  2.     BAR Show PAUSE Command
  3.         PAUSE Press any key to return to Disk Menu.
  4.     BAR Show EXEC Command (shows directory)
  5.         EXEC \dos\command.com /c dir /p
  6.         PAUSE Press any key.
  7.     BAR Show CD (Change Directory) Command
  8.         CD \DOS
  9.         PRINT I'm now in the DOS Directory (if it exists).
  10.         PRINT Type "EXIT" to return to DiskMenu.
  11.         exec \dos\command.com
  12.     BAR Show PRINT Command
  13.         PRINT This is a sample of the PRINT Command.
  14.         PRINT Without a PAUSE Command, these lines will flash up.
  15.     BAR Show a SubMENU
  16.         MENU Sub Menu
  17.             BAR
  18.             BAR    You can nest the menus as deep as
  19.             BAR  you need, but I'm sure there is a
  20.             BAR  limit.  The program uses recursion 
  21.             BAR  to access and display the menus, and
  22.             BAR  the memory available is finite!!
  23.             BAR  When the system locks up, you know
  24.             BAR  you've gone too far.
  25.             BAR    Notice with this menu, there are
  26.             BAR  no commands associated with the
  27.             BAR  bars.  In a case like this, a bar
  28.             BAR  selection does nothing.  Press ESC
  29.             BAR  to back up to the previous menu.
  30.             BAR
  31.         MEND
  32.     BAR Show DONE Command--exit Disk Menu
  33.         PRINT Goodbye!
  34.         DONE
  35. MEND
  36. END
  37.  
  38. You may include any comments you wish after the END statement.