index

Reference: Context states

asEXECUTION_FINISHED
asEXECUTION_SUSPENDED
asEXECUTION_ABORTED
asEXECUTION_EXCEPTION
asEXECUTION_PREPARED
asEXECUTION_UNINITIALIZED
asEXECUTION_ACTIVE
asEXECUTION_ERROR

asEXECUTION_FINISHED

All the code has been successfully executed. The return value can be retrieved and the context released or prepared for another execution.

asEXECUTION_SUSPENDED

The execution has been suspended. The execution can be resumed by calling Execute() or ExecuteStep(). The execution can be aborted by calling Abort().

asEXECUTION_ABORTED

The execution has been aborted. Nothing has been returned, and no exception occured. The context can be released or prepared for another execution.

asEXECUTION_EXCEPTION

An exception occured in the script code. Nothing has been returned. The context can be released or prepared for another execution.

asEXECUTION_PREPARED

The execution has been prepared for execution but nothing has been executed yet.

asEXECUTION_UNINITIALIZED

The context hasn't been prepared yet. Call Prepare() or release the context.

asEXECUTION_ACTIVE

The context is currently executing the byte code. The execution can be suspended or aborted by calling Suspend() or Abort() respectively.

asEXECUTION_ERROR

There was an error while setting the script function arguments.

top