| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Built-in Template Procedures >====== EXISTS (return embed point existence) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[extract return attribute .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[fileexists return file existence .htm|{{btn_next_n.gif|Next page}}]] | | || **EXISTS(** //symbol// ) {{blk2blue.jpg|blk2blue.jpg}} | **EXISTS** | Returns TRUE if the embedded source code point is available for use. | | //symbol// | The //identifier// symbol for a #EMBED embedded source code point. | The **EXISTS** procedure returns true ('1') if the embedded source code point is available for use, at design-time only. If the embedded source code point is not available for use, EXISTS returns false (''). An embedded source code point is available for use if the section containing it is being used. This means that all #EMBEDs in the #PROCEDURE section, and all #GROUP sections referenced in the #PROCEDURE, are always available. #EMBEDs in a #CONTROL, #CODE, or #EXTENSION section are available only if the section is being used. **Return Data Type:**     LONG **Example:** **#IF(****EXISTS****(%CodeTemplateEmbed) = %True)** **  !Generate some source** **#ENDIF** **See Also:** [[built in template procedures.htm|Built-In Template Procedures]]