home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / batch / mxmnu233.zip / SAMPLE.MNU < prev    next >
Text File  |  1991-09-29  |  764b  |  47 lines

  1. ;----- To run this menu type: MARX SAMPLE
  2.  
  3. TextColor Red Brown
  4. ClearScreen '▒'
  5.  
  6. ;----- Here we set up colors!
  7.  
  8. BoxBorderColor Green Blue
  9. BoxInsideColor Yellow Blue
  10. BoxHeaderColor White Cyan
  11. InverseColor Yellow Mag
  12.  
  13. UseArrows
  14. BoxHeader ' * Sample Menu * '
  15. BoxFooter ' * ESC to Exit * '
  16. DrawBox 28 10 23 7
  17.  
  18. ;----- Here we display our choices!
  19.  
  20. DrawBar
  21. Writeln
  22. Writeln '  A - Free Space'
  23. Writeln '  B - Ram Map'
  24. Writeln '  C - Edit the Menu'
  25. DrawBar
  26.  
  27. ;----- OnKey statements are just like writing batch files!
  28.  
  29. OnKey 'A'
  30.   Free
  31.   Pause
  32.  
  33. OnKey 'B'
  34.   RamMap
  35.   Pause
  36.  
  37. OnKey 'C'
  38.   ME SAMPLE.MNU
  39.  
  40. ;----- Yes, it can be this simple!
  41.  
  42. Procedure DrawBar
  43.    TextColor LCyan Blue
  44.    ClearLine '═'
  45.    TextColor Yellow Blue
  46. EndProc
  47.