Artifact 8c5990ee2628783665375e94dbeb52dea54b7430f3595aa14ff8f105e40f1db0:
- Executable file
r37/lisp/csl/html/r37_0216.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1673) [annotate] [blame] [check-ins using] [more...]
<A NAME=REAL> <TITLE>REAL</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>REAL</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>declaration</B><P> <P> The <em>real</em> declaration must be made immediately after a <A HREF=r37_0040.html>begin</A> (or other variable declaration such as <A HREF=r37_0197.html>integer</A> and <A HREF=r37_0218.html>scalar</A>) and declares local integer variables. They are initialized to zero. <P> <H3> syntax: </H3> <P> <P> <em>real</em><identifier>{,<identifier>}* <P> <P> <P> <identifier> may be any valid REDUCE identifier, except <em>t</em> or <em>nil</em>. <P> <P> Real variables remain local, and do not share values with variables of the same name outside the <A HREF=r37_0040.html>begin</A>...<em>end</em> block. When the block is finished, the variables are removed. You may use the words <A HREF=r37_0197.html>integer</A> or <A HREF=r37_0218.html>scalar</A> in the place of <em>real</em>. <em>real</em> does not indicate typechecking by the current REDUCE; it is only for your own information. Declaration statements must immediately follow the <em>begin</em>, without a semicolon between <em>begin</em> and the first variable declaration. <P> <P> Any variables used inside a <em>begin</em>...<em>end</em> <A HREF=r37_0041.html>block</A> that were not declared <em>scalar</em>, <em>real</em> or <em>integer</em> are global, and any change made to them inside the block affects their global value. Any <A HREF=r37_0188.html>array</A> or <A HREF=r37_0345.html>matrix</A> declared inside a block is always global. <P> <P> <P>