Difference between revisions of "ISInterface:CalculateResult"

From Lavish Software Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 +
== Syntax ==
 +
*bool CalculateResult(const char *Formula, double &Result)
 
== Purpose ==
 
== Purpose ==
 
Evaluates a [[LavishScript:Mathematical Formulae|mathematical formula]]
 
Evaluates a [[LavishScript:Mathematical Formulae|mathematical formula]]

Latest revision as of 21:36, 2 September 2005

Syntax

  • bool CalculateResult(const char *Formula, double &Result)

Purpose

Evaluates a mathematical formula

Usage

Parameters

  • const char *Formula
The formula to be evaluated
  • double &Result
The calculated result of the formula

Return Value

  • bool
The function returns whether the expression was successfully evaluated

Examples

See Also