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

Eval_SetNumber

Previous pageReturn to chapter overviewNext page

 

Description

 

Define a numeric variable to be used inside Eval function. If variable already exists only its value will change.

 

Syntax

 

n = Eval_SetNumber(VariableName, VariableValue)

 

Returns

 

Number. Returns the VariableValue passed

 

Parameters

 

Name

Type

Optional

Meaning

VariableName

String

No

The name of the variable you want create or change

VariableValue

Number

No

The value to assign to variable

 

Remarks

 

Restrictions

 

See also

 

Examples