Procedure SetElementRename(Setname, Element, Newname)

SetElementRename

With the procedure SetElementRename you can rename an element in a set.

SetElementRename(
     Setname,        ! (input) a set
     Element,        ! (input) an element parameter
     Newname         ! (input) a scalar string expression
     )

Arguments

Setname

The root set or subset in which you want to rename an element.

Element

The element that you want to rename.

Newname

A string holding the new name of the element.

Note

  • If the new name for the element already exists in the set, the procedure will generate an execution error.

  • AIMMS will refuse to rename a set element, if an explicit reference to such an element exists in the model source.

See also