| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Complete Alpha Listing >====== #PDEFINE (add #pragma to project) ====== | [[ open open source file .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[ pop delete and re fix a multi value symbol .htm|{{btn_next_n.gif|Next page}}]] | | || **#PDEFINE (****// //**//symbol, value//**// //****)** {{blk2blue.jpg|blk2blue.jpg}} | **#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**