7. Preprocessing Your 4GL Code : Error Processing : Example—Error Processing
 
Share this page                  
Example—Error Processing
The following code fragment is an example of using macro variables in code:
# define $_curfld 'enterfield'
# if '$_curfld' = 'enterfield' then
# else
# endif

# ifndef $_curfld
# else
# endif

# include 'entryapplication'