forlang.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.
C Attribute
                                             Up Contents Index Back
─────C Attribute────────────────────────────────────────────────────────────
 
     Declares a variable, common block, or subprogram as following the C
     language calling or naming conventions.
 
     Integers declared with C may be stored as either 16-bit or 32-bit
     numbers.
 
     Subprograms declared with C follow the Microsoft C calling
     conventions:
 
     ■  Arguments pass by value.
 
     ■  Arguments are pushed on the stack in the reverse of the order
        in which they appear.
 
     ■  External names change to lowercase and begin with an
        underscore ( _ ).
 
     ■  Code that restores the stack to its original state follows the
        subprogram call.
 
     The ALIAS attribute overrides the C attribute for naming
     conventions only.
 
     Restrictions: Cannot apply to non-integer formal arguments
 
     See Also: VARYING
               Formal Argument
                                    -♦-