remove user-defined type from type system - Maple 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

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.

Examples

TypeTools[AddType]tff,'identicaltrue,identicalfalse,identicalFAIL'

typetrue,'tff'

true

(1)

TypeTools[RemoveType]'tff'

typetrue,'tff'

Error, type `tff` does not exist

See Also

type, type[structured], TypeTools, TypeTools[AddType], TypeTools[GetType], TypeTools[GetTypes]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam