Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

Undefined

Synopsis

[Miscellaneous]    Undefined=n

説明

ObjectScript が、未定義の変数の値をフェッチしようとしたときの動作を指定します。Undefined の値は 0、1、または 2 です。

  • 0 - <UNDEFINED> エラーをスローします。(既定)

  • 1 - 未定義の変数に添え字がある場合は NULL 文字列を返しますが、未定義の変数が単一値の場合は <UNDEFINED> エラーをスローします。

  • 2 - 常に NULL 文字列を返します。

Undefined=0

値の範囲

Undefined の値は 0、1、または 2 です。

管理ポータル

[互換性設定] ページ ([システム管理] > [構成] > [追加設定] > [互換性]) で、[未定義] の行の [編集] を選択します。True (選択) または False (クリア) を選択します。

FeedbackOpens in a new tab