Artifact 0c4e9162acf9a84317ba04f441274e39b9cdaf36430a13cd547b1114f1df36cb:
- Executable file
r37/lisp/csl/html/r37_0191.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: 1166) [annotate] [blame] [check-ins using] [more...]
<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>