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

Table Of Contents

This Page