TypeTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : TypeTools : TypeTools/RemoveType

TypeTools

  

RemoveType

  

remove user-defined type from type system

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RemoveType(typename)

Parameters

typename

-

symbol; name of the type

Description

• 

The type typename is removed from the type system.

• 

This function can only be used to remove definitions of types that have been registered using TypeTools[AddType]. In particular, it cannot be used to remove built-in types.

• 

The RemoveType command returns NULL.

Examples

TypeToolsAddTypetff,identicalFAIL,identicalfalse,identicaltrue

typetrue,tff

true

(1)

TypeToolsRemoveTypetff

typetrue,tff

Error, type `tff` does not exist

See Also

type

type[structured]

TypeTools

TypeTools[AddType]

TypeTools[GetType]

TypeTools[GetTypes]