Chapter 11: Corel® PerfectScript Programming Commands
Section 1
Corel® PerfectScript Programming Commands
~
**
*
/
%
+
+
-
-
<<
>>
<<<
>>>
=
<>
!=
<
<=
>
>=
&
|
^
:=
=
[ ]
[0]
//
/* */
AbsVal
acos
acosh
Address
AND
AnsiString
AppActivate
AppClose
AppExecute
AppExecuteExt
Application
AppLocate
AppShow
asin
asinh
Assert
atan
atan2
atanh
Average
Section 2
Beep
BIFFilePath
BIFInfo
BIFRead
BIFWrite
BinaryPack
BinaryUnPack
Break
Call
Call
CallbackResume
CallbackWait
Cancel
Case
Case Call
CaseOf
Ceiling
Chain
CharLen
CharPos
CloseFile
Condition
Constant
Constants
Continue
ConvertType
CopyFile
cos
cosh
CreateDirectory
CreateObject
CToN
CubeRoot
Section 3
DateAddDays
DateAddMonths
DateAddWeeks
DateAddYears
DateAndTime
DateDay
DateDayOfYear
DateDaysInMonth
DateDaysInYear
DateIsLeapYear
DateMonth
DateMonthName
DateOfMonthEnd
DateOfNthDay
DateOfNthWeek
DateOfNthWeekDay
DateString
DateWeekday
DateWeekdayName
DateWeekOfYear
DateYear
DDEExecute
DDEExecuteExt
DDEInitiate
DDEPoke
DDERequest
DDETerminate
DDETerminateAll
Declare
Default:
DefaultUnits
DegreesToRadians
DeleteDirectory
DeleteFile
Section 4
DialogAddBitmap
DialogAddCheckBox
DialogAddColorWheel
DialogAddComboBox
DialogAddControl
DialogAddCounter
DialogAddDate
DialogAddEditBox
DialogAddFileNameBox
DialogAddFrame
DialogAddGroupBox
DialogAddHLine
DialogAddHotSpot
DialogAddIcon
DialogAddListBox
DialogAddListItem
DialogAddProgress
DialogAddPushButton
DialogAddRadioButton
DialogAddScrollBar
DialogAddText
DialogAddViewer
DialogAddVLine
DialogControlQuery
DialogControlUpdate
DialogDefine
DialogDelete
DialogDestroy
DialogDismiss
DialogHandle
DialogLoad
DialogSave
DialogSetProperties
DialogShow
Section 5
Dimensions
Discard
DIV
DLLCall
DLLCall Prototype
DLLFree
DLLLoad
DoesDialogExist
DoesDirectoryExist
DoesFileExist
DoesRegionExist
DWord
Section 6
Else
ElseIfPlatform
EndApp
EndFor
EndFunc
EndFunction
EndIf
EndIfPlatform
EndProc
EndProcedure
EndPrompt
EndSwitch
EndWhile
EndWith
EnvVariableGet
EnvVariableSet
Error
ErrorNumber
Exists
ExitHandlerState
ExponentPart
Factorial
False
Fibonacci
FileConvert
FileConvertError
FileError
FileFind
FileIsEOF
FileNameDialog
FilePosition
FileRead
FileSize
FileTruncate
FileType
FileTypeExtension
FileTypeList
FileTypeName
FileWrite
Floor
For
ForEach
ForNext
Fraction
FractionalPart
FractionStr
Function
Function Prototype
Section 7
gcf
GetCurrentDirectory
GetFileAttributes
GetFileDateAndTime
GetNumber
GetObject
GetString
GetUnits
Global
Go
GoOnLine
If
IfPlatform
IN
Include
Indirect
Integer
IntegerPart
Label
lcm
lg
LIKE
ln
Local
log
logn
Section 8
MacroArgs[ ]
MacroDialogResult
MacroInfo
MantissaPart
Max
Menu
MenuList
MessageBox
Min
MMPlay
MMSpeak
MMSpeakClipboard
MMStopPlay
MMStopSpeech
MOD
Section 9
Nest
NetAddConnection
NetCancelConnection
NetConnectionDlg
NetDisconnectDlg
NetGetConnection
NetGetUniversalName
NetGetUser
NewDefault
Next
NOT
NotFound
NthRoot
NToC
NToC
NumStr
Object
ObjectInfo
OemString
OnCancel
OnCancel Call
OnCondition
OnCondition Call
OnDDEAdvise Call
OnError
OnError Call
OnExit
OnNotFound
OnNotFound Call
OpenFile
OR
Pause
Persist
PersistAll
pi
Procedure
Procedure Prototype
Product
Prompt
Quit
Section 10
RadiansToDegrees
Randomize
RandomNumber
RandomSeed
Real
RegionAddListItem
RegionAddListItemByIndex
RegionEnableWindow
RegionGetCheck
RegionGetClass
RegionGetHandle
RegionGetListContents
RegionGetListCount
RegionGetListItem
RegionGetListItemByIndex
RegionGetListSelectedCount
RegionGetModified
RegionGetPosition
RegionGetSelectedText
RegionGetWindowText
RegionIsEnabled
RegionIsVisible
RegionMoveWindow
RegionRemoveListItem
RegionRemoveListItemByIndex
RegionResetList
RegionSelectListItem
RegionSelectListItemByIndex
RegionSetBitmap
RegionSetCheck
RegionSetEditSelection
RegionSetFocus
RegionSetModified
RegionSetProgressPercent
RegionSetSelectedText
RegionSetWindowText
RegionShowWindow
RegistryCloseKey
RegistryCreateKey
RegistryDeleteKey
RegistryDeleteValue
RegistryEnumKey
RegistryEnumValue
RegistryOpenKey
RegistryQueryKeyCount
RegistryQueryLastError
RegistryQueryValue
RegistryQueryValueCount
RegistrySetValue
RenameDirectory
RenameFile
Repeat
Return
Return
RoundOff
Run
Section 11
SendKeys
SetCurrentDirectory
SetFileAttributes
SetFileDateAndTime
Sign
sin
sinh
SizeOf
Speed
SquareRoot
Step
String
StrFill
StrFraction
StrInsert
StrIsChar
StrLeft
StrLen
StrMakeList
StrNum
StrPad
StrParseList
StrPos
StrReverse
StrRight
StrScan
StrToChars
StrTransform
StrTrim
Structure
StrUnit
SubChar
SubStr
Sum
Switch
Section 12
tan
tanh
TimeHour
TimeHundredth
TimeMinute
TimeSecond
TimeString
TimeZoneInfo
ToInitialCaps
ToLower
ToUpper
True
UnitStr
Until
Use
Value
ValueType
VarErrChk
VersionInfo
Wait
While
With
WordCount
WPString
XOR