Arbortext Command Language > Functions by Alphabetical Listing > insert_tag (Function)
  
insert_tag (Function)
insert_tag (tagname[, dest[, noprompt]])
This function inserts an element into the destination specified by dest.
* 
If you have applied an alias map to the document, tagname can be an alias, as well as a real name.
tagname — An expression specifying the element to insert.
dest — Optional. A document identifier or a window name. It can be one of the window types returned by the window function (for example, edit, cmd, helpwin1). If dest is not specified, the current document is used.
noprompt — Optional. If set to a value of 1, any prompts due to the promptattrs, requireattrs, and promptgraphicbrowserset options are suppressed.
This function returns one (1) on success and zero (0) on failure.
Example:
insert_tag("emphasis", window_doc("edit"),1)
Related Topics
insert_tag command