<< isdef Variables names >>

Scilab Help >> Scilab > Variables > isglobal

isglobal

check if a variable is global

Calling Sequence

t = isglobal(x)

Arguments

x

any variable

t

a boolean

Description

isglobal(x) returns true if x has been declared to be a global variable and false otherwise.

Examples

isglobal(1)
global a
isglobal(a)

See Also


Report an issue
<< isdef Variables names >>