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 – statements, procedures, and functions grouped by purpose (declarations, control flow, string handling, file I/O, …)
- Statements – alphabetical index of every language statement
- Procedures and Functions – alphabetical index of every callable runtime member
- Operators – arithmetic, comparison, logical, bitwise, and twinBASIC’s added operators
- Enumerations – index of all 140 enumeration types across all 13 packages, grouped by package and A–Z
- Data Types – storage size, range, and suffix for every intrinsic type (Boolean through Variant)
- Compiler Constants – the
#Ifsymbols the compiler recognises - Attributes –
[Description(...)],[COMCreatable(...)], and the rest of the attribute syntax - twinBASIC Additions – curated list of language and runtime additions beyond standard VBA
Controls and glossary:
- Controls – the standard UI controls grouped by purpose
- Glossary – technical terms used across the docs
Packages:
- Packages – all 13 packages that ship with twinBASIC: the 3 Default packages (VBA, VBRUN, VB) and the 10 Built-In packages – the
Appglobal 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)