exception - Maple Help

Online Help

All Products    Maple    MapleSim


The Exception Indexing Function

 

Calling Sequence

Description

Examples

Calling Sequence

table(exception, ...)

array(exception, ...)

Description

• 

The exception indexing function is used to create an array or a table for which unassigned access is illegal. Any object can be stored in an array or a table that uses the exception indexing function, but indexing into the array or table with an index for which no entry exists raises an exception.

• 

Note: The command array has been superseded by Array.

Examples

Ttableexception,a=1,b=2

Ttableexception,a=1,b=2

(1)

Ta

1

(2)

Tc

Error, (in `index/exception`) unassigned table entry [c]

Ta,b

Error, (in `index/exception`) unassigned table entry [a, b]

See Also

Array

indexfcn

rtable_indexfcn