home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 12 / Macro5SIS.sis / M5Macros.sis / OPLHelp.opl (.txt) < prev    next >
Encoding:
EPOC OPL Source  |  2000-10-17  |  861 b   |  28 lines

  1.  
  2.  
  3. REM Macro OPLHelp version 1.00
  4. REM Display the usage of the selected command
  5. REM You need the "OPL Reference" database file
  6. REM Adapt the path of the database file
  7. REM By Pascal NICOLAS, to be used with Macro5
  8. REM Last edited on 6 May 1998
  9.  
  10. Include "Macro.oph"
  11.  
  12. PROC Macro:
  13.     Local C$(255)
  14.  
  15.     REM Highlight the entire command/function automaticaly and copy it into C$
  16.     C$=CopyWord$:("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_%&$")
  17.  
  18.     REM Foreground the Database
  19.     If FgDoc%:("c:\Opl\OPL Reference")
  20.         Pause 120 :REM If the Database is not in memory, wait for it to be loaded
  21.     Endif
  22.  
  23.     REM Search for the command
  24.     Paste:("."+C$+Chr$(6))
  25. ENDP
  26.  
  27.  
  28.