# Reference Section

The reference is organized into three layers: the language constructs the compiler parses (keywords, statements, operators), the runtime members shipped in the packages (functions, properties, types, classes), and the packages themselves.

**Language constructs and runtime members:**

- [**Categories**](/Reference/Categories.md) -- statements, procedures, and functions grouped by purpose (declarations, control flow, string handling, file I/O, …)
- [**Statements**](/Reference/Statements.md) -- alphabetical index of every language statement
- [**Procedures and Functions**](/Reference/Procedures-and-Functions.md) -- alphabetical index of every callable runtime member
- [**Operators**](/Reference/Operators.md) -- arithmetic, comparison, logical, bitwise, and twinBASIC's added operators
- [**Enumerations**](/Reference/Enumerations.md) -- index of all 140 enumeration types across all 13 packages, grouped by package and A--Z
- [**Data Types**](/Reference/Data-Types.md) -- storage size, range, and suffix for every intrinsic type (**Boolean** through **Variant**)
- [**Literal Keywords**](/Reference/Literal-Keywords.md) -- **Nothing**, **Null**, **Empty**, **True** and **False**
- [**Compiler Constants**](/Reference/Compiler-Constants.md) -- the `#If` symbols the compiler recognises
- [**Run-time Errors**](/Reference/Run-time-Errors.md) -- every trappable error number with its message, and the pages that list it
- [**Attributes**](/tB/Core/Attributes.md) -- `[Description(...)]`, `[COMCreatable(...)]`, and the rest of the attribute syntax
- [**COM Interfaces**](/Reference/COM-Interfaces/index.md) -- the standard COM interfaces twinBASIC code implements or calls, such as **IEnumVARIANT**
- [**twinBASIC Additions**](/Reference/twinBASIC-Additions.md) -- curated list of language and runtime additions beyond standard VBA

**Controls and glossary:**

- [**Controls**](/tB/Controls.md) -- the standard UI controls grouped by purpose
- [**Glossary**](/tB/Gloss.md) -- technical terms used across the docs

**Packages:**

- [**Packages**](/tB/Packages/index.md) -- all 13 packages that ship with twinBASIC: the 3 Default packages (VBA, VBRUN, VB) and the 10 Built-In packages -- the `App` global object (AppGlobalClassObject), the GUI extensions (CustomControls, WinNativeCommonCtls), the browser embeds (WebView2, CEF), the Windows-integration libraries (WinServicesLib, WinEventLogLib, WinNamedPipesLib), and the tooling packages (Assert, tbIDE)
