Logo Search packages:      
Sourcecode: galax version File versions  Download package

static PreparedProgram galapi::Galax::evalProgram ( CompiledProgram  compiled_prolog,
ExternalContext  exc 
) throws GalapiException [inline, static]

Evaluates the expressions for all - possibly mutually dependent - global variables.

It must be called before the other evalXXX functions.

compiled_prolog a context obtained with one of the methods from this class
a new context in which the expressions are evaluated

Definition at line 254 of file Galax.java.


      //int i = -1;

      int i = nativeEvalProgram(compiled_prolog.getNativeItem(), exc.getNativeItem());

      return new PreparedProgram (i);     

Generated by  Doxygen 1.6.0   Back to index