<< isdef Variables names >>

Scilabヘルプ >> Scilab > Variables > isglobal

isglobal

変数がグローバルかどうかを確認

呼出し手順

t = isglobal(x)

引数

x

任意の変数

t

論理値

説明

isglobal(x) は, x がグローバル変数として 宣言されている場合に true, それ以外の場合に false を返します.

isglobal(1)
global a
isglobal(a)

参照


Report an issue
<< isdef Variables names >>