Navigation:  thinBasic Modules > Eval >

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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com