throw new Exception("wrong type (expected type: boolean)");
}
} else if (exprType == Expr.REAL) {
return new Double(co.realValue()); // Real Value
} else if (exprType == Expr.STRING) {
String result = co.stringValue();
if (result != null) {
if (result.startsWith("\"") && result.endsWith("\"")) {
result = result.substring(1, result.length() - 1);
} else if (result.length() == 0) {