There are a number of built-in functions that are part of the scripting system. SyncBackPro also provides extra functions via SBSystem and other miscellaneous functions and classes. There are also built-in constants and functions provided for compatibility with VBScript (if you are using the Basic language).
For help and details on these functions, refer to the Delphi online documentation:
There are also some other special functions:
procedure Interpret(Ascript: string);
Executes the script source code specified by Ascript parameter
function Machine: TatVirtualMachine;
Returns the current virtual machine executing the script.
function Scripter: TatCustomScripter;
Returns the current script component.
function SetOf(array): integer;
Returns a set from the array passed. For example: MyFontStyle := SetOf([fsBold, fsItalic]);
All Content: 2BrightSparks Pte Ltd © 2003-2017