Language Reference: Introduction
This chapter contains a language reference in alphabetic
order of all the Cypress Enable BASIC code you can use in your scripts.
Notes:
Many of these statements and functions
have an associated example topic. Keep in mind that while most
of the examples work fine inside any Visual Basic editor (such
as Visual Basic for Microsoft Excel), there may be some items
that only function inside of the Basic Script Editor that ships
with PC-DMIS. Similarly, there may be some items that only work
inside of an VBA-supported Integrated Development Environment,
such as Visual Basic or Microsoft Excel.
If you are copying and pasting the code
into the PC-DMIS Basic Script Editor, and the code gets pasted
as a single line, try to first paste it into Notepad and then
copy the code from Notepad.
Statements that are key for an example
are offset with a boldface font. Some
examples are used in more than one topic and so have more than
one with a boldface font.
More:
Abs Function
AppActivate
Statement
Asc
Function
Atn
Function
Beep
Statement
Begin
Dialog
Call
Statement
Cancel
Button
CBool
Function
CDate
Function
CDbl
Function
ChDir
Statement
ChDrive
Statement
CheckBox
Choose
Function
Chr
Function
CInt
Function
CLng
Function
Close
Statement
ComboBox
Const
Statement
Cos
Function
CreateObject
Function
CSng
Function
CStr
Function
CurDir
Function
CVar
Function
Date
Function
DateSerial
Function
DateValue
Function
Day
Function
Declare
Statement
Dialog,
Dialog Function
Dim
Statement
Dir
Function
DlgEnable
Statement
DlgText
Statement
DlgVisible
Statement
Do...Loop
Statement
DropListBox
End
Statement
End
Dialog
EOF
Function
Erase
Statement
Exit
Statement
Exp
FileCopy
Function
FileLen
Function
Fix
Function
For
each ... Next Statement
For...Next
Statement
Format
Function
FreeFile
Function
Function
Statement
Get
Object Function
Get
Statement
GetAttr
Get
Object Function
Global
Statement
GoTo
Statement
GroupBox
Hex
Hour
Function
HTMLDialog
If...Then...Else
Statement
Input
# Statement
Input
Function
InputBox
Function
Int
Function
InStr
Int
Function
IsArray
Function
IsDate
IsEmpty
IsNull
IsNumeric
IsObject
Function
Kill
Statement
LBound
Function
LCase,
Function
Left
Len
Let
Statement
Line
Input # Statement
ListBox
LOF
Log
Mid
Function
Minute
Function
MkDir
Month
Function
MsgBox
Function MsgBox Statement
Name
Statement
Now
Function
Oct
Function
OKButton
On
Error
Open
Statement
Option
Base Statement
OptionCompare
Statement
Option
Explicit Statement
OptionGroup
Picture
Statement
Print
Method
Print
# Statement
PushButton
Put
Statement
Randomize
Statement
ReDim
Statement
Rem
Statement
Resume
Statement
Right
Function
RmDir
Statement
Rnd
Function
Second
Function
Seek
Function
Seek
Statement
Select
Case Statement
SendKeys
Function
SetAttr
Statement
Set
Statement
Sgn
Function
Shell
Function
Sin
Function
Sleep
Space
Function
Sqr
Function
Static
Statement
Stop
Statement
Str
Function
StrComp
Function
String
Function
Sub
Statement
Tan
Function
Text
Statement
TextBox
Statement
Time
Function
Timer
Event
TimeSerial
- Function
TimeValue
- Function
Trim,
LTrim, RTrim Functions
Type
Statement
UBound
Function
UCase
Function
Val
VarType
Wait
Weekday
Function
While...Wend
Statement
With
Statement
Write
# - Statement
Year
Function