~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/elementary/isdef.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH isdef 3 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
isdef - check variable  existence
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
isdef(name [,where])
8
 
.fi
9
 
.SH PARAMETERS
10
 
.TP
11
 
name
12
 
: a character string
13
 
.TP
14
 
where 
15
 
: an optional character string with default value 'all'
16
 
.SH DESCRIPTION
17
 
\fVisdef(name)\fR returns \fV%T\fR if the variable \fV'var-name'\fR exists 
18
 
and \fV%F\fR otherwise.
19
 
 
20
 
\fVisdef(name,'local')\fR returns \fV%T\fR if the variable \fV'var-name'\fR exists 
21
 
in the
22
 
  local environment of the current function and \fV%F\fR otherwise.
23
 
 
24
 
 
25
 
.SH EXAMPLE
26
 
.nf
27
 
A=1;
28
 
isdef('A')
29
 
clear A
30
 
isdef('A')
31
 
.fi
32
 
.SH SEE ALSO
33
 
exists, whereis, type, typeof, clear