pdefine_add_pragma_to_project.htm
Navigation: Templates > Template Language Reference > Complete Alpha Listing >====== #PDEFINE (add #pragma to project) ====== | |
#PDEFINE ( symbol, value )
#PDEFINE | Adds a #pragma statement to the project system. |
symbol | A symbol that contains a pragma identifier. |
value | The value that is associated with the symbol to determine whether to omit or compile code that is enclosed using the OMIT or COMPILE directives. |
The #PDEFINE statement adds a #pragma (compiler option) statement to the project system. A pragma is added to the project file in the form of symbol ⇒ value.
Example:
#IF (%DemoVersion)
#PDEFINE('_DEMO_',1)
#ELSE
#PDEFINE('_DEMO_',0)
#ENDIF
pdefine_add_pragma_to_project.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1