LMD ScriptPack Guide


Intrinsic Functions


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

 

Type constants

 

vbEmpty

vbNull

vbSmallInt

vbShortInt

vbLongWord

vbInt64

vbUInt64

vbInteger

vbSingle

vbDouble

vbCurrency

vbDate

vbString

vbObject

vbError

vbBoolean

vbVariant

vbDataObject

vbByte

vbArray

 

Date-time constants

 

vbUseSystemDayOfWeek

vbSunday

vbMonday

vbTuesday

vbWednesday

vbThursday

vbFriday

vbSaturday

 

String comparison constants

 

vbBinaryCompare

vbTextCompare

 

MsgBox function constants

 

vbOKOnly

vbOKCancel

vbAbortRetryIgnore

vbYesNoCancel

vbYesNo

vbRetryCancel

vbCritical

vbQuestion

vbExclamation

vbInformation

vbOK

vbCancel

vbAbort

vbRetry

vbIgnore

vbYes

vbNo

 

Functions

 

Abs

Atn

Cos

Sin

Tan

Sqr

Exp

CBool

CByte

CCur

CDate

CDbl

CInt

CLng

CSng

CStr

Chr

Int

Fix

Log

Round

Sgn

Oct

Hex

VarType

TypeName

IsArray

IsDate

IsEmpty

IsNull

IsNumeric

IsObject

Array

LBound

UBound

Now

Date

Time

Year

Month

Day

Hour

Minute

Second

Weekday

WeekdayName

MonthName

DateSerial

TimeSerial

DateValue

TimeValue

DateAdd

Timer

RGB

Join

Filter

Rnd

Randomize

CreateObject

GetObject

Asc

UCase

LCase

Len

LTrim

RTrim

Trim

Space

String

StrReverse

StrComp

Left

Mid

Right

Split

Replace

InStr

InStrRev

InputBox

MsgBox

GetRef