Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

alter tag statement

Alters an existing tag in the context model. If no model is in context, an error occurs.

The altered tag is put in context.

Syntax

alter tag [TagName] as [name Name]

Element Type Optionality Notes
TagName Tag name Optional. If no tag name is specified, the tag in context is used. If no tag is in context, an error occurs. Specifies the existing tag to be altered.
Name Expression<Identifier> or Expression<Dictionary<Identifier>> Optional. If no name is specified, the current one is maintained. Specifies the new name of the tag, either as an identifier or in multilingual dictionary format.

Returns

The tag just altered.

Examples

Intent Code
Alter a tag to change its name alter tag ToReview as name ToRevise;
Alter the context tag to change its name alter tag as name ToRevise;

See Also


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020