This is my code:

do

{

eqin.SetCommandPrompt(“Equation:”);

eqin.SetDefaultString(null);

eqin.AcceptNothing(true);

eqin.Get();

if (eqin.CommandResult() != Rhino.Commands.Result.Success)

{

return eqin.CommandResult();

}

eq = eqin.StringResult().Trim();

equation = new Expression(eq, EvaluateOptions.IgnoreCase);

} while (ValidEquation(equation));

```
RhinoApp.WriteLine("Evaluation: {0}", equation.Evaluate());
```

The code asks for a string from the user, and then puts it in an expression type variable, then outputs its evaluation. When I evaluate it, I get no output whatsoever. If I just put equation instead of equation.evaluate(), I get “Ncalc.Expression” as my output. What am I doing wrong?