Executes a script from a specified file.
function ibesScriptExecuteFile(AScript : THandle; AFileName : PAnsiChar; AOptions : PAnsiChar) : integer;
AScript is a valid handle to a scripter object created with the ibesScriptInit function. AFileName is a name of an existing script file. AOptions argument is reserved for future use.
All IBEScript.dll interface & callback functions provide ABlockName argument which contains the name of the block if execution of that block was initiated as below:
EXECUTE IBEBLOCK MYBLOCK ...
If block name is missing ABlockName parameter will contain an empty string.