Function me::SetAttribute(runtimeId, attr, txt)

me::SetAttribute

The procedure me::SetAttribute changes the type of a runtime identifier.

me::SetAttribute(
        runtimeId,  ! (input) an element
        attr,       ! (input) an element
        txt         ! (input) a string expression
)

Arguments

runtimeId

An element in the set AllIdentifiers referencing a runtime identifier.

attr

An element in the set AllAttributeNames

txt

The text to be assigned. Using the empty string will effectively delete the attribute from the runtime identifier.

Return Value

Returns 1 if the text assignment to the attribute is successful, 0 otherwise. In the latter case error(s) have been raised. When runtimeId doesn’t reference a runtime identifier an error will be raised.

See also