home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / rexx / rexxfunc / ezrxfunc / testdll.cmd < prev   
Encoding:
Text File  |  1993-07-28  |  377 b   |  16 lines

  1. /* testdll.cmd */
  2.  
  3. say "Registering the EZRXFUNC functions.  If the program halts when trying"
  4. say "to call EZLoadFuncs, make sure the EZRXFUNC.DLL file is in your LIBPATH."
  5. say ""
  6.  
  7. call RXFuncAdd 'EZLoadFuncs', 'EZRXFUNC', 'EZLoadFuncs'
  8. call EZLoadFuncs
  9.  
  10. do 10
  11.     say EZFunc1()
  12. end
  13.  
  14. say EZFunc2( 'an argument string' )
  15. say EZFunc3( 'another argument string' )
  16.