C Language and Libraries Help (clang.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.
__pascal, __fortran
                                             Up Contents Index Back
─────C/C++ Language─────────────────────────────────────────────────────────
 
  Keyword:   __pascal, __fortran
 
  Syntax:    __pascal declarator
             __fortran declarator
 
  Summary:   Instructs the compiler to use the Pascal/FORTRAN naming
             and calling conventions for the variable or function. In the
             Pascal/FORTRAN naming convention, names are converted into
             uppercase. In the Pascal/FORTRAN calling convention,
             function arguments are pushed from left to right. The
             __fortran and __pascal modifiers are synonyms.
 
             Place these modifiers before the variable or function name;
             they can appear before or after the __near and __far
             modifiers. For compatibility with previous versions, pascal
             and _pascal are synonyms for __pascal, and fortran and
             _fortran are synonyms for __fortran.
 
  See also:  __cdecl, __fastcall, __interrupt
                                    -♦-