System Library

<< Click to Display Table of Contents >>

Navigation:  FindOnClick > FindOnClick For Advanced Users > Scripting >

System Library

 

There are a number of built-in functions that are part of the scripting system. FindOnClick also provides extra functions and classes.

 

For help and details on these functions, refer to the Delphi online documentation:

 

Abs

AnsiCompareStr

AnsiCompareText

AnsiLowerCase

AnsiUpperCase

Append

ArcTan

Assigned

AssignFile

Beep

Chdir

Chr

CloseFile

CompareStr

CompareText

Copy

Cos

CreateOleObject

Date

DateTimeToStr

DateToStr

DayOfWeek

Dec

DecodeDate

DecodeTime

Delete

EncodeDate

EncodeTime

EOF

Exp

FilePos

FileSize

FloatToStr

Format

FormatDateTime

FormatFloat

Frac

GetActiveOleObject

High

Inc

IncMonth

InputQuery

Insert

Int

IntToHex

IntToStr

IsLeapYear

IsValidIdent

Length

Ln

Low

LowerCase

Now

Odd

Ord

Pos

Raise

Random

ReadLn

Reset

Rewrite

Round

ShowMessage

Sin

Sqr

Sqrt

StrToDate

StrToDateTime

StrToFloat

StrToInt

StrToIntDef

StrToTime

Time

TimeToStr

Trim

TrimLeft

TrimRight

Trunc

UpperCase

VarArrayCreate

VarArrayHighBound

VarArrayLowBound

VarIsNull

VarToStr

Write

WriteLn

 

 

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]);

 

 

 

<%SBCOPYRIGHT%>