Nella tabella seguente sono riepilogate le categorie BSL supportate e le parole chiave associate.
Tabella 11-1 BSL: categorie e parole chiave
| Categoria | Parole chiave |
|---|---|
| Gestione di array | Array, Dim, Private, Public, ReDim, IsArray, Erase, LBound, UBound |
| Assegnazioni | Set |
| Commenti | Commenti mediante apostrofi (') |
| Costanti e valori letterali | Empty, Nothing, Null, True, False |
| Flusso di controllo | Do…Loop, For…Next, For Each…Next, If…Then…Else…End If, Select Case, While…Wend, With…End With |
| Conversioni | Abs, Asc, Chr, CBool, CByte, CDate, CDbl, CInt, CLng, CStr, DateSerial, Fix, Int, Sgn |
| Data e ora | Date, Time, DateAdd, DateDiff, DatePart, DateSerial, Day, Month, Year, Hour, Minute, Second, Now, MonthName |
| Dichiarazioni | Const, Dim, Private, Public, ReDim, Function, Sub, Class |
| Gestione degli errori | On Error, Err |
| Espressioni | |
| Stringhe di formattazione | FormatDateTime, FormatNumber |
| Valori letterali | Empty, False, Nothing, Null, True |
| Matematica | Sqr, Rnd |
| Oggetti | CreateObject, oggetto Err, RegExp, ArrayList, Dictionary, ADODB.Connection, ADODB.RecordSet, oggetto FileStream, oggetto File, oggetto TextStream, WShell |
| Operatori | Addizione (+), sottrazione (-), elevamento a potenza (^), aritmetica modulare (Mod), moltiplicazione (*), divisione (/), divisione con resto (\), negazione (-), concatenazione di stringhe (&), uguaglianza (=), disuguaglianza (<>), minore di (<), minore di o uguale a (<=), maggiore di (>), maggiore di o uguale a (>=), And, Or, Xor |
| Opzioni | Option Explicit |
| Routine | Call, Function, Sub |
| Arrotondamento | Abs, Int, Fix, Round |
| Stringhe | Asc, Chr, Filter, InStr, InStrRev, Join, Len, LCase, UCase, Left, Mid, Right, Replace, Space, Split, StrComp, String, StrReverse, LTrim, RTrim, Trim |
| Variabili Variant | IsArray, IsDate, IsEmpty, IsNull, IsNumeric |