Returns the call stack of the scripter.property CallStack: TCallStack;Read-Only
Returns current module name of a script at compile-time or run-time.property CurrentModuleName: String;Read-Only
Returns current line number of a script at compile-time or run-time.property CurrentSourceLine: Integer;Read-Only
Returns description of a error.property ErrorDescription: String;Read-Only
Specifies the position of the error in the script.property ErrorLine: Integer;Read-Only
If an error occurs at compile-time or run-time, ErrorLine indicates the line number in the script.
Returns name of module which contains error.property ErrorModuleName: String;Read-Only
Specifies the position of the error in the script.property ErrorPos: Integer;Read-Only
If an error occurs at compile-time or run-time, ErrorPos indicates the position of the error in the script line ErrorLine.
Specifies the position of the error in the script.property ErrorTextPos: Integer;Read-Only
If an error occurs at compile-time or run-time, TextErrorPos indicates the position of the error in the script. TextErrorPos determines the position of the error in terms of characters.
Enumerates all registered pax-language components.property Languages[I: Integer]: TPaxLanguageRead-Only
Example
for I:=0 to PaxScripter1.LanguageCount - 1 do ShowMessage(PaxScripter1.Languages[I].LanguageName);
The list of modules of a script.property Modules: TStringList;Read-Only
Returns state of the scripter.property ScripterState: TScripterState;Read-Only
The scripter state can be one of the following:
- ssInit. There is no code assigned to scripter.
- ssReadyToCompile. Scripter is assigned by a script and ready to compile it.
- ssCompiling. Scripter compiles a script.
- ssCompiled. Script, assigned to scripter, has been compiled.
- ssLinking. Scripter links compiled modules.
- ssReadyToRun. Scripter is ready to run a compiled script.
- ssRunning. Scripter runs a script.
- ssPaused. Running script was paused. (For example, after call Run(rmTraceInto)).
- ssTerminated. The script running was finished.
Determines size of stack.StackSize: IntegerDefault value of the property is 16000 bytes.
Allows to pass parameters into a script (paxPascal language only).property Params[const ParamName: String]: Variant read GetParam write SetParam;Arguments
ParamNameName of parameterParameters are passed into the script by reference.
Example
program Demo(A, B); begin print A; print B; B := 'result value'; end;
Represents source code of a script.property SourceCode[const ModuleName: String]: String;Read-Only
Returns total number of lines of a script.property TotalLineCount: Integer;Read-Only
Provides access to script-defined variablesproperty Values[const VarName: String]: Variant read GetValue write SetValue;