execute_file(fname,arg0,arg1,...)

From ENIGMA

Jump to: navigation, search

Description

Dynamically interprets and executes code after loading it from a text file.

Parameters

Parameter Data type Description
fname string file name of the code
arg0 - argX variant optional argument overloads, can be accessed from the file code like script arguments

Return Values

variant: Returns the value returned by the code.

Example Call

// demonstrates dynamically executing code form a text file
execute_file("mydynamicscript.txt");
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox