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 do Brasil - Japanese -
Scilab help >> Scilab > 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

  • global — Define global variable
  • clearglobal — kills global variables
  • who — listing of variables

Comments


Add a comment:
Please login to comment this page.

<< iserror Scilab lasterror >>

Consortium Scilab (DIGITEO)
Scilab Enterprises

Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:09:25 CEST 2011