User Tools

Site Tools


typemap_map_equate_to_data_type_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #TYPEMAP (map EQUATE to data type) ====== Previous pageReturn to chapter overviewNext page

#TYPEMAP ( equate data type, 32-bit representation [,16-bit representation] )

blk2blue.jpg

#TYPEMAP Maps an EQUATE data type to a true data type based on the target operating system.
equate data type A string constant containing the label of an equate used to represent a data type.
32-bit data type A string constant containing the label of a data type that represents the equated data type in a 32-bit program.
16-bit data type A string constant containing the label of a data type that represents the equated data type in a 16-bit program.(deprecated)

The #TYPEMAP statement allows the template to map a data type EQUATE to a true data type based on the target operating system of the application. This allows the compiler to resolve these EQUATES to their respective data types.

Example:

#TYPEMAP('SIGNED','LONG')

#TYPEMAP('SIGNED','LONG','SHORT')

typemap_map_equate_to_data_type_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1