DADiSP Worksheet Functions > Function Categories > Macro and Command File Functions > EVALTOSTR

 

EVALTOSTR

Purpose:

Evaluates its input argument and places the result in a string.

Syntax:

EVALTOSTR("expr")

"expr"

-

A string, any valid expression.

Returns:

A string.

Example:

#define mx evaltostr("max(W1)")

message(mx)

 

pops up a message with the maximum value of W1.

Remarks:

Same as EVAL, but the result is placed in a string. Useful for numeric results that must be reported in text form.

See Also:

EVAL

FEVAL