Navigation:  Templates > Template Language Reference > Complete Alpha Listing >====== #SYSTEM (template registration and load) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

#SYSTEM

blk2blue.jpg

The #SYSTEM statement marks the beginning of a section of Template code which executes when the Template set is registered or loaded from the template registry. The section is terminated by the next Template Code Section (#PROGRAM, #MODULE, #PROCEDURE, #CONTROL, #CODE, #EXTENSION, #UTILITY, or #GROUP) statement. Any #PROMPT statements in a #SYSTEM section appear on the Application Options dialog, once the Template Registry has been loaded (opened an .APP file).

Example:

#SYSTEM

#TAB('Wizards')

#PROMPT('Use Toolbar mode for Wizards',CHECK),%UseToolBarForWizard

#ENDTAB

#DECLARE(%GlobalSystemSymbol)