Function me::Rename(runtimeId, newname)

me::Rename

The procedure me::Rename renames a runtime identifier. In addition, all text within the runtime library referencing that runtime identifier will be adapted accordingly.

me::Rename(
        runtimeId,  ! (input) an element
        newname     ! (input) a string
)

Arguments

runtimeId

An element in the set AllIdentifiers referencing a runtime identifier.

newname

A string.

Return Value

Returns 1 if the rename operation 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.

Note

The name change file is not supported for runtime libraries.

See also

The functions me::ChangeType and me::Move.