4. Defining Data Types : getempty Routine--Get an Empty Value
 
Share this page                  
getempty Routine--Get an Empty Value
This routine constructs the given empty value for this data type. 'Empty value' refers to the default value for a data type. (For example, the getempty routine for an integer creates the value 0.) NULLs are handled transparently, outside of this routine.
Place the address of this routine in the dtd_getempty_addr field of the IIADD_DT_DFN structure.