Function me::Create(name, newType, parentId, pos)

me::Create

The function me::Create creates a runtime identifier.

me::Create(
        name,     ! (input) a string
        newType,  ! (input) an element
        parentId, ! (input) an element
        pos       ! (optional) an integer
)

Arguments

name

A string that is valid name for a runtime identifier.

newType

An element in the set AllIdentifierTypes.

parentId

An element in the set AllSymbols referencing a runtime identifier.

pos

1 is the first position, and 0 means “place at end”, the default is 0.

Return Value

Returns an element in AllSymbols if successful or the empty element 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