The Exception Indexing Function - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : Indexing Functions : indexfcn/exception

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

Ttable'exception',a=1,b=2

T:=tableexception,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

 


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