Function me::ChangeTypeAllowed(runtimeId, newType)

me::ChangeTypeAllowed

The function me::ChangeTypeAllowed returns 1 if the type of runtime identifier runtimeId can be changed into type newType.

me::ChangeTypeAllowed(
        runtimeId,  ! (input) an element
        newType     ! (input) an element
)

Arguments

runtimeId

An element in the set AllIdentifiers referencing a runtime identifier.

newType

An element in the set AllIdentifierTypes.

Return Value

Returns 1 if the identifier runtimeId can be changed into newType. When runtimeId doesn’t reference a runtime identifier an error will be raised.

See also

The functions me::Create and me::Move.