VARNAME INDEX

VARNAME _ _ _ _ _ _ _ _ _ _ _ _ declaration

The declaration varname instructs REDUCE to use its argument as the default Fortran (when fort is on) or structr identifier and identifier stem, rather than using ANS.

syntax:

varname<identifier>

<identifier> can be any combination of one or more alphanumeric characters. Try to avoid REDUCE reserved words.

examples:


varname ident; 

  IDENT 


on fort; 

x**2 + 1; 

  IDENT=X**2+1. 


off fort,exp; 

structr(((x+y)**2 + z)**3); 

        3
  IDENT2
      where
                         2
         IDENT2 := IDENT1  + Z
  IDENT1 := X + Y

expwas turned off so that structr could show the structure. If exp had been on, the expression would have been expanded into a polynomial.