Execute

From AutoIt Wiki

Jump to: navigation, search

Executes an expression. Adapted from AutoIt docs.

Contents

[edit] Syntax

Execute(string)

[edit] Parameters

stringString representation of an expression to be executed.

[edit] Return Value

Success: Returns the value of the evaluated expression.
Failure: Returns an empty string and sets @error to 1.

[edit] Example

$a=1
$v=Execute("$a+1")  ; $v is set to 2

[edit] Related Functions

Assign Eval Call

Personal tools