LINK Help (linkx.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
EXPORTS Statement: Example
 EXPORTS                                   Up Contents Index Back
─────EXPORTS Statement: Example─────────────────────────────────────────────
 
          EXPORTS
            SampleRead = read2bin @8              24
            StringIn   = str1     @4 RESIDENTNAME
            CharTest                               6
 
     This example defines three export functions:
 
        ■ SampleRead
 
        ■ StringIn
 
        ■ CharTest
 
     The first two functions can be accessed either by their exported
     names or by an ordinal number. In the application or DLL where
     they are defined, these functions are named read2bin and str1,
     respectively. The first and last functions run with I/O privilege
     and therefore are given with the total size of the parameters.
                                    -♦-