User Tools

Site Tools


expand_expand_a_user_defined_macro_.htm
Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #EXPAND (expand a user defined macro) ====== Previous pageReturn to chapter overviewNext page

#EXPAND ( %macro name )

blk2blue.jpg

#EXPAND Expands a user defined macro.
%macro name A previously declared macro symbol.

#EXPAND is used to expand a previously defined macro into the generated source code. Using #DEFINE and #EXPAND to define and expand macros for commonly used code sections will lead to cleaner template code while hiding unneeded target code from immediate view.

Example:

#EXPAND(%InRangeCheck)

The above template code will cause the following code to be generated:

 IF %ControlUse <;= TODAY()

  SELECT(?%ControlUse)

 END

See Also:     #DEFINE

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