The BASIC Language, All Groups

Declaration

, '#Uses, , #Region...#End Region, Attribute, Class, Class Module, Code Module, Const, Declare, Deftype, Delegate, Dim, Enum...End Enum, Event, Function...End Function, Module, Object Module, Option, Private, Property...End Property, Public, ReDim, Static, Sub...End Sub, Type...End Type, WithEvents.

Data Type

Any, Boolean, Byte, Currency, Date, Decimal, Double, Huge_, Integer, Long, Object, PortInt, SByte, Single, String, String*n, UHuge_, UInteger, ULong, Variant, obj type, user dialog, user enum, user type.

Assignment

Assign: (=, +=, -=, *=, /=, \=, ^=, <<=, >>=), Erase, Let, LSet, RSet, Set.

Flow Control

Call, CallByName, Do...Loop, End, Exit, For...Next, For Each...Next, GoTo, If...ElseIf...Else...End If, MacroCheck, MacroCheckThis, MacroRun, MacroRunThis, ModuleLoad, ModuleLoadThis, RaiseEvent, Return, Select Case...End Select, Stop, While...Wend.

Error Handling

Err, Error, On Error, Resume.

Conversion

Array, CBool, CByte, CCur, CDate, CDec, CDbl, CHuge_, CInt, CLng, CSByte, CSng, CStr, CUHuge_, CUInt, CULng, CVar, CVDate, CVErr, Val.

Variable Info

IsArray, IsDate, IsEmpty, IsError, IsMissing, IsNull, IsNumeric, IsObject, LBound, TypeName, UBound, VarType,

Constant

Empty, False, Nothing, Null, True, Win16, Win32, Win64.

Math

Abs, Atn, Cos, Exp, Fix, Int, Log, Randomize, Rnd, Round, Sgn, Sin, Sqr, Tan.

String

Asc, AscB, AscW, Chr, ChrB, ChrW, Format, Hex, InStr, InStrB, InStrRev, Join, LCase, Left, LeftB, Len, LenB, LTrim, Mid, MidB, Oct, Replace, Right, RightB, RTrim, Space, Split, Str, StrComp, StrConv, StrReverse, String, Trim, UCase.

Object

CreateObject, GetModuleInstance, GetObject, Me, With...End With.

Time/Date

Date, DateAdd, DateDiff, DatePart, DateSerial, DateValue, Day, Hour, Minute, Month, MonthName, Now, Second, Time, Timer, TimeSerial, TimeValue, Weekday, WeekdayName, Year.

File

ChDir, ChDrive, Close, CurDir, Dir, EOF, FileAttr, FileCopy, FileDateTime, FileLen, FileLenB, FreeFile, Get, GetAttr, Input, Input, Kill, Line Input, Loc, Lock, LOF, MkDir, Name, Open, Print, Put, Reset, RmDir, Seek, Seek, SetAttr, Unlock, Write,

User Input

Dialog, GetFilePath, InputBox, MsgBox, ShowPopupMenu

User Dialog

Begin Dialog...End Dialog, CancelButton, CheckBox, ComboBox, DropListBox, GroupBox, ListBox, MultiListBox, OKButton, OptionButton, OptionGroup, Picture, PushButton, Text, TextBox.

Dialog Function

DialogFunc, DlgControlId, DlgCount, DlgEnable, DlgEnd, DlgFocus, DlgListBoxArray, DlgName, DlgNumber, DlgSetPicture, DlgText, DlgType, DlgValue, DlgVisible.

DDE

DDEExecute, DDEInitiate, DDEPoke, DDERequest, DDETerminate, DDETerminateAll.

Settings

DeleteSetting, GetAllSettings, GetSetting, SaveSetting

Miscellaneous

AboutWinWrapBasic, AppActivate, Assign, Attribute, Beep, CallersSymbol, Choose, Clipboard, Command, Decode64, Decode64B, Decrypt64, Decrypt64B, Debug.Print, DoEvents, Encode64, Encode64B, Encrypt64, Encrypt64B, Environ, Eval, If, IIf, GetLocale, KeyName, MacroDir, QBColor, Rem, RGB, SendKeys, SetLocale, Shell, Wait.

Operator

Operators: +, -, ^, *, /, \, Mod, +, -, <<, >>, &, =, <>, <, >, <=, >=, Like, New, TypeOf, Not, And, AndAlso, Or, OrElse, Xor, Eqv, Imp, Is, IsNot, AddressOf.

See also

Introduction to BASIC Scripting | Operators | Order of Precedence