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

Eval

Previous pageReturn to chapter overviewNext page

 

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