<A NAME=DEFINE>
<TITLE>DEFINE</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>DEFINE</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>command</B><P>
<P>
The command <em>define</em> allows you to supply a new name for an identifier
or replace it by any valid REDUCE expression.
<P>
<P>
<P> <H3>
syntax: </H3>
<em>define</em><identifier><em>=</em><substitution>
{<em>,</em><identifier><em>=</em><substitution>}*
<P>
<P>
<P>
<identifier> is any valid REDUCE identifier, <substitution> can be a
number, an identifier, an operator, a reserved word, or an expression.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
define is= :=, xx=y+z;
a is 10;
A := 10
xx**2;
2 2
Y + 2*Y*Z + Z
xx := 10;
Y + Z := 10
</TT></PRE><P>The renaming is done at the input level, and therefore takes prece
dence
over any other replacement or substitution declared for the same identifier.
It remains in effect until the end of the REDUCE session. Be careful with
it, since you cannot easily undo it without ending the session.
<P>
<P>
<P>