home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / REXMENU2.ZIP / VIEWINFO.CMD < prev    next >
OS/2 REXX Batch file  |  1992-10-27  |  2KB  |  84 lines

  1. /* ViewInfo.cmd: Use Rexx MENU to access OS/2 *.INF information files */
  2.  
  3. /* ADD RexxMenu function support from the RexxMenu.dll */
  4. if 1 = RxFuncQuery('RexxMenu') then
  5.    CALL RxFuncAdd 'RexxMenu', 'RexxMenu', 'RexxMenu'
  6.  
  7. /* Let user choose label from the end of this file */
  8. MenuChoice = RexxMenu('ViewInfo.cmd','/suf','.:','/com','/* ','/sort',,
  9.                       '/Prompt','FYI:','/Esc')
  10.  
  11. /* If lable was chosen, then perform that command, and let it set INFO_FILE */
  12. if \ 0 = COMPARE(MenuChoice,'') then DO
  13.    interpret 'CALL' INSERT(MenuChoice,'.');
  14.    '@start /F view.exe' INFO_FILE
  15. end  /* Do */
  16.  
  17. EXIT
  18.  
  19.  
  20. /*******************************************************************/
  21. /* THE FOLLOWING IS THE LIST OF HELP TOPICS WHICH CAN BE LOOKED UP */
  22. /*******************************************************************/
  23.  
  24. Workframe.Online.Help.:
  25. INFO_FILE = 'e:\Utl\IBMWF\HELP\DDE3WF.INF'
  26. RETURN
  27.  
  28. CSET.2.Online.Help.:
  29. INFO_FILE = 'e:\Utl\IBMC\HELP\DDE4HELP.inf'
  30. RETURN
  31.  
  32. CP.Reference.:
  33. /* Control Program
  34.  */
  35. INFO_FILE = 'e:\toolkt20\book\GUIREF20.inf'
  36. RETURN
  37.  
  38. SOM...System.Object.Model.:
  39. INFO_FILE = 'e:\toolkt20\book\SOM.inf'
  40. RETURN
  41.  
  42. Tools.Reference.:
  43. /* Explanations for using the programming tools in ToolKT20
  44.  */
  45. INFO_FILE = 'e:\toolkt20\book\TOOLINFO.inf'
  46. RETURN
  47.  
  48. IPF...Information.Presentation.Facility.:
  49. INFO_FILE = 'e:\toolkt20\book\IPFC20.inf'
  50. RETURN
  51.  
  52. IPF...Example.:
  53. /* A bare-boned example of an IPF
  54.  */
  55. INFO_FILE = 'e:\toolkt20\book\IPFCEXMP.inf'
  56. RETURN
  57.  
  58. Enhanced.Editor.Users.Guide.:
  59. INFO_FILE = 'e:\Utl\System\Information\EPMUSERS.INF'
  60. RETURN
  61.  
  62. Enhanced.Editor.Technical.Reference.:
  63. INFO_FILE = 'e:\Utl\System\Information\EPMTECH.INF'
  64. RETURN
  65.  
  66. Presentation.Manager.Programming.:
  67. INFO_FILE = 'PMREF'
  68. RETURN
  69.  
  70. Command.Reference.:
  71. /* OS/2 and DOS Commands
  72.  */
  73. INFO_FILE = 'c:\os2\book\cmdref.inf'
  74. RETURN
  75.  
  76. Rexx.Command.Reference.:
  77. INFO_FILE = 'c:\os2\book\rexx.inf'
  78. RETURN
  79.  
  80. Rexx.API.:
  81. INFO_FILE = 'e:\toolkt20\book\rexxapi.inf'
  82. RETURN
  83.  
  84.