Eval

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Eval (Math and string expression evaluator) >

Eval

 

Description

 

Evaluate a string expression representing a math function.

 

Syntax

 

n = Eval(StringBufferToEvaluate)

 

Returns

 

Number

If successful function will return 0.

 

Parameters

 

Name

Type

Optional

Meaning

StringBufferToEvaluate

String

No

A string expression containing the math expression to evaluate

 

Remarks

 

List of supported keywords inside Eval: see here.

 

Restrictions

 

See also

 

Examples