EVALUATE$ returns the evaluation result of an expression in string format

Syntax

EVALUATE$(Expression$, [InpVar])

Arguments

  • Expression$ is the expression to be evaluated.
  • [InpVar] is an optional list of argument parameters.

Remarks

  1. To avoid conflicts for the expression editor, use single quotes (') in Expression$ instead of the standard double quote ("). Quaestor replaces ' by " before evaluation. You are allowed to use standard functions of Queastor as well as defined parameters available in the solution.
  2. If parameters are not available or PENDING, EVALUATE$ returns "NullString" as result.

Examples

Example 1

The function returns the value of the expression in string format, e.g.: 

EVALUATE$("c^2+2", c)

returns "11" for c=3


Example 2

EVALUATE$("UCASE$('Qnowledge ') + 'Wageningen'")$

returns

"QNOWLEDGE Wageningen"


 

Quick links: Functions overview | Attribute overview | Constants overview | Dimensions overview


  • No labels