## 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. Statements and functions in the examples are offset with a boldface font.

Note: Keep in mind that while most of the examples given in this chapter will work fine inside any Visual Basic editor (such as Visual Basic for Excel), there may be some items that only function inside of the BASIC Script Editor that ships with PC-DMIS.

More:

Abs Function

AppActivate Statement

Asc Function

Atn Function

Beep Statement

Call Statement

CBool Function

CDate Function

CDbl Function

ChDir Statement

ChDrive Statement

CheckBox

Choose Function

Chr Function

CInt Function

CLng Function

Close Statement

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

End Statement

EOF Function

Erase Statement

Exit Statement

Exp

FileCopy Function

FileLen Function

Fix Function

For each … Next Statement

For...Next Statement

Format Function

Predefined numeric format names:

Characters for Creating User-Defined Number Formats

Sample Format Number Expressions

FreeFile Function

Function Statement

Get Statement

Get Object Function

Global Statement

GoTo Statement

Hex

Hour Function

HTMLDialog

If...Then...Else Statement

Input # Statement

Input Function

InputBox 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

LOF

Log

Mid Function

Minute Function

MkDir

Month Function

MsgBox Function MsgBox Statement

Name Statement

Now Function

Oct Function

OKButton

On Error

Defined x Value Descriptions

Open Statement

Option Base Statement

Option Explicit Statement

Print Method

Print # Statement

Randomize Statement

ReDim Statement

Rem Statement

Right Function

RmDir Statement

Rnd Function

Second Function

Seek Function

Seek Statement

Select Case Statement

SendKeys Function

Set Statement

Shell Function

Sin Function

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

Weekday Function

While...Wend Statement

With Statement

Write # - Statement

Year Function