FemtoScan Online SDK Documentation

Home :: FsOnlineSDK :: fmutl classes

function eval_expression

^ 
Evaluates expression.

Expression is a text string, containing:

All unrecognized strings will be removed from expression.
Source:
../fmutl/calc.h:82
Author:
ATC
Version:
1.1
Params:
expr string containing expression to evaluate.
var result of evaluation.
len length of expression string (in case expression ends before the terminating zero), -1 if all the string is expression. -1 is by default.
Returns:
true if expression was evaluated, false if error was encountered.
See Also:
fmcmnctl::CVarListCtrl, SPMVarList::call_interface
Code:
public extern "C" FMUTL_API bool eval_expression ( const char * expr ,
SPMVar & var ,
int len = - 1 )

(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net