MC_EvalAndExec

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Machine Code >

MC_EvalAndExec

 

Description

 

Evaluate a string and return its representation in machine code.

If evaluated string is ok, it is also executed on the fly.

 

Syntax

 

Ret = MC_EvalAndExec(StringToEvalAndExecute)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

StringToEvalAndExecute

String

No

String to evaluate into machine code

 

Remarks

 

This function is the join of MC_Eval$ and MC_Exec.

 

Restrictions

 

See also

 

Examples