Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Scilab > Variables > isglobal

isglobal

check if a variable is global

Syntax

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

  • global — Define global variable
  • clearglobal — kills global variables
  • who — listing of variables
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:30 CEST 2016