Logo Search packages:      
Sourcecode: wims version File versions

synchronized void org::javia::arity::Symbols::addConstant ( String  name,
double  value 
) [inline]

Adds a new constant symbol to the top-most frame of this Symbols.

name the name of the constant (e.g. "pi")
value the value of the constant

Definition at line 156 of file Symbols.java.

Referenced by define().

        add(new Symbol(name, value));

Generated by  Doxygen 1.6.0   Back to index