Assembly Language Help (alang.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.
Define Type Symbol
 Example                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   name TYPEDEF qualifiedtype
 
            name TYPEDEF PROTO prototypelist
 
  See also: TYPEDEF Uses, STRUCT, UNION, PROTO, PTR, qualified type
 
  Description:
 
     Defines a new type or creates a synonym for an already defined
     type. The TYPEDEF directive associates <name> with a type, and,
     once defined, the symbol can be used anywhere a type can be used
     or as a data declaration directive. The <qualifiedtype> parameter
     can specify a pointer to a qualified type. The TYPEDEF PROTO
     syntax defines a prototype type.
 
     Once a type is defined, you can use it to define variables. Use is
     similar to the other variable definition directives (like BYTE and
     WORD).
 
     Parameter      Description
 
     qualifiedtype     Any qualified type. Can include a type
                       previously defined by a TYPEDEF directive, but
                       recursive definitions are not allowed.
                       See: qualified type
 
     prototypelist     List of parameters for procedure prototype. Uses
                       the same syntax as the PROTO directive.
                                    -♦-