home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / b / b430 / 1.ddi / UTILS / EXTERNAL / WNEXREAD.ME < prev    next >
Encoding:
Text File  |  1990-06-15  |  1.2 KB  |  51 lines

  1. Wingz Externals Readme - Windows 3.0
  2.  
  3. This Readme file explains the following Wingz externals:
  4.  
  5.  
  6. EXTERNAL        FUNCTION                    RESULT
  7.  
  8. MYDLL.EXE        ADD2ARGS(number, number)        Adds 2 numeric arguments
  9.  
  10.             MULT2ARGS(number, number)    Multiplies 2 numeric arguments
  11.  
  12.             REVERSE(string)            Reverses the sequence 
  13.                                     of characters
  14.                                     in a string
  15.  
  16. The following are examples of the functions provided and the results
  17. obtained by the functions.
  18.  
  19.  
  20.             FUNCTION                    RESULT
  21.  
  22.             ADD2ARGS(5,5)                10
  23.  
  24.             MULT2ARGS(5,5)                25
  25.             
  26.             REVERSE("ZGNIW")            WINGZ
  27.  
  28.  
  29. EXTERNAL        FUNCTION                    
  30.  
  31. LAUNCH.EXE    APP("EXECUTABLE","WORKING DIRECTORY")
  32.  
  33. When this function is called, the application is executed as an 
  34. independent process.  After setting the working directory to the 
  35. specified path, the application executes.  If the specified 
  36. executable is not located, the function returns an error.
  37.  
  38. The following is an example of the APP function.
  39.             
  40. Example:
  41.             
  42. APP("C:\Windows\clipbrd.exe", "C:\Windows")
  43.  
  44.  
  45. These external examples can be recompiled using either MKLAUNCH.BAT
  46. or MKMYDLL.BAT.  When loading externals, the external executable
  47. needs to be located in the Wingz program directory.
  48.  
  49.  
  50.  
  51.