diff --git a/docs/Features/Packages/Creating a TWINPACK package.md b/docs/Features/Packages/Creating a TWINPACK package.md index 606590d4..8e090796 100644 --- a/docs/Features/Packages/Creating a TWINPACK package.md +++ b/docs/Features/Packages/Creating a TWINPACK package.md @@ -1,6 +1,7 @@ --- title: Creating a TWINPACK Package parent: Packages +grand_parent: Features nav_order: 1 permalink: /Features/Packages/Creating-TWINPACK redirect_from: diff --git a/docs/Features/Packages/Importing a package from TWINSERV.md b/docs/Features/Packages/Importing a package from TWINSERV.md index 54cd8417..82bae480 100644 --- a/docs/Features/Packages/Importing a package from TWINSERV.md +++ b/docs/Features/Packages/Importing a package from TWINSERV.md @@ -1,6 +1,7 @@ --- title: Importing a Package from TWINSERV parent: Packages +grand_parent: Features nav_order: 2 permalink: /Features/Packages/Importing-TWINSERV redirect_from: diff --git a/docs/Features/Packages/Importing a package from a TWINPACK file.md b/docs/Features/Packages/Importing a package from a TWINPACK file.md index a63e680f..75c8196d 100644 --- a/docs/Features/Packages/Importing a package from a TWINPACK file.md +++ b/docs/Features/Packages/Importing a package from a TWINPACK file.md @@ -1,6 +1,7 @@ --- title: Importing a Package from a TWINPACK File parent: Packages +grand_parent: Features nav_order: 3 permalink: /Features/Packages/Importing-TWINPACK redirect_from: diff --git a/docs/Features/Packages/Linked Packages.md b/docs/Features/Packages/Linked Packages.md index c3106ca0..0c53b1d5 100644 --- a/docs/Features/Packages/Linked Packages.md +++ b/docs/Features/Packages/Linked Packages.md @@ -1,6 +1,7 @@ --- title: Linked Packages parent: Packages +grand_parent: Features nav_order: 5 permalink: /Features/Packages/Linked diff --git a/docs/Features/Packages/Updating a package.md b/docs/Features/Packages/Updating a package.md index 0a8b7adc..0af79b87 100644 --- a/docs/Features/Packages/Updating a package.md +++ b/docs/Features/Packages/Updating a package.md @@ -1,6 +1,7 @@ --- title: Updating a Package parent: Packages +grand_parent: Features nav_order: 4 permalink: /Features/Packages/Updating redirect_from: diff --git a/docs/Reference/Assert/index.md b/docs/Reference/Assert/index.md index f2c8d3db..4051e4f6 100644 --- a/docs/Reference/Assert/index.md +++ b/docs/Reference/Assert/index.md @@ -1,7 +1,8 @@ --- title: Assert Package -parent: Reference Section -nav_order: 25 +parent: Packages +grand_parent: Reference Section +nav_order: 4 permalink: /tB/Packages/Assert/ has_toc: false --- diff --git a/docs/Reference/Packages.md b/docs/Reference/Packages.md new file mode 100644 index 00000000..6c894677 --- /dev/null +++ b/docs/Reference/Packages.md @@ -0,0 +1,26 @@ +--- +title: Packages +parent: Reference Section +nav_order: 20 +permalink: /tB/Packages/ +has_toc: false +--- + +# Packages + +A *package* groups related code — modules, classes, controls, and enumerations — under a single namespace, and is referenced from a project as a single dependency. See [Features → Packages](../../Features/Packages/) for how packages are built and distributed in general; the pages below document the *built-in* packages that ship with twinBASIC itself. + +## Default Packages + +These packages are included in every project by default. + +- [VB Package](VB/) -- standard controls (**CheckBox**, **CommandButton**, **TextBox**, …), forms, and the application-level singletons (**App**, **Screen**, **Clipboard**, **Printer**, …) +- [VBA Package](VBA) -- the standard runtime library — **MsgBox**, **CStr**, **Mid**, **Format**, … grouped into modules, plus the **Collection** and **Err** intrinsics and twinBASIC's runtime expression engine +- [VBRUN Package](VBRUN/) -- runtime-only types — ambient properties, asynchronous-read state, structured error context, the **PropertyBag**, the clipboard / drag-and-drop container, and the enumerations used by classic VB6 forms and controls + +## Built-In Packages + +These packages are built into twinBASIC and are always available, even offline. To use them, add them to Project → References (Ctrl-T) → Available Packages. + +- [Assert Package](Assert/) -- assertion functions for unit tests — three modules (**Exact**, **Strict**, **Permissive**) sharing the same fifteen-member API with different comparison strictness +- [WebView2 Package](WebView2/) -- the **WebView2** control wrapping the Microsoft Edge runtime, plus its surrounding wrapper objects (request / response / headers / environment options) and the `wv2…` enumerations diff --git a/docs/Reference/VB/index.md b/docs/Reference/VB/index.md index 65e99fbc..b1baca4a 100644 --- a/docs/Reference/VB/index.md +++ b/docs/Reference/VB/index.md @@ -1,7 +1,8 @@ --- title: VB Package -parent: Reference Section -nav_order: 21 +parent: Packages +grand_parent: Reference Section +nav_order: 1 permalink: /tB/Packages/VB/ has_toc: false --- diff --git a/docs/Reference/VBA/index.md b/docs/Reference/VBA/index.md index 3c463cf2..a8a37a19 100644 --- a/docs/Reference/VBA/index.md +++ b/docs/Reference/VBA/index.md @@ -1,7 +1,8 @@ --- title: VBA Package -parent: Reference Section -nav_order: 22 +parent: Packages +grand_parent: Reference Section +nav_order: 2 permalink: /tB/Packages/VBA redirect_from: - /tB/Modules diff --git a/docs/Reference/VBRUN/index.md b/docs/Reference/VBRUN/index.md index 3cae8030..68d622a9 100644 --- a/docs/Reference/VBRUN/index.md +++ b/docs/Reference/VBRUN/index.md @@ -1,7 +1,8 @@ --- title: VBRUN Package -parent: Reference Section -nav_order: 23 +parent: Packages +grand_parent: Reference Section +nav_order: 3 permalink: /tB/Packages/VBRUN/ has_toc: false --- diff --git a/docs/Reference/WebView2/index.md b/docs/Reference/WebView2/index.md index e87acc47..d18f54b0 100644 --- a/docs/Reference/WebView2/index.md +++ b/docs/Reference/WebView2/index.md @@ -1,7 +1,8 @@ --- title: WebView2 Package -parent: Reference Section -nav_order: 24 +parent: Packages +grand_parent: Reference Section +nav_order: 5 permalink: /tB/Packages/WebView2/ has_toc: false ---