Navigation:  thinBasic language > Script structure > Machine Code >

MC_EvalAndExec

Previous pageReturn to chapter overviewNext page

 

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

 

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