Esempio n. 1
0
int evaluateExpression(char *expressionString) {
  resetCharStack();
  resetArgStack();
  evalKernel_pcb.pointer = (unsigned char *) expressionString;
  evalKernel();
  return evalKernel_pcb.exit_flag != AG_SUCCESS_CODE;
}
Esempio n. 2
0
int evaluateExpression(char *expressionString) {
  lpVars = &variable[0];
  lpErrorRecord = &errorRecord;
  resetCharStack();
  resetArgStack();
  evalKernel_pcb.pointer = (unsigned char *) expressionString;
  evalKernel();
  return evalKernel_pcb.exit_flag != AG_SUCCESS_CODE;
}