Close
Close window
readonly - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

The Readonly Indexing Function

Calling Sequence

table(readonly, ...)

Description

The readonly indexing function is used to create a table for which assigning new entries is illegal. Any object can be initially stored in a table that uses the readonly indexing function, but trying to into the table will raise an exception.

Examples

only empty readonly tables can be created directly

>

tablereadonly,

tablereadonly,

(1)
>

tablereadonly,a=1,b=2

non-empty read only tables can created by replacing a indexing function in an existing table, with readonly

>

Tsubsop1=readonly,tablea=1,b=2

Ttablereadonly,a=1,b=2

(2)
>

Ta

1

(3)
>

Tc1

>

Ta1


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /