#EMPTYEMBED (generate empty embed point comments) 

Top  Previous  Next


#EMPTYEMBED( text [, condition ] )


Generates comments into empty embed points.


A string constant or constant expression containing the text to place in the empty embed point.


An expression that, when true, allows the comments to generate.

The #EMPTYEMBED statement specifies that comments generate into all embed points in which the user has not entered code. This will not generate comments for embed points in which the user has entered code or in which the templates have generated code.

The output condition is usually the value of a global prompt.

The comment text may use the %EmbedID, %EmbedDescription, and %EmbedParameters built-in symbols to identify the embed point:


The current embed point's identifying symbol.


The current embed point's description.


The current embed point's current instance, as a comma-delimited list.


#! This example is complete extension template, ready to use

#EXTENSION(EmptyEmbeds,'Empty Embed Comments'),APPLICATION

#PROMPT('Generate Empty EMBED Comments',CHECK),%EmptyEmbeds

#EMPTYEMBED('!Embed: ' & %EmbedDescription & ' ' & %EmbedParameters,%EmptyEmbeds)