LMD ScriptPack Guide


Intrinsic Functions


Following is the list of intrinsic procedures, functions and constants that are directly built into PasScript language. There are no need to import Delphi units to use these functions. All these functions are almost identical to the corresponding Delphi functions:

 

Special branching functions

 

Exit
Break
Continue

 

Constants

 
Null
Unassigned

True
False

 

Functions

 
Include
Exclude
Beep
ArcTan
Cos
Dec
Sin
LowerCase
High
Low
Ln
AnsiCompareStr
AnsiCompareText
AnsiLowerCase
AnsiUpperCase
Abs
CompareStr
CompareText
Date
DateTimeToStr
DateToStr
DayOfWeek
DecodeDate
Exp
FloatToStr
Frac
Int
IntToHex
IntToStr
IsLeapYear
IsValidIdent
Length
Now
Odd
Pos
Random
Round
Sqr
Sqrt
StrToDate
StrToDateTime
StrToFloat
StrToInt
StrToIntDef
Time
TimeToStr
StrToTime
Trim
TrimLeft
TrimRight
Trunc
UpperCase
VarIsNull
VarToStr
Assigned
ShowMessage
Insert
IncMonth
Inc
Chr
Copy
Delete
CreateOleObject
GetActiveOleObject
InputQuery
DecodeTime
EncodeDate
EncodeTime
Format
FormatFloat
FormatDateTime
Ord