LOTUSSCRIPT LANGUAGE


Keywords
A keyword is a word with a reserved meaning in the LotusScript language. The keywords name LotusScript statements, built-in functions, built-in constants, and data types. The keywords New and Delete can be used to name subs that you can define in a script. Other keywords are not names, but appear in statements: for example, NoCase or Binary. Some of the LotusScript operators are keywords, such as Eqv and Imp.

Note You cannot redefine keywords in a script, with one exception: keywords can name variables within a type, and variables and procedures within a class.

Alphabetical listing of LotusScript keywords

A
Abs Access ACos ActivateApp Alias
And Any AppActivate AppendArrayAppend
ArrayGetIndexArrayReplaceArrayUnique AsAsc
ASinAtnAtn2
B
Base Beep Bin Bin$ Binary
Bind Boolean Byte ByVal
C
Call Case CBool CByte CCur
CDat CDbl ChDir ChDrive Chr
Chr$ CInt Class CLng Close
CodeLock CodeLockCheck CodeUnlock Command Command$
Compare Const Cos CreateLock CSng
CStr CurDir CurDir$ CurDrive CurDrive$
Currency CVar CVDate
D
DataType Date Date$ DateNumber DateSerial
DateValue Day Declare DefBool DefByte
DefCur DefDbl DefInt DefLng DefSng
DefStr DefVar Delete DestroyLock Dim
Dir Dir$ Do DoEvents Double
E
Else %Else ElseIf %ElseIf End
%End Environ Environ$ EOF Eqv
Erase Erl Err Error Error$
Evaluate Event Execute Exit Exp
Explicit
F
FALSE FileAttr FileCopy FileDateTime FileLen
Fix For ForAll Format Format$
Fraction FreeFile From FullTrim Function
G
Get GetAttr GetFileAttrGetThreadInfoGoSub
GoTo
H
Hex Hex$ Hour
I
If %If IMESetMode IMEStatus Imp
Implode Implode$ In%IncludeInput
Input$InputBInputB$InputBoxInputBox$
InputBPInputBP$InStrInStrBInStrBP
InStrCIntIntegerIsIsA
IsArrayIsDateIsElementIsEmptyIsList
IsNullIsNumericIsObjectIsScalarIsUnknown
J
Join
K
Kill
L
LBound LCase LCase$ Left Left$
LeftB LeftB$ LeftBP LeftBP$ LeftC
LeftC$ LenLenBLenBPLenC
LetLibLikeLineList
ListTagLMBCSLOCLockLOF
LogLongLoopLSetLSI_Info
LSServerLTrimLTrim$
M
Me MessageBox Mid Mid$ MidB
MidB$ MidBP MidBP$ MidC MidC$
- (Minus sign) MinuteMkDirModMonth
MsgBox
N
Name New Next NoCase NoPitch
Not NOTHING Now NULL
O
Oct Oct$ On Open Option
Or Output
P
PI Pitch + (Plus sign) Preserve Print
Private Property Public Published Put
R
Random Randomize Read ReDim Rem
Remove Replace ResetResumeReturn
RightRight$RightBRightB$RightBP
RightBP$RightCRightC$ RmDirRnd
RoundRSetRTrimRTrim$
S
Second Seek Select SendKeys Set
SetAttr SetFileAttrSgnSharedShell
SinSingleSleepSpaceSpace$
SpcSplit SqrStaticStep
StopStrStr$StrComp StrCompare
StrConvStringString$StrLeftStrLeft$
StrLeftBackStrLeftBack$ StrRightStrRight$ StrRightBack
StrRightBack$ StrToken StrToken$ Sub
T
Tab Tan Text ThenTime
Time$TimeNumberTimerTimeSerial TimeValue
ToTodayTrimTrim$TRUE
TypeTypeName
U
UBound UCase UCase$ UChr UChr$
Uni UnicodeUnlock Until Use
UseLSX UString UString$
V
Val Variant VarType
W
Weekday Wend While Width With
Write
X
Xor
Y
Year Yield

See Also