File: exist.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (37 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<HTML>
<HEAD>
<TITLE>EXIST</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF" fgcolor="#000000">

<P><A NAME="exist"></A>
<font size="+3" color="green"><B>EXIST</B></font></P>
<P>
<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%"><CODE>
scalar = EXIST(string)</CODE>
</TD></TR>
</table></p>
<p>
 The <CODE>EXIST</CODE> function accepts one string
 as its argument and returns a one (1) if the string is an existing variable
 name, and zero (0) is it is not.</P>
<P>
 <font size="+1" color="green">Example</font></P>
<P>
 If you enter <CODE><font color="blue">X2=3</font></CODE>, the function
 <CODE><font color="blue">EXIST('X2')</font></CODE> would have the value 1.</P>
<P>
 You can even enter: <CODE><font color="blue">N=2</font></CODE> and
 <CODE><font color="blue">T='X'//RCHAR(N)</font></CODE> and the function
 <CODE><font color="blue">EXIST(T)</font></CODE> would have the value 1.</P>
<p>
 <a href="vartype.htm"><img border="0" src="../../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">VARTYPE</font></a><br />
 <a href="iclose.htm"><img border="0" src="../../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">ICLOSE</font></a>
</P>
</BODY>
</HTML>