<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Sorry for the confusion I made small typo.<br>
The code should be :<br>
<pre wrap="">variable x = [1:100:1];
newvar = @x;
is_defined("newvar");
</pre>
RobertM<br>
<br>
<br>
Michael Noble wrote:
<blockquote cite="mid20060307144116.GA1324@svoboda.mit.edu" type="cite">
  <blockquote type="cite">
    <pre wrap="">I am using slang2 and here is the issue that I encountered
Consider sample code :

variable x = [1:100:1];
newvar = @variable;
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It is unclear to me how this would even work.  "variable" is
a reserved identifier, and so cannot be used in this context.

        slsh&gt; variable x = [1:100:1];
        slsh&gt; newvar = @variable;
        &lt;stdin&gt;:2: Expecting a PRIMARY: found 'variable'
        &lt;stdin&gt;:2:&lt;top-level&gt;:Syntax Error

After which

        slsh&gt; is_defined("newvar");

returns 

        0

as expected.  What application/version are you trying this within?

HTH,
Mike
  </pre>
</blockquote>
<br>
</body>
</html>