settagparameter
settagparameter
TAGLIST
,
TAG
,
VALUE

The settagparameter statement sets the value of a tag parameter in a list of tag parameters.

Parameters

This statement has three parameters:

taglist – Field or variable that contains the list of tag parameters

tag – Tag parameter name

value – New value for tag parameter

Description

This statement sets the value of a tag parameter in a list of tag parameters.

For example, suppose you have a variable named options that contains a number of values in this format:

    width=500
    height=200
    color=Gold
    priority=High

To change the height parameter, use this statement.

    settagparameter options,"height=","120"

If a value doesn’t already exist, it will be added at the end of the list.

    settagparameter options,"weight=","24"

Here is the final value of the options variable after these two modifications.

    width=500
    height=120
    color=Gold
    priority=High
    weight=24

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.