diff --git a/.github/actions/run-gates/action.yml b/.github/actions/run-gates/action.yml index 0649a4a5f..651fb519d 100644 --- a/.github/actions/run-gates/action.yml +++ b/.github/actions/run-gates/action.yml @@ -351,3 +351,10 @@ runs: - name: Verify a11y sample coverage (pick_a11y_sample.mjs) shell: bash run: node scripts/pick_a11y_sample.mjs --check + # Every page that shows a screenshot of test/shots/manifest.json declares + # the size its pixels are shown at, its pixels over its scale. A wrong + # size blurs or stretches the picture and nothing else notices. Reads the + # pages and the pictures' headers; no browser, under a second. + - name: Verify screenshot sizes (check_shot_sizes.mjs) + shell: bash + run: node scripts/check_shot_sizes.mjs diff --git a/BUGS-TO-REPORT.md b/BUGS-TO-REPORT.md index f0fe52f07..575e98ea0 100644 --- a/BUGS-TO-REPORT.md +++ b/BUGS-TO-REPORT.md @@ -703,8 +703,9 @@ Steps to reproduce the behavior: 2. See two errors: ``` TB5004 unable to match this implementation to its interface member. The expected signature was: Private Function IProbeD_F() As Long - TB65535 Missing implementation of member Function F() As Long + TB5260 Missing implementation of member Function F() As Long ``` + The second is TB5260 since BETA 1042; BETA 1034 and earlier give TB65535. What was tried and does not help, each on its own: - the VB6-style name without the method-level `Implements IProbeD.F` clause gives `TB5018 unable to match this handler to its event member`, an event-handler message for an interface member, with the same expected signature; @@ -717,12 +718,12 @@ The implementation is accepted, as it is without the attribute. If `[PreserveSig **Desktop:** - OS: Windows 10 Pro 22H2 (build 19045) - - twinBASIC compiler version: BETA 1010 + - twinBASIC compiler version: BETA 1010, and BETA 1042 **Additional context** Severity: an interface the language lets you declare cannot be implemented at all, and the diagnostic asks for the signature that is already written. - + --- @@ -1503,38 +1504,52 @@ Severity: low. No difference in a running program was looked for. Builds are not --- -## Reading `Parent` of the file system's root folder crashes the compiler +## Reading `Parent` of the file system's root folder raises error &H80004005 instead of returning `Nothing` **Describe the bug** -In an IDE add-in, reading `Parent` of the virtual file system's root folder, `Host.FileSystem.RootFolder.Parent`, crashes the compiler, and the add-in with it. The read itself crashes, before the value is used: `Dim o As Object = Host.FileSystem.RootFolder.Parent`, `Dim f As Folder = Host.FileSystem.RootFolder.Parent`, `Host.FileSystem.RootFolder.Parent Is Nothing` and `TypeName(Host.FileSystem.RootFolder.Parent)` all crash, and the line the add-in printed just before the read is the last one printed. The IDE restarts the compiler, which loads the add-in and crashes again, 3 or 4 times in a run. +In an IDE add-in, reading `Parent` of the virtual file system's root folder, `Host.FileSystem.RootFolder.Parent`, raises error -2147467259 (`&H80004005`, `E_FAIL`), *Automation error*, and the variable it was read into stays `Nothing`. The root has no parent, so the read should return `Nothing` with no error. In an event handler with no error handler, the error ends the handler without a message, so an add-in that walks up the tree with `Parent` until `Is Nothing` stops silently at the root. Up to BETA 1034 the same read crashed the compiler. **To Reproduce** Steps to reproduce the behavior: -1. Open `rootfolder-parent-crash.twinproj` (attached as `rootfolder-parent-crash.zip`). It is an add-in whose `Host_OnProjectLoaded` is: +1. Open `rootfolder-parent-error.twinproj` (attached as `rootfolder-parent-error.zip`). It is an add-in whose `Host_OnProjectLoaded` is: ``` Private Sub Host_OnProjectLoaded() Host.DebugConsole.PrintText "before Parent" + On Error Resume Next Dim o As Object = Host.FileSystem.RootFolder.Parent - Host.DebugConsole.PrintText "after Parent" + Dim n As Long = Err.Number + Dim d As String = Err.Description + On Error GoTo 0 + Host.DebugConsole.PrintText "Err " & n & " " & d + Host.DebugConsole.PrintText "Is Nothing = " & (o Is Nothing) End Sub ``` -2. Build it (win32). The add-in crashes the compiler every time it loads, so use an IDE whose add-ins you can restore. Copy `Build\RootfolderParentCrash_win32.dll` into `%APPDATA%\twinBASIC\addins\win32\` and restart the IDE. -3. Open any project. The DEBUG CONSOLE prints `before Parent`, and the compiler crashes. `after Parent` is never printed. -4. To get the IDE working again, close it and delete `RootfolderParentCrash_win32.dll` from `%APPDATA%\twinBASIC\addins\win32\`. +2. Build it (win32). Copy `Build\RootfolderParentError_win32.dll` into `%APPDATA%\twinBASIC\addins\win32\` and restart the IDE. +3. Open a project, then a second one (BETA 1042 empties the DEBUG CONSOLE a second time as the first project opens, which erases the lines; see the entry *The DEBUG CONSOLE is emptied twice as the first project opens*). The DEBUG CONSOLE prints: + ``` + before Parent + Err -2147467259 Automation error + Is Nothing = True + ``` +4. Close the IDE and delete `RootfolderParentError_win32.dll` from `%APPDATA%\twinBASIC\addins\win32\`. **Expected behavior** -`Parent` of the root is `Nothing`, as for the root of any object model, so step 3 prints `before Parent` and `after Parent`. At worst the read raises an error that the add-in can handle, and does not take the compiler down. +`Parent` of the root is `Nothing`, as for the root of any object model, with no error: step 3 prints `Err 0`. **Desktop:** - OS: Windows 10 Pro 22H2 (build 19045) - - twinBASIC compiler version: BETA 1010 + - twinBASIC compiler version: BETA 1042 **Additional context** -What did not reproduce it: `Host.CurrentProject.RootFolder.Parent`, the parent of the project's folder, reads fine, and its `Path` is `twinbasic:/`, the file system's root. An add-in that reads neither does not crash. +The same error is raised by each form of the read: into an `Object` or a `Folder`, in `Host.FileSystem.RootFolder.Parent Is Nothing` and in `TypeName(Host.FileSystem.RootFolder.Parent)`. Without `On Error`, each ends the event handler at the read, as an unhandled `Err.Raise 5` in the same handler does. -Severity: crash. The crash is in the read, so no `On Error` handler helps, and an add-in that walks up the tree with `Parent` until `Is Nothing` crashes the compiler on every start, until its DLL is removed. The workaround is to stop at the folder whose `Path` is `twinbasic:/` without reading its `Parent`. +What did not reproduce it: `Host.CurrentProject.RootFolder.Parent`, the parent of the project's folder, reads with no error, and its `Path` is `twinbasic:/`, the file system's root. An add-in that reads neither prints all its lines. - +On BETA 1034 (and 1010) the read crashed the compiler, under `On Error Resume Next` too, and each compiler the IDE restarted loaded the add-in and crashed again. BETA 1042 fixes the crash; this entry is what is left. + +Severity: low. The error can be handled, and the workaround is to stop at the folder whose `Path` is `twinbasic:/` without reading its `Parent`. + + --- @@ -11607,96 +11622,7 @@ Tested on a copy of BETA 1034 with this change (12 edits in `main.js`, most of t ---- - -## The messages of TB0034, and of TB0035 for an `Object`, leave out the names they report - -**Describe the bug** -Two of the warnings new in BETA 1034 print their message with its names missing. TB0034, for a `Declare` of a legacy DLL, leaves both DLL names empty. TB0035, for a conversion from an `Object` to a class or interface type, shows its placeholders `{0}`, `{1}` and `{2}` as they are. The text is the same in the DIAGNOSTICS panel and in the code editor's squiggle. - -**To Reproduce** -Steps to reproduce the behavior: -1. Open `warning-message-names-blank.twinproj` (attached as `warning-message-names-blank.zip`). Its one source file, `Startup.twin`: - ``` - [EnforceWarnings(TB0035)] - Module Startup - Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" (ByRef PicDesc As Any, ByRef RefIID As Any, ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long - - Public Sub Main() - Dim o As Object - Dim v As Variant - Dim f As StdFont - Set f = o - Set f = v - End Sub - End Module - ``` -2. See three warnings in the DIAGNOSTICS panel: - ``` - TB0034 Use of legacy DLL has been redirected to - TB0035 Conversion from type {0} to type {1} might fail at runtime. Use {2}(expression) to avoid this message - TB0035 Conversion from type Variant to type Font might fail at runtime. Use CType(Of Font)(expression) to avoid this message - ``` - -**Expected behavior** -TB0034 names both DLLs, as TB0015 did for the same `Declare` in BETA 1033: `use of legacy OLEPRO32.DLL has been redirected to OLEAUT32.DLL`. TB0035 names the two types and the conversion for an `Object`, as it does for a `Variant`: `Conversion from type Object to type Font might fail at runtime. Use CType(Of Font)(expression) to avoid this message`. - -**Desktop:** - - OS: Windows 10 Pro 22H2 (build 19045) - - twinBASIC compiler version: BETA 1034 - -**Additional context** -`locale/en-gb.lang` gives the two messages as `Use of legacy DLL {0} has been redirected to {1}` and `Conversion from type {0} to type {1} might fail at runtime. Use {2}(expression) to avoid this message`, so the values the compiler has for these two cases do not reach the text: for TB0034 it fills in two empty strings, for TB0035 nothing at all. - -TB0035 leaves its placeholders for every `Object` source tried: an `Object` variable, a function that returns `Object`, and an `Object` passed to a `StdFont` parameter, with a `StdFont`, a class of the project and an interface of the project as the target. A `Variant` source, a `Variant` item of a `Collection` included, names its types. TB0034 is the same in a win32 and a win64 build. - -Severity: low; the message no longer says which DLL is replaced, or which conversion to write. - - - ---- - -## TB0034 is reported as a warning whatever level Project Settings or an attribute gives it - -**Describe the bug** -TB0034, the warning for a `Declare` of a legacy DLL that twinBASIC redirects to another, is always reported as a warning. The level the Compiler Warnings list of Project Settings gives it is not applied: at **IGNORE**, **HINT** or **ERROR** it is still a warning, and `[IgnoreWarnings(TB0034)]` and `[EnforceErrors(TB0034)]` change nothing either. TB0015, the warning for a `Declare` that twinBASIC implements itself, follows its level. In a new project the list shows TB0034 at **HINT**. - -**To Reproduce** -Steps to reproduce the behavior: -1. Open `tb0034-level-ignored.twinproj` (attached as `tb0034-level-ignored.zip`). Its Settings put TB0015 and TB0034 at **IGNORE**, and its one source file, `Startup.twin`, is: - ``` - Module Startup - Private Declare PtrSafe Sub GetMem4 Lib "msvbvm60" (ByVal Src As LongPtr, ByVal Dst As LongPtr) - Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" (ByRef PicDesc As Any, ByRef RefIID As Any, ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long - - Public Sub Main() - End Sub - End Module - - [IgnoreWarnings(TB0034)] - Module ByAttribute - Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" (ByRef PicDesc As Any, ByRef RefIID As Any, ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long - End Module - ``` -2. See two warnings, one for each `olepro32` declaration, and nothing for the `msvbvm60` one: - ``` - TB0034 Use of legacy DLL has been redirected to [4,38] - TB0034 Use of legacy DLL has been redirected to [13,38] - ``` - -**Expected behavior** -TB0034 follows its level, as TB0015 does: not reported at **IGNORE**, a hint at **HINT**, an error at **ERROR**. In a new project, whose list shows TB0034 at **HINT**, it is a hint. - -**Desktop:** - - OS: Windows 10 Pro 22H2 (build 19045) - - twinBASIC compiler version: BETA 1034 - -**Additional context** -Also tried, each with the same result, a warning: TB0034 at **HINT** and at **ERROR** in Project Settings (TB0015 at **ERROR** becomes an error), and `[EnforceErrors(TB0034)]` on the module. In BETA 1033 the same `Declare` drew TB0015 as a warning in a new project, although the list showed TB0015 at **HINT**; BETA 1034 gave the message a code of its own, and its level is still not applied. -Severity: low; the warning cannot be turned off, so a project that declares such a function always shows it. - - --- @@ -12997,13 +12923,11 @@ Severity: low. It is a sample, but a reader copies a sample's pattern. ## A Friend member answers a late-bound call, from outside the project too **Describe the bug** -A `Friend` member is meant for the project that declares it, and the type library leaves it out. But the `IDispatch` that the compiler writes for a class finds `Friend` members. So a late-bound call to one works, through an `Object` or a `Variant` variable or `CallByName`, and it works for code in another project that holds the object. VB6 raises error 438, *Object doesn't support this property or method*. A `Private` member raises 438 in both. - -A project that references a package can also use the `Friend` members of the package's classes, early-bound and late-bound. +A `Friend` member is meant for the project that declares it, and the type library leaves it out. But the `IDispatch` that the compiler writes for a class finds `Friend` members. So a late-bound call to one works, through an `Object` or a `Variant` variable or `CallByName`, and it works for code in another project that holds the object. VB6 and 64-bit VBA raise error 438, *Object doesn't support this property or method*. A `Private` member raises 438 in all three. **To Reproduce** Steps to reproduce the behavior: -1. Open `friend-late-bound.twinproj`. `Widget` has a `Friend Function GetValue`, and `FriendLib`, a package of the project, has a class `Locked` with a `Friend Function FriendFn`. +1. Open `friend-late-bound.twinproj`. `Widget` has a `Friend Function GetValue`. 2. Run: ```vb @@ -13012,74 +12936,29 @@ Steps to reproduce the behavior: Debug.Print CallByName(O, "GetValue", VbMethod) ``` 3. See `7` twice, where 438 is expected. -4. See that `L.FriendFn()` in the module `FromTheProject`, on a `Locked` from the package, compiles. What decides it: - A `Friend` Function, Property and variable are each found. A `Private` member raises 438, and a `Public` one works. - The IDE, a built exe, win32 and win64 give the same results. - From another project: an ActiveX DLL with a `[DllExport]` function that returns a class as `Object`, called from a second project through a `Declare`. Late-bound, the second project called a `Friend` Function and a `Friend` Property, and wrote and read a `Friend` variable. A `Private` variable raised 438, and the DLL's type library lists none of those `Friend` members. +- The class's run-time type information lists them. The `ITypeInfo` that `IDispatch::GetTypeInfo` returns lists `Friend` functions and variables beside the `Public` ones, and its `GetIDsOfNames` finds them, while a `Private` or `Protected` member is not found. A `[DispId]` on a `Friend` member is honoured as on a `Public` one. Only the type library written to the DLL leaves `Friend` out. +- VB6 (`bug_repro.mjs vb6`): early-bound works; late-bound, a `Friend` Function, Property Get and Let, and `CallByName` each raise 438. +- 64-bit VBA (Access, VBA 7.01): the same class gives 438 for a `Friend` Function, Property Get and Let, Sub and `CallByName`, through `Object` and through `Variant`, and works for a `Public` one. - Not affected, and the same as VB6: a `Friend` Function with no arguments, called through a class that implements the class, raises error 97. Other signatures have a defect of their own in a 32-bit build, in the entry on the stack below. **Expected behavior** -Error 438 for each late-bound call, as VB6 gives, and a compile error for a `Friend` member of a package's class used from the project that references the package. +Error 438 for each late-bound call, as VB6 and VBA give. **Desktop:** - OS: Windows 10 Pro 22H2 (build 19045) - - twinBASIC compiler version: BETA 1034 + - twinBASIC compiler version: BETA 1034 and BETA 1042 **Additional context** -#2409 asks for `Friend` members of a package to be hidden from IntelliSense. This entry is about the calls themselves. +In the Discord `general` channel on 30 September 2026, asked why `Friend` methods can be inspected through `IDispatch`, Wayne wrote that he vaguely remembered a vtable entry for them that raises an error, to match VB6, and that the dispatcher was likely exposing that. The behaviour above does not fit a stub that raises an error: on the class that declares the member, the late-bound call runs the member's own code and returns its value. Error 97 comes only through a class that implements the class. Severity: low to medium. Code that works does not stop working, but `Friend` does not keep a member private to the project, and a client of an ActiveX DLL can reach members that the type library does not show. - - ---- - -## TB65535 gives Internal Error - Bad Error Info Locale Data in place of the missing member's name - -**Describe the bug** -When a class leaves out a member of a class or interface it implements, TB65535 no longer says which. BETA 1033 reports *Missing implementation of member Function F() As Long*, and BETA 1034 reports *Internal Error - Bad Error Info Locale Data*. The error is still in the right place, on the name after `Implements`. Only its text is lost, and it was the text that named the member. - -**To Reproduce** -Steps to reproduce the behavior: -1. Open `missing-implementation-message.twinproj`: - - ```vb - Class Base - Public Function F() As Long - End Function - End Class - - Class Partial - Implements Base - End Class - ``` -2. See TB65535 on `Base` in `Implements Base`, with the text *Internal Error - Bad Error Info Locale Data*. - -What decides it: -- BETA 1010 and BETA 1033 give the *Missing implementation of member* text, in the same harness, on the same project. -- A `Public` Function and a `Public` variable give it, with one error for each missing member, so a variable gives two: its Get and its Let. - -**Expected behavior** -*Missing implementation of member Function F() As Long*, as on BETA 1033. - -**Desktop:** - - OS: Windows 10 Pro 22H2 (build 19045) - - twinBASIC compiler version: BETA 1034 - -**Additional context** -The cause, read from the compiler `twinBASIC_win32.dll` of BETA 1034 (the function at RVA 0x12C790): the function that makes a diagnostic's text takes the code as a 16-bit value, looks up the code's template in one of two tables, and accepts only the codes 0 to 37 and 5000 to 5259. For any other code it returns the text *Internal Error - Bad Error Info Locale Data*, which BETA 1033's compiler does not hold. `twinBASIC_win64.dll` has the same three limits. This error's code is `ERROR_MissingImplementation = -1` in the compiler's list of diagnostic codes, which is 65535 as a 16-bit value, so it never reaches a table. The text *Missing implementation of member* is still in the DLL. - -It is the only code affected. Of the 292 codes in that list, which is current as of BETA 1007, it is the only one outside those ranges, and the codes added since, TB0034 to TB0037, are inside them. The logs of the compiles behind this entry hold the text of 37 codes, and this is the only one with the fallback text. - -The language pack cannot mend it. On a private copy of the install, a row `TB65535:` in `locale/en-gb.lang`, with `{0}` or without, changes nothing, nor do rows keyed `TB-1`, `TB0000` and `ERROR_MissingImplementation`, while a new row `TB5074: "PROBE5074 [{0}]"` changes TB5074's message to `PROBE5074 [Cannot construct 'IFoo': expected a class type.]`. So the check has to admit 65535, or this error has to get a code inside the ranges. - -This is a different fault from *TB5079 for an unknown type puts its whole message inside the message for an unknown name*, which came with the same new function. There the code passes the check, and the pack's row for it wraps the whole message the compiler passes as `{0}`. - -Severity: low. The build stops where it should, but a class with several members has to be read by hand to find the missing one. - - + --- @@ -13131,14 +13010,14 @@ Error 97, caught by the caller's handler, whatever the signature, as win64 and V **Desktop:** - OS: Windows 10 Pro 22H2 (build 19045) - - twinBASIC compiler version: BETA 1034 + - twinBASIC compiler version: BETA 1034 and BETA 1042 **Additional context** Inferred from the pattern above and not read from the generated code: one stub, with a fixed `ret 8`, stands in for every `Friend` procedure that an implementing class leaves out. It would have to remove what each procedure takes. Severity: high. The program ends with an access violation for a call whose whole purpose is to raise an error that it can handle, and unsaved data is lost. - + --- @@ -13424,3 +13303,196 @@ The same on BETA 1010 and BETA 1033, with no level, at **IGNORE** and at **ERROR Severity: low; the warning cannot be turned off, so a project with 64-bit builds and older `Declare` statements always shows it, once for each statement. + +--- + +## A Private method of a class can be called by its dispid, from another project too + +**Describe the bug** +A late-bound call by name never finds a `Private` method: `CallByName` and a call through an `Object` raise error 438, and `GetIDsOfNames` fails. But a call by the method's dispid runs it. A class numbers its methods from `&H60030000` in the order they are declared, `Private` ones included, so the number is easy to guess, and `CallByDispId` or `IDispatch::Invoke` with that number calls the `Private` method and returns its value. A `[DispId]` on a `Private` method gives it a number that works the same way. In VB6, `Invoke` on the dispid of a `Private` method returns `DISP_E_MEMBERNOTFOUND`. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `private-member-by-dispid.twinproj`, or use: + + ```vb + Class Widget + Public Function PubFn() As Long + Return 1 + End Function + Private Function PrivFn() As Long + Return 2 + End Function + End Class + ``` +2. Run: + + ```vb + Dim O As Object = New Widget + Debug.Print CallByDispId(O, &H60030001, VbMethod) + ``` +3. See `2`, the value `PrivFn` returns, where 438 is expected. + +What decides it: +- `Private` Function, Sub and a `Private` method with `[DispId(78)]` each run by their number. `CallByName(O, "PrivFn", VbMethod)` raises 438. +- Not affected: a `Private` variable (`&H40030001` with `VbGet` raises 438), and a `Protected` method or variable, by its number or by a `[DispId]`. +- The IDE, win32 and win64 give the same results. +- From another project: an ActiveX DLL with a `[DllExport]` function that returns a class as `Object`, called from a second project through a `Declare`. `CallByDispId` with the dispid of the DLL's `Private Function`, which returns 42, returned 42, and the `Private Sub` after it ran with no error. By name the same function raised 438. +- VB6 (`bug_repro.mjs vb6`): a class with `PubFn`, a `Private PrivFn`, a `Friend FrFn` and `PubFn2`, in that order. `IDispatch::Invoke`, called through `DispCallFunc`, runs `PubFn` at `&H60030000` and `PubFn2` at `&H60030003`, and returns `DISP_E_MEMBERNOTFOUND` (`&H80020003`) for `&H60030001` and `&H60030002`. VB6 also gives its `Private` and `Friend` methods numbers, but `Invoke` does not call them. + +**Expected behavior** +Error 438 for a `Private` method by its dispid, as for a `Private` variable and a `Protected` member, and as VB6's `Invoke` refuses it. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1034 and BETA 1042 + +**Additional context** +This is not the `Friend` entry above: there a `Friend` member is found by name as well. Here the name check works, and the number check does not. + +Severity: medium. A `Private` method is the one a class's author means nobody else to call. Any code that holds the object, in another project included, can call it by a number it can guess from the order of the declarations. + + + +--- + +## The DEBUG CONSOLE is emptied twice as the first project opens, so output written in between, an add-in's included, is lost + +**Describe the bug** +Opening a project empties the DEBUG CONSOLE, as it should. On BETA 1042, the first project opened after the IDE starts empties it a second time, a moment later, as the project's saved console options are applied. Whatever was written between the two is lost: an add-in's `Host.DebugConsole.PrintText` output as the project loads, and any other line written then. A project opened after the first is not affected. + +**To Reproduce** +Steps to reproduce the behavior: +1. Use an add-in that prints a line with `Host.DebugConsole.PrintText` as its project loads. +2. Start the IDE and open a project. +3. The line shows for a moment, and then the console is empty. +4. Open another project in the same IDE. Its line stays. + +What decides it, in a lane test that starts the IDE with no project, records every emptying of the console's list, and has `clearDebugConsole` write a line just after it runs: +- The first project's open empties the list twice: once by `clearDebugConsole`, and once more after it, which erases the line written just after the first. +- A second project's open empties the list once, by `clearDebugConsole`, and the line written after it stays. +- After the first open, toggling **Show Timestamps** twice erases nothing. +- In BETA 1034 the list does not take this path: its cached-heights flag starts out `true`. +- Four of our add-in test lanes that read what an add-in prints as its project loads failed on BETA 1042 for this reason alone; with the fix below, all four pass. + +**Expected behavior** +The console is emptied once, as the project opens, and what is written after that stays. + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +The console's list is made by `createListView`, which leaves its `useCachedItemHeights` unset. `setUseCachedItemHeights`, new with the **Smoother Scrolling** option, empties the list whenever the value it is given differs from the one the list holds. The first `resyncDebugPanelOptions`, as a project's console options are applied, gives it `false`, which differs from unset, so the list is emptied. After that the value is `false`, and nothing is emptied again until the option is changed. + +**Fix shape** + +`createListView` in `ide/main.js`, BETA 1042, in a readable form. The local names are ours, not twinBASIC's (`container`, `list`, `htmlRow`, `heightRow`, `element`, `width`, `height`, `itemRow`, `dataRow`, `updatedRow`, `newHtml`, `addedHtml`, `addedData`, `addedRow`, `use`, `removedRow`, `visible`, `lastVisible`); the build calls them `e`, `t`, `e`, `e`, `o`, `n`, `i`, `e`, `e`, `e`, `o`, `e`, `o`, `n`, `e`, `e`, `o`, `n`. + +```diff +@@ -7,6 +7,7 @@ + list.dataNodesCachedHeight = []; + list.dataNodesCachedWidth = []; + list.totalCachedItemsHeight = 0; ++ list.useCachedItemHeights = false; + list.onAsyncGetItemHTML = (htmlRow) => list.dataNodes[htmlRow]; + list.onAsyncGetItemHeight = (heightRow, element) => { + var width = list.cachedClientWidth; +``` + +The list starts with the flag `false`, the value **Smoother Scrolling** has when it is off, so the first `setUseCachedItemHeights(false)` finds nothing to change and returns without emptying the list. Every list that `createListView` makes already reads an unset flag as `false`, so nothing else changes. + +On a patched copy of the BETA 1042 install, the lane's test of the second emptying fails, its two controls pass, and both add-in tests pass. + + + +--- + +## A call of a `stdole.IDispatch` method on a Collection ends the program with an access violation + +**Describe the bug** +A call of one of the four `IDispatch` methods through a variable declared `As stdole.IDispatch` is a late-bound call by name (the entry *Calling a method of `stdole.IDispatch` is a late-bound call by name and fails with error 438* above). For an object of a twinBASIC class it raises error 438. When the object is a `Collection`, BETA 1042 ends the program with an access violation instead, and `On Error Resume Next` does not catch it. BETA 1034 raised 438 for both. + +**To Reproduce** +Steps to reproduce the behavior: +1. Open `stdole-idispatch-collection-crash.twinproj` (attached as `stdole-idispatch-collection-crash.zip`). Its `RegressionTests.twin` holds the regression tests below, one `[TestCase]` per behaviour, each asserting the correct result. +2. Or run: + + ```vb + Dim c As New Collection + Dim d As stdole.IDispatch = c + Dim count As Long = -1 + On Error Resume Next + d.GetTypeInfoCount count + Debug.Print Err.Number + ``` +3. See the program end with an access violation, where `438` is expected. + +The regression tests (the first fails on BETA 1042, the two controls pass): + +```vb +Class Widget + Public Hits As Long + Public Sub Hello() + Hits += 1 + End Sub +End Class + +[TestFixture] +Module StdoleDispatchTests + + [TestCase] + Public Sub Collection_GetTypeInfoCount_RaisesAnErrorAndDoesNotCrash() + Dim c As New Collection + Dim d As stdole.IDispatch = c + Dim count As Long = -1 + On Error Resume Next + d.GetTypeInfoCount count + Dim n As Long = Err.Number + On Error GoTo 0 + Assert.Strict.AreEqual 438, n + End Sub + + [TestCase] + Public Sub Control_TwinBasicClass_GetTypeInfoCount_Raises438() + Dim w As New Widget + Dim d As stdole.IDispatch = w + Dim count As Long = -1 + On Error Resume Next + d.GetTypeInfoCount count + Dim n As Long = Err.Number + On Error GoTo 0 + Assert.Strict.AreEqual 438, n + End Sub + + [TestCase] + Public Sub Control_Collection_ThroughObject_CountWorks() + Dim c As New Collection + c.Add 1 + Dim o As Object = c + Assert.Strict.AreEqual 1, CLng(o.Count) + End Sub + +End Module +``` + +What decides it: +- The object: a `Collection` crashes, an object of a twinBASIC class raises 438. +- Not the run: a run in the IDE, the test mode and a built exe each crash, in a 32-bit and a 64-bit build. +- Not the late-bound call itself: through an `As Object` variable, the same `Collection` answers `Count`. + +**Expected behavior** +Error 438, which `On Error` can handle, as for an object of a twinBASIC class and as BETA 1034 gave. Better, the call goes through the interface, as the entry above asks, and returns what the `Collection`'s own `IDispatch` answers. + +VB6 does not accept a variable declared `As IDispatch` (the entry above). + +**Desktop:** + - OS: Windows 10 Pro 22H2 (build 19045) + - twinBASIC compiler version: BETA 1042 + +**Additional context** +Severity: high. An access violation that `On Error` cannot catch ends the program and loses its unsaved data, where the program asked for an error it could handle. + +Checked on BETA 1034, which raises 438 for the `Collection` too, so the crash is new in a build after 1034. + + diff --git a/WIP.HelpAddin.md b/WIP.HelpAddin.md index 534b17e12..8d9c386c8 100644 --- a/WIP.HelpAddin.md +++ b/WIP.HelpAddin.md @@ -643,7 +643,7 @@ run, and the failure says what to update. The lanes and what rests on each: (increment 6); the mouse route is the one built. It prints the P16 timings with the tests. - [references.test.mjs](test/addin/references.test.mjs) (P20): increment 9's route to the packages a project references. -- [parent.test.mjs](test/addin/parent.test.mjs) (P21): the WARNING on the FileSystemItem +- [parent.test.mjs](test/addin/parent.test.mjs) (P21): the NOTE on the FileSystemItem page's **Parent**, and the reproducer of its entry in BUGS-TO-REPORT.md. A probe that settles a question once stays in scratch. So do the two P3 checks that need the @@ -674,7 +674,7 @@ The table gives each answer in brief; the sections above have the detail. | P18 | What keeps a hover shown while the mouse slides down it past the code editor's bottom? **Answered, BETA 1007: the IDE.** It draws `.monaco-hover` at `z-index: 1000 !important`, above its dock resizer along the editor's edge (`.dockElementResizer`, `z-index: 1000`) and its drop targets, so they never take the mouse from the hover (Monaco's `_onEditorMouseLeave` would hide it). Monaco alone keeps a hover the mouse is over: its DOM stays inside the editor's, and the hover is sticky. CDP's mouse reaches the 6 px resizer only in steps small enough to land on it, so the test slides the mouse a pixel at a time | Stage 4, increment 6: nothing in the add-in; the `help` lanes check the IDE's behaviour | | P19 | Can an add-in show a window of its own, a Form holding the WebView2 package's control? **Answered, BETA 1007: yes** ([detach.test.mjs](test/addin/detach.test.mjs), `probes/detach`). A minimal hand-written `.tbform` builds, given `_className` and `_clsid` on the form and the control. `Show vbModeless` gives a visible top-level window, owned by the compiler's process (`twinBASIC_win32_noDEP.exe`, a child of `twinBASIC.exe`), with no message loop of the add-in's own; the control is ready about 250 ms after the first Show, 60--80 ms for a later form. A page loaded with `NavigateToString` posts to the add-in and receives what it posts, and an iframe in it loads an `http://localhost` page. Hide and Show keep the page; Unload and a new form work; the IDE ending leaves no `msedgewebview2.exe` of the window's behind. **The harness gives the IDE `WEBVIEW2_USER_DATA_FOLDER` and `WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS`, the compiler inherits them, and they override the control's own options: with them left in place the control fails, error `8007139F`** (which of the two, not isolated). With no user data folder set, the control uses `bin\twinBASIC_win32_noDEP.exe.WebView2`, which the IDE has made already | Stage 4, increment 7: the detached window, and the variables it removes under the test switch | | P20 | Can an add-in learn, through the public API, which packages its project references? **Answered, BETA 1007: yes** ([references.test.mjs](test/addin/references.test.mjs), `probes/references` and its three hosts `probes/references-*`). `/Packages`, reached with `For Each` from `Host.FileSystem.RootFolder` (`twinbasic:/`), holds a folder for each package the project references, newest first, then VBRUN and VBA, which are always there; a package's own references are folders inside its own `Packages`. A folder is named for the package's project, which is the key the symbol index's `packages` map uses (`VB`, not the reference's symbol `WindowsControlsPackage`; `Assert`, not `TwinBasicAssertions`); `VBComDlg`, which only WinNativeCommonCtls references, is the one name the map lacks. `IsPackagesFolder` is true for every `Packages` folder and false for a package's. A package is one folder shared by every list it is in, and its `Path` and `Parent` name the first one it was found in, so only `Name` identifies it. The list is complete when `Host_OnProjectLoaded` runs. Applying a reference added or removed on the References page restarts the compiler with no question asked, and the new add-in instance's list shows the change. A type library is a file in `References`, not a package. | Stage 4, increment 9: the packages the add-in offers | -| P21 | What does reading `Parent` of the file system's root do? **Answered, BETA 1007: it crashes the compiler** ([parent.test.mjs](test/addin/parent.test.mjs), `probes/parent`, one IDE per case, the case passed in `TB_P21_CASE`). The read itself crashes, before the value is used: into an `Object` or a `Folder`, in `Is Nothing`, in `TypeName`. Each compiler the IDE restarts loads the add-in and crashes again. The project folder's `Parent` reads, and is the root (`twinbasic:/`). | no add-in here reads the root's `Parent` (P20's tells the root by its path); the WARNING on FileSystemItem's **Parent**; a BUGS entry | +| P21 | What does reading `Parent` of the file system's root do? **Answered, BETA 1007: it crashes the compiler; BETA 1042: it raises error &H80004005 (E_FAIL, *Automation error*) and leaves the target Nothing** ([parent.test.mjs](test/addin/parent.test.mjs), `probes/parent`, one IDE per case, the case passed in `TB_P21_CASE`). The read itself fails, before the value is used: into an `Object` or a `Folder`, in `Is Nothing`, in `TypeName`. Up to BETA 1034 each compiler the IDE restarts loads the add-in and crashes again, under `On Error Resume Next` too; on 1042 the error, unhandled, ends the event handler without a message, as an unhandled `Err.Raise` does. The project folder's `Parent` reads, and is the root (`twinbasic:/`). On 1042 the lane is judged on a copy patched for the console defect (`bugs/console-cleared-at-open`). | no add-in here reads the root's `Parent` (P20's tells the root by its path); the NOTE on FileSystemItem's **Parent**; a BUGS entry | ### Stage 3: the symbol index, generated by the docs build diff --git a/WIP.Screenshots.md b/WIP.Screenshots.md index 258f1e44a..a969f93ab 100644 --- a/WIP.Screenshots.md +++ b/WIP.Screenshots.md @@ -83,12 +83,13 @@ Measured: name without "Sample N.", so the tool finds a sample by `fp2Item.name` and anchors on the name as drawn (`SAMPLE_TITLE`). `.fp2-content` is what scrolls. - **What the user's machine leaks into a picture**, and the answer for each: - - the recent-projects lists (twinBASIC and VB6) read the user's registry: overridden in the - page (`HostGetRecentsList`, `HostGetVB6RecentProjects`), nothing read or written. BETA - 1033's New / Open Project dialog reads the twinBASIC list from `hostAppObject.GetRecentsList` - itself, as it opens, so `PAGE_DEFAULTS` answers that call from `window.__shotRecents` - (`setRecents`, which a shot calls before it opens the dialog), and that dialog's remembered - section, the setting `NEWFRONTPAGE`, is neither read nor saved; + - the recent-projects lists (twinBASIC and VB6) read the user's registry: every tool's IDE has + them answered by the defaults hook (`scripts/lib/tb-defaults.mjs`), from the page's + `window.__tbRecents` and `window.__tbVb6Recents`, or empty, whichever way the build asks + (`GetRecentsList` and `GetVB6RecentProjects` on the host object, and since BETA 1042 + `ReadFileDataBase64("GetRecentsList")`), nothing read or written. A shot sets them before it + opens the New / Open Project dialog (`setRecents`), and that dialog's remembered section, the + setting `NEWFRONTPAGE`, is neither read nor saved (`PAGE_DEFAULTS`); - the IDE's settings (View's ticks, IDE Options' values, the debugger options, the language tick, user panel layouts) live in `HKCU\...\twinBASIC_IDE\IDESettings`, not in the lane's private APPDATA — see Machine state in the pictures. The IDE is started with @@ -174,8 +175,10 @@ Measured: the import log, reads `\.` as an escape. A capture fails when the real folder is in the page's text, its text boxes, the SVG or a window's texts: what cannot be rewritten is fixed, and the guard is not relaxed. `startTidy` sweeps the folder's `ProjectState` entries; `asTempFolder` allows - exactly this one folder outside the temp folder, so two checkouts' shoot_docs runs at once - would refuse each other's. + a `.claude\tbshots` folder outside the temp folder, any checkout's, by name, so that a dead run's + record from another worktree, or one spelt by a subst drive, is swept by the next run to start + alone; a dead record naming any other folder is dropped with a note rather than blocking every + run after it. - **The reference is the picture at `HEAD`, then the file** (owner; `pictureFate` in `scripts/lib/shot-revision.mjs`). Compared with the file alone, a picture drifted from `HEAD` over the runs of one retake, each step within noise of the file before it, and a run @@ -632,7 +635,7 @@ setup, which the setup's `end` removes. Its 14 pictures are under `docs/IDE/Star - **`starting`**: Enter Licence Key, the search, Recent (VB6) and the three New Project Options boxes, each cancelled, so that no ActiveX project is ever made; the shot checks the licence box is empty. The picker `OpenProjectVBP` is answered from `__shotAnswers`, VB6's list from - `__shotVb6Recents` (`PAGE_DEFAULTS`). A box's clip starts at the next whole CSS pixel: it can + `__tbVb6Recents`, which the defaults hook answers. A box's clip starts at the next whole CSS pixel: it can start half a pixel into the progress box behind it. - **`starting-new`**: a new Standard EXE and an import, each made again by its take, since a take leaves the project changed. Its compiler starts on `licenceKey = ""` in the page, as in diff --git a/WIP.ShotReview.md b/WIP.ShotReview.md index 4ab2d580e..4eb287dcb 100644 --- a/WIP.ShotReview.md +++ b/WIP.ShotReview.md @@ -71,7 +71,13 @@ Two decisions are made by fixed thresholds, and neither threshold holds for ever 2026-10-31), so that a page's and a picture's address can be kept; not a port from `tbbroker`. - **The overview also lists the pictures under `docs/` that differ from the baseline but that no run of the session reported** (a retake from a terminal, an edit), as a group of their own - (owner, 2026-10-31): HEAD's picture against the file, with no verdict to override. + (owner, 2026-10-31): HEAD's picture against the file, with no verdict to override. **Since + 2026-11-09 (owner), by file and by content**: a picture's PNG or SVG that differs from the + baseline and that no layer of the session wrote is changed outside the runs, *whether a run + reported the picture or not* (a run that found a terminal's SVG and left it as it was does not + make it the session's), and an SVG that changed with its PNG unchanged is listed too. Each has + **Keep it as it is** (recorded against its bytes) and **Put back the baseline's**, and the commit + waits until each is one or the other: see [One way to take pictures](#one-way-to-take-pictures). - **When HEAD moves under an open session** (a commit made outside the tool), the session keeps its baseline and the overview warns, as step 5 does; and the overview offers to **move the session to the new HEAD on demand** (owner, 2026-10-31). Moving makes the new HEAD the @@ -211,8 +217,11 @@ form for a new run: ### Commit What the session changed, counted: PNGs updated by the tool's verdict, kept at `HEAD` against -it, taken against it; SVGs written (by allowance among them) and removed; the manifest. Other -changes in the working tree are listed as left out. The message is one line by default +it, taken against it; SVGs written (by allowance among them) and removed; pictures kept from +outside the runs; the manifest. Other changes in the working tree are listed as left out. **A +picture changed outside the runs that no review has kept or put back holds the commit back** +(owner, 2026-11-09; `undecidedRefusal`): the page lists it, and Commit is disabled with the reason, +so that once the tool has committed, no picture under `docs/` differs from HEAD. The message is one line by default ("Screenshots retaken on BETA 1501: 39 pictures changed, 3 kept at HEAD by review; 35 SVGs written (2 by allowance), 1 removed"), can be edited, and **Back to the default message** is enabled once it differs. **Commit** commits the session's own files and nothing else, named @@ -458,7 +467,7 @@ What step 6 added: | The noise rule over files | `pngsNear(a, b, rule)` in `shot-change.mjs`, `shoot_docs.mjs`'s `nearly` | | The manifest's setter | `setPart(out, part, key, value)` on `openManifest`'s object: a decision or an allowance set, or removed with `undefined`, checked as `parseManifest` checks an entry | | The actions | POSTs of JSON to `/api/picture/` (`hrefs.act`), `{action}`: `png` (`keep` "old", "new" or null), `svg` (`accept` true, false or null), `allowance` (`png` and `svg`, each `{levels, share, ignore}`, empty for the default), `rule` (the picture's decisions removed: "Back to the tool's verdicts"), `judge`; and `/api/baseline` (`hrefs.moveBaseline`). Each changes the manifest, then `rejudge`s from the run the verdict is about. A POST is refused unless its Origin is the server's own and its body JSON, since a page of any origin can send a form to the loopback address. The detail page's PNG and SVG rows have the choices, an Allowances form (a rectangle is drawn by dragging on the picture, in device pixels) and Judge again; the page's script sends them and says "applying..." or the error beside the buttons | -| Changed outside the runs | the server's `changed()` (`changedPictures` against the baseline, read at most once a second); `reviewPictures(runs, {outside})` puts those no run reported in the group `outside`, between Only noise and Unchanged; `outsideHtml` compares HEAD's picture with the file, its map `/map/outside/` drawn by `changeMap` | +| Changed outside the runs | the server's `changed()` (`changedPictures(..., {svgs: true})` against the baseline, read at most once a second: each picture whose PNG or SVG differs, `{out, status, parts}`, an SVG counted when its PNG is under docs or among the changed, `pictureChanges`); `reviewPictures(runs, {outside, outsideKept})` marks each file no layer wrote (`wroteOf`: a PNG written, put back or removed takes its SVG with it; an SVG written or removed) as `outsideParts`, whether a run reported the picture or not, in the group `outside`, between Only noise and Unchanged; `outsideHtml` (no run reported it) compares HEAD's picture with the file when its PNG changed, its map `/map/outside/` drawn by `changeMap`, and `detailHtml` takes `outside` for one a run reported; both show `outsideSectionHtml`, which compares the SVG at HEAD with the file's. Every comparison of a page is `compareHtml`'s, side by side, a swipe, blinking and a map (owner, 2026-11-09: without them a change is almost impossible to see), each driven by the page's script on its own; an SVG's map is drawn by the page (`canvas.diffmap`, `drawDiff`: both SVGs drawn at the picture's device size, coloured as `changeMap` colours), since the server cannot draw an SVG. `outsideSectionHtml` has **Keep it as it is** (`{action: "keep-outside"}`: `session.keepOutside(out, {png, svg})`, the files' hashes, `"absent"` for one removed, in `session.json`'s `outside`; it holds while the files hold those bytes, the server's `outsideKept`) and **Put back the baseline's** (`{action: "put-back"}`: the applier's `putBack(out, parts)`, which writes the baseline's file (an SVG through `git restore`) or removes it, gives the first layer on the picture the baseline's file as what it found (`setHeldPart`), and applies every layer again from there) | | Moving to HEAD | `session.moveBaseline(baseline)` (`moved: {at, from}`); the server's `head()` and `revisionAt(hash)`; HEAD is read again at most once a second, so the notice follows a commit made while the tool is open. Each verdict as applied records the baseline it was judged against (`baseline`, a run's `--against` on arrival), and `reviewPictures(runs, {baseline, stale})` gives one judged against the revision of another baseline the look `baseline` until it is judged again, when `stale(out, hash)` says the picture differs between that commit and the baseline: the server's `changedBetween(a, b)`, one `git diff --name-only` per pair of commits, kept (a move to a commit that changed only code left 543 of 559 verdicts needing a look under the old rule, and 0 under this one). A move changes no file, so it is undone by moving back: `moved` records `fromHash`, and the overview's notice offers **Move back to ``** (`{action: "back"}`, the server's `baselineOf(rev)`) | | A retake's revision | `shot_review.mjs --retake` passes `--against `, so that a run judges against the session's baseline whatever HEAD is (`againstOf(run)`) | @@ -553,6 +562,52 @@ whose test commits were then thrown away with the worktree's branch: checks: `git status` and the plan) and 0.4 s at the end (`onCommit`: the session archived, the next one opened); making those asynchronous too is not worth it. +**The pages never wait on git** (owner, 2026-11-11). A run's progress on the pages came late +(about a minute late on a session of 132 pictures), and a page fetched again by hand showed it no +sooner. The server read HEAD's baseline (7 git processes) and the pictures changed from the +baseline (5 more) with `execFileSync`, at most once a second but on nearly every page drawn, since +each page in the browser fetches itself again on each update a run sends. Each read held the +server's only thread for 1 to 2 s, so the run's events waited in its pipe behind the pages. A +profile of a 60-picture replay with two pages open: 12 s of 70 in git for the overview. Now: + +| Part | Where it is | +|---|---| +| The reads | `scripts/lib/shot-git-worker.mjs`: `startGitReader({docsDir, repoRoot})` runs `head()` and `changed(baseline)`, the same sync code, in a worker thread, and answers with promises; `baselineAt(repoRoot, commit)` is shared with `shot_review.mjs` | +| The value kept | `kept(read, fallback, onChange)` in `shot-server.mjs`: serves the last value at once and reads again once it is a second old; when a read's promise gives another value, every page is told to fetch itself (`{outs: [], runs: true}`). `again()` replaces the resets: the next call reads again, and a read under way is not kept. A `head` or `changed` that answers at once (the tests') is read as before | + +The same replay afterwards: the overview drawn in 0.03 to 0.13 s during the run (0.6 s at most, +where it had taken 1.5 to 3 s), its count rising by about 16 pictures a second on the runs page, +and the run's end shown 4 s after it ended (9 s before; a minute in the earlier run). The 4 s left +is each verdict's arrival, which keeps what the picture held (`holdPicture`): its bundle is +recompressed with brotli at quality 9, about 0.1 s a picture, in the server's thread. + +**Only a page that is shown holds the event stream** (owner, 2026-11-11). With the server answering +at once, the owner's runs page still did not follow a retake, reloaded or not: the page holding +the Web Lock, and with it the one stream, was a tab behind others that Chrome had frozen, so it +passed nothing on, and every other page, a reloaded one too, waited for the lock behind it. +Closing the other tabs brought the updates back. Now a page takes the lock only while +`document.visibilityState` is "visible", gives it up when hidden, and fetches itself once when +shown again; a stream the browser has closed is opened again 2 s later, and one that comes back +after the server was away fetches every page. Checked in a browser on port 4190: a page made +hidden released the lock, nobody held it while every page was hidden, and a page shown again took +it and fetched itself; a replay's count rose on the shown page to its end; after the server was +stopped and started again, the page fetched itself and followed the next run. + +**Each page says whether it follows the runs** (owner, 2026-11-11), so that a stream that stopped +is not taken for the tool's fault. The server sends a `ping` event every 5 s (`createSseChannel`'s +`ping` in `lib/sse.mjs`, off for the builder's live reload), which the page holding the stream +passes on with the updates (`{kind: "update" | "ping" | "away"}` over the BroadcastChannel). A chip +at the foot of every page (`#live`) says **live**; **the server does not answer: connecting +again** while the stream is down; **the server has sent nothing for N s: it may be busy** on the +page that holds a stream that stays open and silent; and, on a shown page that has heard nothing for +15 s while another holds the stream, **no updates for N s: another tab of this tool held the +connection to the server and passed nothing on (a tab the browser froze?); this page has taken it +over**: it takes the lock with `steal: true`, the page it took it from closes its stream when it +runs again, and the chip says so for 20 s before **live**. Checked in a browser on port 4190: a +request that took the lock and never let go was found after 18 s and lost the lock to the page, +which then followed a replay to its end; with the server stopped the chip said so within 4 s, and +**live** again once it was back. + Nothing of the plan is left. The two small things left after step 9 are fixed: - **The manifest keeps its line endings.** `openManifest().save` wrote LF, so a manifest checked @@ -664,6 +719,79 @@ tab the IDE is still loading or saving shows a spinner in place of its close ico class is `progressSpinnerIcon`, `ide/main.js`), and `closeTabs` now waits for the icon with a MutationObserver (`tabCloseIcon`). +## One way to take pictures + +Owner, 2026-11-09, after the BETA 1042 retake: a retake from a terminal was not a run of the +session, its 111 SVGs redrawn with their PNGs unchanged never showed in the tool, and the tool's +commit left them behind. Four rules, so that nobody has to remember how the tools came to be: + +1. **Every screenshot run is a run of the session**: `shoot_docs.mjs`, `replay.mjs`, + `chromeshot.mjs --take` and `--cleanup`, typed in a terminal or started from the tool. A + terminal run hands itself to the tool when the tool is open for the checkout, and otherwise + opens the session itself (owner: open it itself, not refuse), runs the code the tool runs and + records the run. There is no mode that writes under `docs/` outside a session. Done + (2026-11-12), below. +2. **The tool shows every picture file that differs from the baseline**, PNG and SVG, light + pictures included: each is explained by what a layer of the session wrote, or shown as changed + outside the runs with Keep and Put back. Done (2026-11-09). +3. **After a commit from the tool, no picture under `docs/` differs from HEAD**: the commit takes + what a review kept, and waits for every picture changed outside the runs to be kept or put + back. Done (2026-11-09). +4. **When a picture's size changes, the tool updates its pages' `{:width height}`** in the same + commit (owner: make the edits), and a build check fails a shot whose declared size is not its + pixels' half. Done (2026-11-11), below. + +And (c), owner: **a checkout's bundle cache is filled from the main checkout's** on first use +(`git rev-parse --git-common-dir`), so that a new worktree does not redraw every SVG whose bundle +it lacks. The cache is never committed: a bundle can hold the Windows user name, and the main +checkout's is 58 MB that a retake rewrites. Done (2026-11-12): `seedBundleCache` in +`scripts/svgshot/bundle.mjs`, called through `defaultBundleCache` by `shoot_docs.mjs --svg`, +`replay.mjs`, `chromeshot.mjs` and `shot_review.mjs` whenever no `--bundles` names another cache, +once the command line has passed. It copies only when the worktree has no cache at all (one +emptied has been used), never links (writeBundle rewrites a file in place), and copies into a +folder beside it renamed into place, so a copy cut short leaves nothing that looks used. + +Order: 2 and 3, then 4, then (c), then 1. + +**Rule 1, every run a session run** (2026-11-12): + +| Part | Where it is | +|---|---| +| The run handling | `scripts/lib/shot-host.mjs`, `createRunHost`: the runs of a session, a run started (`startRun`), its events kept, its verdicts applied through the applier in the order they arrive, one per turn of the event loop, and its end once they are. The server took it out of its own body; it adds its pages' updates as callbacks | +| A tool's entry | `sessionRun` in `scripts/lib/shot-front.mjs`, called by `shoot_docs.mjs` (twice: before the clean-up block for `--cleanup`, after the IDE is found for a retake), `replay.mjs` (after the cache check) and `chromeshot.mjs` (after the revision is read): after every check that needs no IDE, so that a mistake in the command line is said as before and no run is recorded for it (`check_cli`'s 1,459 cases reach none). It returns at once when the run writes nothing under `docs/` (`--stage`, `--out` elsewhere, `--list`, `--cleanup --dry-run`, a replay's shard) or is a session's run already (`SHOT_SESSION_RUN`, which `startRun` sets in its child) | +| The tool open | `shot_review.mjs` writes `.shot-review/server.json`, `{pid, port}`, once it listens (not for `--archived`), and removes it as it closes; `openTool` takes it while its process lives. `handToTool` POSTs `{tool, args}` to `/api/terminal-run` with the tool's own Origin, then follows `/api/run//follow`: the run's log, its lines as they come, and `@@shot-exit {exit}` once its verdicts are applied. Ctrl+C posts the run's stop, a second its kill | +| The tool closed | `runHere`: the session's lock taken (a refusal names the holder), the session opened as the tool opens it, verdicts left unapplied applied, the run started through the host, its lines printed on the stream they came on, the lock given back at its end | +| The command line | `terminalRunOf` (shot-runs.mjs) keeps it as typed and adds `--against `; it refuses `--stage`, `--events`, `--diffs`, `--bundles`, `--out`, `--against-disk`, and an `--against` that is not the baseline | +| Named captures | `chromeshot.mjs ...` takes `--stage`, `--events` and `--against` too, each capture a job (named as in `chrome/shots.mjs`), so a session can run it; its file paths, `--words`, `--captures` and `--extension` are passed as full paths, since a run starts in the repository's root | + +Checked on the `tooling-1042` worktree: a replay of one picture and a `--cleanup` from a terminal each made a run of the worktree's session and applied it, `--cleanup --dry-run` made none, and `test/shot-review.test.mjs` hands a run to a server with a stand-in tool and follows it. + +**An SVG that draws the same pixels is the same picture** (owner, 2026-11-09): keep.mjs's +`sameSvgAs`, which `shoot_docs.mjs --svg`, `replay.mjs` and `chromeshot.mjs` ask before an SVG is written, draws +the SVG as diffSvg does (`renderSvg`, an `` at the device scale) beside the baseline's +(`--against`, which the tool now passes to a replay too) and then the file's, and compares them +exactly, with no tolerance (a tolerance would bring back the threshold this tool exists for). +The same as the baseline's: its bytes go back (`restoreSvg`, through git), state `restored`, which +the review counts as the session's write and groups as Only noise. The same as the file's: it +stays. A staged verdict says so (`same`: `{as: "baseline", baseline}` or `{as: "file", file}`, the +hash of the file's text), and the applier honours it only while that still holds. Measured on the +BETA 1042 retake's 108 SVGs changed outside the runs: 47 of the files drew as HEAD's; a replay +from the bundles the tool's retake had cached put back 101 (they drew HEAD's SVGs), and left 7 +for a review. + +**Rule 4, the declared sizes** (2026-11-11). `scripts/lib/shot-sizes.mjs` holds it all: + +| Part | Where it is | +|---|---| +| The size | `shownSize([w, h], scale)`, round(pixels ÷ scale); `scaleOf(entry)`, the manifest's `scale` or `SHOT_SCALE` (2, defined in `shot-manifest.mjs`). The manifest records `scale` only when it is not 2: `setBuild(out, build, scale)` sets it with the build (undefined leaves it, 2 or null removes it), `clearBuild` drops both. The fifteen pictures of program windows were backfilled from what their pages declared: twelve at 1.5 (a display at 150%), the three compiler boxes at 1 (a window unaware of the display's scaling draws at 96 DPI). `shoot_docs.mjs`'s `keep` passes its scale to `recordBuild` and to the verdict (`pngVerdict`'s `scale`), and the applier records it | +| A reference | `pictureRefs(text, page)`: an image, `![alt](src)`, whose source is a PNG, outside code (`maskCode`), with or without its attribute list; `targetOf(page, src)` resolves the source from the page's folder (from docs/ for one starting with a slash). On 2026-11-11 every one of the 331 references to a picture of the table had the form `{:width="N" height="N"}`, one with ` png` after it | +| Setting them | `withShownSizes(text, page, sizeOf)` changes only the two numbers, or adds the list to an image without one, every other character kept (CRLF too); `referenceIndex(docsRoot)` (the pages that show each picture, through `markdownFilesSync`, 0.2 to 0.5 s over the whole tree) and `syncSizes(docsRoot, outs, entry, {index, dryRun})`, for the dark pictures among `outs`, from their files | +| Who sets them | `shoot_docs.mjs` at the end of a run without `--stage`, for each dark picture new, updated or restored (`resized`, `syncPageSizes`), and after `--cleanup` for each picture put back; the review tool's applier after each change to a dark picture's file (`resize`: a layer applied or undone, a picture put back), with the index read once per applier. A page that starts showing a picture while the tool is open is not in its index until the next session: the gate finds it | +| The commit | the server's `sizedPages(outs)`, commitPlan's `pages`: for each dark PNG committed, each page whose text at the baseline (HEAD, since a commit needs the baseline to be HEAD) declares another size than the file's, and whose working copy git reports changed; the text committed is the baseline's with those sizes set, in the working file's line endings. `commitPaths(root, {contents})` writes it into the file, commits, and puts the working text back whatever git did, a copy of it kept meanwhile under `%TEMP%\shot-commit-held-*`. A page with other changes is listed under Left out as well, and its file's row says "without the page's other changes"; the message ends "their sizes set on N pages" | +| The gate | `scripts/check_shot_sizes.mjs` in `check.bat` and the `run-gates` action: every reference to a dark picture of the manifest declares `shownSize` of its file (`sizeMismatches`). It covers the manifest's pictures only, as the owner put it: 105 of the 312 dark pictures of the table once the BETA 1042 retake is in, every picture written since the manifest began. A picture that is in the table but not yet in the manifest gets an entry the next time a run writes it | + +Fixed by hand with `syncSizes` (`fix-sizes`, a scratch script): Help_Hover (881 × 492, its pixels 1778 × 990), and the FAQ's release picture (891 for 1752 px since the BETA 1034 retake), which `ide-1042`'s commit e835f0db fixes the same way. History_2, History_3 and Variables_Tooltip, which the resume note listed as 1 px off, declare their pixels' half both on `staging` and on `ide-1042`: every picture of the table but those two did on 2026-11-11, at scale 2 or its manifest's. + ## Open Nothing: the questions open after step 5 (the port, pictures changed outside the session, diff --git a/WIP.md b/WIP.md index 9a8110251..a20df180d 100644 --- a/WIP.md +++ b/WIP.md @@ -41,7 +41,7 @@ sibling. History goes nowhere: git keeps it. Reference documentation is **complete** for all thirteen packages: VBA, VBRUN, VB, WebView2, Assert, CustomControls, CEF, WinEventLogLib, WinNamedPipesLib, WinServicesLib, tbIDE, WinNativeCommonCtls and AppGlobalClassObject. It is adapted from primary sources: Microsoft VBA-Docs (CC-BY-4.0) for the runtime library, `.twin` source for the twinBASIC-specific packages. The CEF and WebView2 packages also carry a tutorial set. -Twenty-seven **contributed** packages from TWINSERV have sections under `docs/Reference/Contributed/`: ArrayListLib, DetoursLib, FileProps, Fmt, Generics, OLEGuids, WinReg, TwinTimerLib, tbFileSysTools, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_RES, TBMANLIB_Xml, tbProjPacker, tbRegExp, tsJson, tsPwGen, VBA_JSON, xCalendar, AutoCompleteLib and VBComDlg complete; BigNumberLib its main class only. TBMANLIB_ConsoleCore's console claims are checked by its test cases, each on a console screen buffer of its own with its input written by `WriteConsoleInput`; TBMANLIB_ConsoleComponents' follow the source, because the samples harness cannot capture a console. Generics (seven tuple classes) and xCalendar (one control) are each one page (owner), so `analyze` in audit mode lists their classes and members as undocumented. What xCalendar's page says it does at run time comes from `test/package-tests/xCalendar/probe/`, which runs the control on a form in a built exe. Fmt documents its test code (`HelloWorldClass`, `HelloWorldModule`, `Pootle`) in one paragraph of its landing page, which `exclude_from_docs` names; Generics' `exclude_from_docs` names its test code, `HelloWorldModule`, which the page does not mention. VBComDlg's `exclude_from_docs` names `CommonDialogBase`, and AutoCompleteLib's `AutoCompleteHandle`, each a module whose public procedures only its class calls. DetoursLib's names its demonstration module, `DetoursTest` (message boxes), which its landing page describes in a paragraph. Its test cases run in the IDE's own process, so each detours `MulDiv` of kernel32 and answers for itself only for one marked argument, passing every other call (another thread's included) to the original. `CreateDetourAtFuncAddress` does not check a *newAddress* of 0, and SlimDetours then reads address 0 inside a transaction that has the process's other threads suspended; no case tries it, since it would leave the IDE frozen, and the page states the missing check from the source alone. tbRegExp's `exclude_from_docs` names its private engine module, `StaticRegex`, and tbProjPacker's its helper modules, `modImpExp` and `modWin32`: the indexer counts a Public Enum as public even inside a Private Module, because a built-in package's are reached through its library symbol written with an asterisk (`*WinNativeCommonCtls`, as `ImlDrawConstants` says). By its bare name no such enum is reachable, in a built-in or a contributed package (TB5079 on BETA 1010). OLEGuids documents each interface's methods on the interface's page. What TBMANLIB_Dialog's pages say its dialogs do comes from `test/package-tests/TBMANLIB_Dialog/probe/`, which operates them in a built exe on a private desktop; run it again when the package's version changes. TBMANLIB_Dialog 1.1.0.0 has a page of its own for each class except cDialog, which keeps a page for each member, so `analyze` in audit mode lists the members of those one-page classes as undocumented; its `exclude_from_docs` names its test module, `TestModule`, and the seven COM interface declarations that cDialogEx calls inside (`IOleWindow`, `IModalWindow`, `IShellItem`, `IShellItemArray`, `IFileDialog`, `IFileOpenDialog`, `IFileSaveDialog`), which its landing page describes in a paragraph. cDialogEx 1.1.0.0 returns the name of the chosen file, not its path, ignores `InitialDir` and ignores a `Filter` that has no closing pipe, each documented as a WARNING. tbRegExp is the first section drafted by the doc-draft workflow ([WIP.Indexer.md](WIP.Indexer.md#draft-and-the-doc-draft-workflow)), then reviewed against the sources, the package's README and VBScript's own **RegExp** under `cscript`. tbRegExp 1.9.0.0 raises `vbObjectError + 3016` from a search that uses up its step budget and returns nothing (1.8.0.0's `SearchAborted` is gone); the budget is 10 steps for each character squared, at least 1,000,000 and at most 100,000,000, for the search of one match, and `RegExp.SearchStepLimit` replaces it with a fixed number, documented on its own page and in a section of the landing page. On the dev box (BETA 1010, win32) `\d+x` costs 2.0 × n² steps (2.002 to 2.009 for 500 to 2,000 digits), so it finishes on 7,000 digits (16 s) and raises on 10,000 (16 s); `(a+)+b` raises in 0.2 s on 30 or 300 `a` but takes 16 s on 3,000; `a*` matches 1,000,000 characters whole in about half a second. Its pattern syntax has a page of its own, `PatternSyntax.md`. Each one that is not Experimental has a chapter in the book's Packages part; the Experimental ones are left out of the book. **ArrayListLib, GdiPlus, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_Xml and WinReg are listed under Experimental Packages** (`docs/Reference/Experimental.md`, owner): ArrayListLib and WinReg do not compile on BETA 1034 (each documented from its source and a copy of it that builds; ArrayListLib's samples are compile-only, and WinReg's are not marked `check_build` at all, because under four lanes its template's compile outruns the 10 s limit: mark them again when a version of WinReg compiles; in a copy of ArrayListLib 1.6.151.1 with the arguments of its three `VSwap` calls passed `ByVal` and `LSetByVal` taking a `LongPtr`, a For Each over a list with no items fails, ToString of such a list never returns, Reverse keeps the middle pair of an even run in place and a second GetEnumerator over a list ignores its arguments; in a copy of WinReg's source with its four failing calls passed `ByVal`, ReadString, GetRegistryValueType and the first ConvertValueToString give wrong results), TBMANLIB 1.0.0.29 does not compile in a 64-bit build (TB5001 in cSubClass, where the window procedure is passed as a Long) and has many members that fail or give wrong results, TBMANLIB_ConsoleComponents cannot take a cConsole of the published TBMANLIB_ConsoleCore (it embeds a copy of it, the same package at 1.0.0.1, whose types the compiler treats as different; checked in a project made by the IDE's own import, in either order), TBMANLIB_ConsoleCore reads keys wrongly, TBMANLIB_Diagnostic cannot create its Dictionary and misplaces List items, TBMANLIB_Dialog 1.1.0.0 has classes that fail at their main task (cDialogFindReplace reports nothing, cDialogPageSetup ignores paper and orientation, cDialogEx returns names without their folder, cDialogPassword shows the password in its confirmation boxes; every defect confirmed by a second agent, owner), TBMANLIB_ListBoxHScroll 1.0.0.1 moves the thumb 20 px per arrow and one page per track click while the list box scrolls its contents by its own step, so thumb and text disagree (confirmed by a second agent, owner), TBMANLIB_Aes runs other cipher modes than the ones named (its default CBC is ECB) and fails the NIST test vectors, and TBMANLIB_Xml's parser misreads self-closing elements and entities and does not return for some malformed text (and its XPath engine reads the step `..` and `and` with `or` wrongly). TBMANLIB_Xml's `exclude_from_docs` names its test module, `mXmlTests`, which its landing page describes in a paragraph, and the five types of its XPath engine (`XPathTokenType`, `XPathAxisType`, `XPathOperator`, `XPathStep`, `XPathPredicate`), which no public member takes or returns and which the mXPath page mentions in a paragraph; tsPwGen's names its five test modules and its six internal modules, and tsJson's its test and internal modules likewise, which their landing pages describe in a paragraph each. TBMANLIB_Diagnostic's `List` page has a NOTE labelled BETA 1034 under its `SetItem` sample: in a 32-bit IDE run `Err.Description` of the error 5 that `SetItem 0` raises on a list of one item (`Dim x As New List(Of String)`) is "Automation error", while the exe, a 64-bit IDE run and VB6 give "Invalid procedure call or argument" (`bugs/list-error5-automation-text`, with its case `ListTests.SetItem_AtZeroOnOneItemList_ErrorHasTheRuntimeText`). The samples harness runs in the IDE and has no per-sample way to state output that differs from an exe's, so that sample prints `Err.Number` only and the text is in the NOTE; when the entry is retired the NOTE goes and the sample prints `Err.Description` again, with the output `5: Invalid procedure call or argument`. See *Where things live* for how a package moves between the two lists. +Twenty-seven **contributed** packages from TWINSERV have sections under `docs/Reference/Contributed/`: ArrayListLib, DetoursLib, FileProps, Fmt, Generics, OLEGuids, WinReg, TwinTimerLib, tbFileSysTools, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_RES, TBMANLIB_Xml, tbProjPacker, tbRegExp, tsJson, tsPwGen, VBA_JSON, xCalendar, AutoCompleteLib and VBComDlg complete; BigNumberLib its main class only. TBMANLIB_ConsoleCore's console claims are checked by its test cases, each on a console screen buffer of its own with its input written by `WriteConsoleInput`; TBMANLIB_ConsoleComponents' follow the source, because the samples harness cannot capture a console. Generics (seven tuple classes) and xCalendar (one control) are each one page (owner), so `analyze` in audit mode lists their classes and members as undocumented. What xCalendar's page says it does at run time comes from `test/package-tests/xCalendar/probe/`, which runs the control on a form in a built exe. Fmt documents its test code (`HelloWorldClass`, `HelloWorldModule`, `Pootle`) in one paragraph of its landing page, which `exclude_from_docs` names; Generics' `exclude_from_docs` names its test code, `HelloWorldModule`, which the page does not mention. VBComDlg's `exclude_from_docs` names `CommonDialogBase`, and AutoCompleteLib's `AutoCompleteHandle`, each a module whose public procedures only its class calls. DetoursLib's names its demonstration module, `DetoursTest` (message boxes), which its landing page describes in a paragraph. Its test cases run in the IDE's own process, so each detours `MulDiv` of kernel32 and answers for itself only for one marked argument, passing every other call (another thread's included) to the original. `CreateDetourAtFuncAddress` does not check a *newAddress* of 0, and SlimDetours then reads address 0 inside a transaction that has the process's other threads suspended; no case tries it, since it would leave the IDE frozen, and the page states the missing check from the source alone. tbRegExp's `exclude_from_docs` names its private engine module, `StaticRegex`, and tbProjPacker's its helper modules, `modImpExp` and `modWin32`: the indexer counts a Public Enum as public even inside a Private Module, because a built-in package's are reached through its library symbol written with an asterisk (`*WinNativeCommonCtls`, as `ImlDrawConstants` says). By its bare name no such enum is reachable, in a built-in or a contributed package (TB5079 on BETA 1010). OLEGuids documents each interface's methods on the interface's page. What TBMANLIB_Dialog's pages say its dialogs do comes from `test/package-tests/TBMANLIB_Dialog/probe/`, which operates them in a built exe on a private desktop; run it again when the package's version changes. TBMANLIB_Dialog 1.1.0.0 has a page of its own for each class except cDialog, which keeps a page for each member, so `analyze` in audit mode lists the members of those one-page classes as undocumented; its `exclude_from_docs` names its test module, `TestModule`, and the seven COM interface declarations that cDialogEx calls inside (`IOleWindow`, `IModalWindow`, `IShellItem`, `IShellItemArray`, `IFileDialog`, `IFileOpenDialog`, `IFileSaveDialog`), which its landing page describes in a paragraph. cDialogEx 1.1.0.0 returns the name of the chosen file, not its path, ignores `InitialDir` and ignores a `Filter` that has no closing pipe, each documented as a WARNING. tbRegExp is the first section drafted by the doc-draft workflow ([WIP.Indexer.md](WIP.Indexer.md#draft-and-the-doc-draft-workflow)), then reviewed against the sources, the package's README and VBScript's own **RegExp** under `cscript`. tbRegExp 1.9.0.0 raises `vbObjectError + 3016` from a search that uses up its step budget and returns nothing (1.8.0.0's `SearchAborted` is gone); the budget is 10 steps for each character squared, at least 1,000,000 and at most 100,000,000, for the search of one match, and `RegExp.SearchStepLimit` replaces it with a fixed number, documented on its own page and in a section of the landing page. On the dev box (BETA 1010, win32) `\d+x` costs 2.0 × n² steps (2.002 to 2.009 for 500 to 2,000 digits), so it finishes on 7,000 digits (16 s) and raises on 10,000 (16 s); `(a+)+b` raises in 0.2 s on 30 or 300 `a` but takes 16 s on 3,000; `a*` matches 1,000,000 characters whole in about half a second. Its pattern syntax has a page of its own, `PatternSyntax.md`. Each one that is not Experimental has a chapter in the book's Packages part; the Experimental ones are left out of the book. **ArrayListLib, GdiPlus, Generics, TBMANLIB, TBMANLIB_Aes, TBMANLIB_ConsoleComponents, TBMANLIB_ConsoleCore, TBMANLIB_Diagnostic, TBMANLIB_Dialog, TBMANLIB_ListBoxHScroll, TBMANLIB_Xml and WinReg are listed under Experimental Packages** (`docs/Reference/Experimental.md`, owner): Generics 1.0.0.0, the newest on TWINSERV, does not compile on BETA 1042 (owner, 2026-11-09): the WinDevLib 8.9.518.0 it embeds through WinDevLibImpl has six `Delegate Function` declarations with no `As` clause, which BETA 1042 reports as TB0003 where 1034 reported nothing, and WinDevLib's own settings make TB0003 an error; its test project went with the move (git history has it, for a version that compiles), and its `compile/` holds the six package rows beside its four compile cases. ArrayListLib and WinReg do not compile on BETA 1034 (each documented from its source and a copy of it that builds; ArrayListLib's samples are compile-only, and WinReg's are not marked `check_build` at all, because under four lanes its template's compile outruns the 10 s limit: mark them again when a version of WinReg compiles; in a copy of ArrayListLib 1.6.151.1 with the arguments of its three `VSwap` calls passed `ByVal` and `LSetByVal` taking a `LongPtr`, a For Each over a list with no items fails, ToString of such a list never returns, Reverse keeps the middle pair of an even run in place and a second GetEnumerator over a list ignores its arguments; in a copy of WinReg's source with its four failing calls passed `ByVal`, ReadString, GetRegistryValueType and the first ConvertValueToString give wrong results), TBMANLIB 1.0.0.29 does not compile in a 64-bit build (TB5001 in cSubClass, where the window procedure is passed as a Long) and has many members that fail or give wrong results, TBMANLIB_ConsoleComponents cannot take a cConsole of the published TBMANLIB_ConsoleCore (it embeds a copy of it, the same package at 1.0.0.1, whose types the compiler treats as different; checked in a project made by the IDE's own import, in either order), TBMANLIB_ConsoleCore reads keys wrongly, TBMANLIB_Diagnostic cannot create its Dictionary and misplaces List items, TBMANLIB_Dialog 1.1.0.0 has classes that fail at their main task (cDialogFindReplace reports nothing, cDialogPageSetup ignores paper and orientation, cDialogEx returns names without their folder, cDialogPassword shows the password in its confirmation boxes; every defect confirmed by a second agent, owner), TBMANLIB_ListBoxHScroll 1.0.0.1 moves the thumb 20 px per arrow and one page per track click while the list box scrolls its contents by its own step, so thumb and text disagree (confirmed by a second agent, owner), TBMANLIB_Aes runs other cipher modes than the ones named (its default CBC is ECB) and fails the NIST test vectors, and TBMANLIB_Xml's parser misreads self-closing elements and entities and does not return for some malformed text (and its XPath engine reads the step `..` and `and` with `or` wrongly). TBMANLIB_Xml's `exclude_from_docs` names its test module, `mXmlTests`, which its landing page describes in a paragraph, and the five types of its XPath engine (`XPathTokenType`, `XPathAxisType`, `XPathOperator`, `XPathStep`, `XPathPredicate`), which no public member takes or returns and which the mXPath page mentions in a paragraph; tsPwGen's names its five test modules and its six internal modules, and tsJson's its test and internal modules likewise, which their landing pages describe in a paragraph each. TBMANLIB_Diagnostic's `List` page has a NOTE labelled BETA 1034 under its `SetItem` sample: in a 32-bit IDE run `Err.Description` of the error 5 that `SetItem 0` raises on a list of one item (`Dim x As New List(Of String)`) is "Automation error", while the exe, a 64-bit IDE run and VB6 give "Invalid procedure call or argument" (`bugs/list-error5-automation-text`, with its case `ListTests.SetItem_AtZeroOnOneItemList_ErrorHasTheRuntimeText`). The samples harness runs in the IDE and has no per-sample way to state output that differs from an exe's, so that sample prints `Err.Number` only and the text is in the NOTE; when the entry is retired the NOTE goes and the sample prints `Err.Description` again, with the output `5: Invalid procedure call or argument`. See *Where things live* for how a package moves between the two lists. The rest of this file is the maintenance guide for updating existing pages or adding new ones: package surface notes, page conventions, and the integrity check. @@ -86,7 +86,7 @@ The rest of this file is the maintenance guide for updating existing pages or ad > would file the page as a *static file* and serve the raw markdown. Editors on > Windows add a BOM unasked. `lib/frontmatter.mjs` strips a leading BOM before parsing. - `docs/Reference/Built-In/tbIDE/` — IDE Extensibility package (this is the **addin SDK**). The package is type-only — it ships **public interfaces + CoClasses** that an addin DLL binds to; every implementation behind them lives in the twinBASIC IDE itself. The user-facing surface is one entry-point factory (`tbCreateCompilerAddin`) plus 23 CoClasses grouped by role: the addin contract (`AddIn`), the root API (`Host`), the loaded `Project`, the editors collection (`Editor` / `CodeEditor` / `Editors`), the virtual file system (`FileSystem` / `FileSystemItem` / `Folder` / `File`), the in-IDE UI surface (`Toolbar` / `Toolbars` / `Button` / `ToolWindow` / `ToolWindows`), the HTML DOM inside a tool window (`HtmlElement` / `HtmlElements` / `HtmlElementProperty` / `HtmlElementProperties` / `HtmlEventProperty` / `HtmlEventProperties`), the `DebugConsole`, `KeyboardShortcuts`, `Themes`, and the single concrete user-instantiable helper class `AddinTimer`. Flat layout — one page per CoClass / Class plus the index landing. -- `docs/Reference/Contributed/` — the contributed packages, one folder each, landing page `Contributed.md` beside it. **A package's landing page opens, under its H1, with `**Author:**`** (owner): the publisher TWINSERV lists (`publisher` in `indexer/.packages/manifests/contributed.json`), or the author the package's own sources name when that is someone else (VBA_JSON: Tim Hall, published by WaynePhillipsEA). Next to the author, on the same line, `**Version:**`: the version the section documents, which is its `indexed_from` and changes with it (owner). Then `**On GitHub:**` with a link, when a repository holds the package, or the library the package says it is made from; search GitHub for the package's name and the author's account, and check that the repository holds the package's code (its history too: `TBMANLIB_*` were never in woeoio's `tbman`). A landing page with one or two sections has no `* TOC` list. A class with member pages is a folder, `/index.md` at `/tB/Packages/Contributed///` with its members beside it, so a member links to its class as `(.)`; a class documented on one page is `.md`. Each package that is not Experimental is a chapter of the book's Packages part in `_book.yml`. A section's `indexed_from` is the four-part TWINSERV version, and its snapshot is under `indexer/snapshots/contributed/`. **Every NOTE and WARNING of a section is backed by test cases** in the package's test project, `test/package-tests//` (owner; [its README](test/package-tests/README.md)), and names them in a `` marker on the line above it, which `check_package_tests.mjs` in `test.bat` enforces. **A NOTE or WARNING is only for a real difference or limit** (owner): a statement that describes how the package works stays prose, tied to its cases by a region, the marker on a line of its own above it and `` after it (owner). A difference from the object the package replaces that gives a different result silently (tbRegExp's `\1(a)`, `{,m}`, `$~` against VBScript) is a NOTE, not a WARNING (owner). A case checks what is correct, not what the package does (owner): a defect is a failing case, recorded in the project's `expect.json`, so the project tells the package's author what to fix. A section whose project is not written yet is in that gate's `PENDING` set. **A package that does not compile on the newest BETA gets no test project** (owner: ArrayListLib, WinReg): it stays in `PENDING` until a version of it compiles, and a `compile/` folder alone names the rows that refuse it, so its "does not compile" is checked. One that compiles for one architecture only is tested on that one (owner: TBMANLIB, win32; `arches` in its `expect.json`, test/package-tests/README.md), with a compile case for the other. A case that the IDE's own process would change goes in the package folder's `exe/`, which `package_tests.mjs` runs in a built exe (GdiPlus: the IDE has started GDI+; TBMANLIB: an HTTPS server of its own). `package-tests.bat` runs the cases; a case it reports *fixed* means the callout goes. **The landing page ends, after See Also, with `## Test cases`**: one or two sentences linking to `-tests.twinproj` (owner), which the build publishes beside the section without the package's code in it (owner; one exception, owner: TBMANLIB_ConsoleComponents' project carries verbatim copies of seven of its component files, in `Sources/ComponentSources/`, because the package's own components cannot be given a console object, and its drawing can be checked only on the copies): it references the package as a linked package, which the reader puts in `%APPDATA%\twinBASIC\packages` ([WIP.PackageTests.md](WIP.PackageTests.md)). Its samples compile in the `contributed-` sample template, whose `Settings` names the package's version: **change that version with `indexed_from`** ([WIP.ExamplesBuild.md](WIP.ExamplesBuild.md#template-projects)). **A contributed package is documented and its samples compiled against the newest twinBASIC BETA installed, never an older one** (owner): the version that matters is the package's, and a statement about the compiler (such as "does not compile on BETA 1010") names that newest build. **A contributed package that does not compile on that build, or has defects that a program would meet, is listed under Experimental Packages** (owner); a minor defect that the section documents does not make it Experimental (owner: VBComDlg, whose Replace All raises no event, stays Contributed; owner: nor does a fixed limit that the section states at the top of its landing page; owner: tsJson 1.0.15.0 stays Contributed, its defects confirmed by a second agent and each stated in a WARNING with a way round it; owner: xCalendar 1.0.17.0 moved back to Contributed once its text colours worked on BETA 1034, its grid and edge-press defects stated in a WARNING). **A package moves from Contributed to Experimental for its defects only after a separate agent has reproduced each defect independently** and ruled out misuse, a wrong expectation, a twinBASIC defect and the harness (owner): `docs/Reference/Experimental.md`, at `/tB/Packages/Experimental/`, after Contributed Packages. Its landing page's `parent:` is `Experimental Packages`, its line is in `Experimental.md` and not in `Contributed.md`, and it has no chapter in the PDF book (owner: the book is for packages ready for use in a program): its entry is in `left_out:` of `docs/_book.yml`, in the list of Experimental packages, and the Experimental Packages page is left out with it. Its folder and URLs stay under `Contributed/`, so a package that is fixed moves back by changing only those three and the book (its entry leaves `left_out:` and its chapter is added after VBComDlg's), and its pages keep their addresses. A link from a book page to a left-out one opens the website. +- `docs/Reference/Contributed/` — the contributed packages, one folder each, landing page `Contributed.md` beside it. **A package's landing page opens, under its H1, with `**Author:**`** (owner): the publisher TWINSERV lists (`publisher` in `indexer/.packages/manifests/contributed.json`), or the author the package's own sources name when that is someone else (VBA_JSON: Tim Hall, published by WaynePhillipsEA). Next to the author, on the same line, `**Version:**`: the version the section documents, which is its `indexed_from` and changes with it (owner). Then `**On GitHub:**` with a link, when a repository holds the package, or the library the package says it is made from; search GitHub for the package's name and the author's account, and check that the repository holds the package's code (its history too: `TBMANLIB_*` were never in woeoio's `tbman`). A landing page with one or two sections has no `* TOC` list. A class with member pages is a folder, `/index.md` at `/tB/Packages/Contributed///` with its members beside it, so a member links to its class as `(.)`; a class documented on one page is `.md`. Each package that is not Experimental is a chapter of the book's Packages part in `_book.yml`. A section's `indexed_from` is the four-part TWINSERV version, and its snapshot is under `indexer/snapshots/contributed/`. **Every NOTE and WARNING of a section is backed by test cases** in the package's test project, `test/package-tests//` (owner; [its README](test/package-tests/README.md)), and names them in a `` marker on the line above it, which `check_package_tests.mjs` in `test.bat` enforces. **A NOTE or WARNING is only for a real difference or limit** (owner): a statement that describes how the package works stays prose, tied to its cases by a region, the marker on a line of its own above it and `` after it (owner). A difference from the object the package replaces that gives a different result silently (tbRegExp's `\1(a)`, `{,m}`, `$~` against VBScript) is a NOTE, not a WARNING (owner). A case checks what is correct, not what the package does (owner): a defect is a failing case, recorded in the project's `expect.json`, so the project tells the package's author what to fix. A section whose project is not written yet is in that gate's `PENDING` set. **A package that does not compile on the newest BETA gets no test project** (owner: ArrayListLib, WinReg, Generics): it stays in `PENDING` until a version of it compiles, and a `compile/` folder alone names the rows that refuse it, so its "does not compile" is checked. One that compiles for one architecture only is tested on that one (owner: TBMANLIB, win32; `arches` in its `expect.json`, test/package-tests/README.md), with a compile case for the other. A case that the IDE's own process would change goes in the package folder's `exe/`, which `package_tests.mjs` runs in a built exe (GdiPlus: the IDE has started GDI+; TBMANLIB: an HTTPS server of its own). `package-tests.bat` runs the cases; a case it reports *fixed* means the callout goes. **The landing page ends, after See Also, with `## Test cases`**: one or two sentences linking to `-tests.twinproj` (owner), which the build publishes beside the section without the package's code in it (owner; one exception, owner: TBMANLIB_ConsoleComponents' project carries verbatim copies of seven of its component files, in `Sources/ComponentSources/`, because the package's own components cannot be given a console object, and its drawing can be checked only on the copies): it references the package as a linked package, which the reader puts in `%APPDATA%\twinBASIC\packages` ([WIP.PackageTests.md](WIP.PackageTests.md)). Its samples compile in the `contributed-` sample template, whose `Settings` names the package's version: **change that version with `indexed_from`** ([WIP.ExamplesBuild.md](WIP.ExamplesBuild.md#template-projects)). **A contributed package is documented and its samples compiled against the newest twinBASIC BETA installed, never an older one** (owner): the version that matters is the package's, and a statement about the compiler (such as "does not compile on BETA 1010") names that newest build. **A contributed package that does not compile on that build, or has defects that a program would meet, is listed under Experimental Packages** (owner); a minor defect that the section documents does not make it Experimental (owner: VBComDlg, whose Replace All raises no event, stays Contributed; owner: nor does a fixed limit that the section states at the top of its landing page; owner: tsJson 1.0.15.0 stays Contributed, its defects confirmed by a second agent and each stated in a WARNING with a way round it; owner: xCalendar 1.0.17.0 moved back to Contributed once its text colours worked on BETA 1034, its grid and edge-press defects stated in a WARNING). **A package moves from Contributed to Experimental for its defects only after a separate agent has reproduced each defect independently** and ruled out misuse, a wrong expectation, a twinBASIC defect and the harness (owner). **Before any package moves to Experimental, for its defects or because it does not compile, its section is updated to the newest version on TWINSERV** (owner, 2026-11-09): `node indexer/twin-index.mjs sync --package ` gives that version; a newer one is documented first (its pages, `indexed_from`, snapshot, sample template and test project), and the move goes ahead only if the newest version still has the defects or still does not compile. The move itself: `docs/Reference/Experimental.md`, at `/tB/Packages/Experimental/`, after Contributed Packages. Its landing page's `parent:` is `Experimental Packages`, its line is in `Experimental.md` and not in `Contributed.md`, and it has no chapter in the PDF book (owner: the book is for packages ready for use in a program): its entry is in `left_out:` of `docs/_book.yml`, in the list of Experimental packages, and the Experimental Packages page is left out with it. Its folder and URLs stay under `Contributed/`, so a package that is fixed moves back by changing only those three and the book (its entry leaves `left_out:` and its chapter is added after VBComDlg's), and its pages keep their addresses. A link from a book page to a left-out one opens the website. - `docs/Downloads/index.md` — the Downloads page, `/Downloads`, a top-level page at `nav_order: 4` and in `_book.yml`'s `left_out:`. **Every file the documentation publishes for readers has a card or a row there**, and the page that documents it keeps its own link (owner). Cards are `
` inside `
` (styles at the end of `custom.scss`), with the theme's `.btn` for each file. The release job publishes every same-site link on the built page that has the `download` attribute, beside the zip and the PDF, so a new download needs no change to the workflow. `{{tbdocs:size:}}` gives a published file's size and `{{tbdocs:packageTestRows}}` the test projects' rows, both expanded before render; the help add-in's size is prose ("about 61 MB" since the pre-built search index, October 2026; it is also on the Help Add-In page, with the archive's "about 60 MB"), because its project embeds the offline tree, this page included, so it cannot be known before render. The PDF's release URL spells it `twinBASIC.Book.pdf`: GitHub turns the space into a dot, and the spaced name 404s. The footer's **Read Offline** link (`read_offline_link` in `_config.yml`) goes to the page's `#read-offline`. - `docs/Reference/Data-Types.md` and `docs/Reference/Data-Types/.md` — the intrinsic data types (owner, 2026-10-18): one page per type at `/tB/Core/` (`parent: Data Types`, `grand_parent: Reference Section`, since the Features page *New Data Types* has the same title), and the summary page, `/Reference/Data-Types`, with one `## ` section per type that links to it. The summary's `symbols:` names the types, and the symbol index points each at its section (kind `type`, the one URL outside `/tB/`), so keep those headings' text. `Long.md` is the model page. - `docs/Reference/Statements.md` — alphabetical index of language statements. @@ -583,7 +583,7 @@ Why the report separates the wedged task from the merely blocked ones, and why - `build.bat` — runs `node builder\tbdocs.mjs --src docs --check-audit-index` (which implies `--check`) and produces three trees in one pass: the online copy at `_site/`, a `file://`-browsable copy at `_site-offline/`, and the sparse pagedjs source at `_site-pdf/`. The offline pass adds ~700 ms and the PDF pass adds ~150 ms on top of the ~2 s online build. Toggle `also_build_offline` / `also_build_pdf` in `_config.yml` (or pass `--no-offline` / `--no-pdf`) to skip a sibling output. `--check` adds ~1.7 s and runs the link + integrity check over the HTML while it is still in worker memory; `build.bat --no-check` gets a plain build. A build also writes the help add-in's archive, `add-in/Resources/HELP/site.zip` (see the help-archive bullet below); `--no-help-archive` skips it, and CI never passes it. - `serve.bat` — runs `tbdocs --serve`: initial build, then a long-lived process with watcher, debounced rebuilds, and SSE-driven browser auto-reload. Writes to `docs/_serve/` (disjoint from `build.bat`'s `_site*/`) and skips the offline + PDF passes — so a one-off `build.bat` for the PDF or offline mirror doesn't disturb the live preview. Ctrl+C to stop. -- `check.bat` — the gates that read the built site: a freshness check that refuses a stale tree (`scripts/check_tree_fresh.mjs`), the DOT diagram fit check (`scripts/check_dot_fit.mjs`), the a11y sample-coverage check (`scripts/pick_a11y_sample.mjs --check`), then the accessibility check (`scripts/check_a11y.mjs`). The link + integrity check runs in `build.bat`. ~37 s. +- `check.bat` — the gates that read the built site: a freshness check that refuses a stale tree (`scripts/check_tree_fresh.mjs`), the DOT diagram fit check (`scripts/check_dot_fit.mjs`), the a11y sample-coverage check (`scripts/pick_a11y_sample.mjs --check`), the accessibility check (`scripts/check_a11y.mjs`), then the screenshot-size check (`scripts/check_shot_sizes.mjs`), which reads the pages, not the built site. The link + integrity check runs in `build.bat`. ~37 s. - `test.bat` — the tests the *toolchain* has to pass: the publish-allowlist self-test (`scripts/check_publish_policy.mjs`), the gate-list check (`scripts/check_gate_lists.mjs`), the CI-workflow roster check (`scripts/check_ci_workflows.mjs`), the lint gate (`scripts/check_lint.mjs`), the site-search unit tests (`node --test test/search.test.mjs`), the split search-index build against lunr's own (`node --test test/search-index.test.mjs`), the markdown-plugin unit tests (`node --test test/render.test.mjs`), the date-formatter unit tests (`node --test test/strftime.test.mjs`), the bug-reproducer picture tests (`node --test test/png.test.mjs`), the embedded-image tests (`node --test test/compact-image.test.mjs`), the SVG screenshots' one-line test (`node --test test/svgshot.test.mjs`), the screenshot review tool's tests (`node --test test/shot-review.test.mjs`), `check_examples.mjs`'s probes (`node --test test/example-batches.test.mjs`), the IDE-folder unit tests (`node --test test/ide-folders.test.mjs`), the broker tests (`node --test test/broker.test.mjs`, skipped unless `TBBROKER_EXE` names a built broker), the add-in project-file tests (`node --test test/addin-project.test.mjs`), the package-indexer tests (`node --test test/indexer.test.mjs`), the IDE `main.js` tool's tests (`node --test test/ide-js.test.mjs`), the regex-safety gate (`scripts/check_regex_safety.mjs`), the code-region gate (`scripts/check_code_regions.mjs`), the page-count drift-guard probes (`scripts/check_page_baseline.mjs`), the book-coverage probes (`scripts/check_book_coverage.mjs`), the package-test markers and projects (`scripts/check_package_tests.mjs`), the evidence markers of labelled callouts (`scripts/check_callout_evidence.mjs`), the symbol-index probes (`scripts/check_symbol_index.mjs`), the twinBASIC-scanner probes (`scripts/check_twin_parsers.mjs`), the attribute-sweep probes (`scripts/check_attribute_sweep.mjs`), the command-line probes and cases (`scripts/check_cli.mjs`), the pdf-lib shim comparison (`scripts/check_pdf_shims_equiv.mjs`), the impexp parity check (`scripts/check_impexp_parity.mjs`), and the axe source-patch verification (`scripts/check_axe_patch_equiv.mjs`). ~23 s, of which the regex-safety gate is ~10 s and the impexp check ~4 s. See [What belongs in test.bat rather than check.bat](WIP.Build.md#what-belongs-in-testbat-rather-than-checkbat). - `book.bat` — renders the PDF from `docs\_site-pdf\book.html` via `node book\render-book.mjs` into `docs\_pdf\twinBASIC Book.pdf`. Run `build.bat` first to populate `_site-pdf/`; `book.bat` refuses a tree older than its sources rather than rendering the previous book (see [The book refuses a stale source tree](WIP.Build.md#the-book-refuses-a-stale-source-tree)). @@ -592,7 +592,7 @@ Why the report separates the wedged task from the merely blocked ones, and why - `addin-test.bat` — tests IDE add-ins by operating an IDE: every lane in `test/addin/lanes.mjs` builds the add-ins it tests into a private copy of the install, opens a project and checks what the add-in does. Outside every gate and outside CI for the same reasons as `examples.bat`; the eighteen lanes: Samples 10 and 15, the fourteen probe lanes behind the answers in [WIP.HelpAddin.md](WIP.HelpAddin.md) (`keys-help` is `keys` with the help add-in loaded), and the help add-in in `add-in/` twice, built with its committed copy of the symbol index, `add-in/Resources/SYMBOLS/symbols.json`, which a local build rewrites whenever the index changes. The `help` lane serves the built `docs/_site` on localhost to the add-in's pane; `help-offline` builds the add-in with a help archive of `docs/_site-offline` and the pane's pages come from the add-in's own server. So run `build.bat` first. Exit 0 every lane passed and the registry is as it was found, 1 a lane failed, 2 the harness failed, 3 the registry or a work folder was not put back. See [Driving the twinBASIC compiler](#driving-the-twinbasic-compiler) for its rules. - `ide-test.bat` --- the same runner for scenarios that operate the IDE itself rather than an add-in: every lane in `test/ide/lanes.mjs`. Same exit codes, same standing outside every gate and outside CI, same rules. - `try-help-addin.bat` --- opens one IDE on the user's desktop with the help add-in built and loaded, to try it by hand, and puts the registry back once it is closed (see [Driving the twinBASIC compiler](#driving-the-twinbasic-compiler)). Needs `build.bat` first. Exit 0 closed and put back, 1 the add-in or the project did not compile, 2 the tool could not run, 3 not put back. -- `node scripts/shoot_docs.mjs` --- writes the documentation's IDE screenshots (plan and owner's decisions: [WIP.Screenshots.md](WIP.Screenshots.md)). Each picture is a shot in a table, `out` its path under `docs/` (`--only` matches it), in a setup (the main three below; the full list is in WIP.Screenshots.md), each one IDE on a **private** desktop started only when a shot in it is selected: `help` (builds the add-in as `try-help-addin.bat` does, opens `test/addin/helpdemo`, `TB_DOCS_HELP_REAL_TITLEBAR=0`: the nine `docs/IDE/AddIns/Images/Help_.png`), `no-project` (`Lane.openNoProject` with `includeProjects`: the menus, cut out with alpha, the dialogs that need no project, and the empty panels, each floated on its own, after the dialogs) and `project` (the demo without the add-in: About, which needs the compiler's licence answer, and IDE Options, whose font lists need a project). One setup is not an IDE: `web` starts puppeteer's Chrome through `launchOnDesktop` on a private desktop of its own (never headless, never on the user's desktop; native-window occlusion and occluded-window backgrounding switched off, or a capture waits forever or comes back blank) for the two public pages the FAQ shows, taken once; it needs the network, as do `webpage` (the Webpage pane on `https://docs.twinbasic.com/`, its page frozen from the pane's own DevTools target and shown in a frame of the IDE's page at the pane's place, as Help_Window's docs frame is shown by srcdoc, so that the SVG can draw both: `scripts/lib/shot-freeze.mjs`) and the package-server setups, which never publish. Every IDE gets `--force-device-scale-factor=1` (`Lane`'s `browserArgs`), else the page follows the display's scaling; the page is overridden to 1280x880 at 2x, and `PAGE_DEFAULTS` puts the IDE's options, panel layouts and keyboard groups to their defaults and the recent lists to the tool's own **in the page only**, nothing written because the IDE has `IDE_FLAGS` (the one recent-list call they do not guard, `RemoveRecentsList`, is replaced first). Each picture is a `Page.captureScreenshot` with a `clip`; a page showing it gives it `{:width height}` of half its pixel size. **Every picture is taken in two themes by one IDE**: dark as `X.png`, then, after `backToPrepared` and `tbTheme_SwitchToLightMode`, Light (not Classic) as `X.light.png` beside it, which the build pairs by name ([WIP.Build.md](WIP.Build.md#pictures-in-two-themes)); a light picture with the dark one's pixels is not kept, and one more than 32 device pixels off the dark one's size fails (a wrong state, not the theme). So does a picture whose two themes say different things (`themeTextDifference`, `scripts/lib/shot-policy.mjs`): the page's text inside the clip is read at each pass's capture, white space ignored, and text one theme shows whole and the other shows none of fails it, naming the words on each side, with or without `--svg`, so that a line cut by the clip's edge is no difference; a shot whose text must differ names the words in `themeWords`. A label's pill follows the theme unless the shot names a `tone`. A shot's `annotate` list (arrows, rings, badges...) is drawn by `scripts/svgshot/annotate.mjs` as one SVG layer over the page before the capture and removed after it, the clip growing to hold it. A picture is rewritten only when its bytes differ, and a second run reports every one `unchanged`; a capture is not byte-stable, so `capture` captures back to back, with no rest, until one equals the file on disk or two agree, and, when the two that agree are not the file, goes on capturing further apart, for 5.5 s at most, until one is, keeping the last two that agreed, and a picture that differs from the file only by a capture's noise (16 grey levels, 0.5% of its pixels) is left as it is. **The reference is the picture at git `HEAD` first, then the file** (owner): compared with the file alone, a picture drifted from `HEAD` over the runs of one retake, each step within noise of the file before it. A capture equal to or within noise of `HEAD`'s picture leaves the file as `HEAD` has it, its SVG too (`HEAD`'s, or none), reported `restored` when it held anything else; one that is not, but is within noise of the file, leaves the file (an earlier run's real change); a picture `HEAD` lacks is compared with the file only (`pictureFate`, `scripts/lib/shot-revision.mjs`; the run's pictures at `HEAD` read in one `git cat-file --batch`). `--against ` takes another revision, `--against-disk` the file only. **`--cleanup`** (`--dry-run` to list) starts no IDE: it resets every PNG git reports modified that is within noise of `HEAD`'s, with its SVG, so that only real changes stay; one noise rule, `withinNoise` in `scripts/lib/shot-change.mjs`, for the capture, `--cleanup` and the review tool. **The manifest, `test/shots/manifest.json`** (`scripts/lib/shot-manifest.mjs`; [WIP.ShotReview.md](WIP.ShotReview.md#remembered-overrides)), records the build of each picture a run writes, and holds each picture's allowances (its noise rule's limits and rectangles left out, its SVG's bar) and a review's decisions, each tied to the bytes it was made on; `decidePicture` and `decideSvg` (`scripts/lib/shot-policy.mjs`) judge with them, in a run, in `--cleanup` and in `replay.mjs`, so a run from a terminal and one from the review tool come out the same. It is read and written only for the default `--out`. **`--stage `** (a new or empty folder git ignores) writes nothing under `docs/`, to the bundle cache or to the manifest, and puts each capture, its SVG, bundle, difference pictures, strength maps and verdict there (`scripts/lib/shot-stage.mjs`), for the review tool to apply; **`--events`** prints a `@@shot-event` line per event, and then a line `stop` on stdin ends the run as at its normal end; `replay.mjs` takes both ([WIP.ShotReview.md](WIP.ShotReview.md#runs)). `--jobs N` (default 6) runs the setups at once, each in a slot of its own from `tbbroker`, a full run with `--svg` in about 12 minutes on BETA 1010 (`--jobs 1`: one at a time); `--diffs ` writes the old picture, the new one and an amplified difference map for each that changed, named with its theme. Settle by a condition, never a fixed sleep, and a picture that shows some state sets it itself rather than relying on the shots before it. The page's animations and carets are switched off through a style sheet put into the document and every shadow root; a picture that holds DEBUG CONSOLE lines has their times (and a CodeLens run's time taken) set in the page once the real ones show. **A running program's window** (setup `programs`, fixture `test/shots/programs`) is taken **once** (`once: true`, the dark pass only) with `captureWindow`, cropped to its visible frame, at the display's DPI, shown at its size at 96 DPI; its shot says `window: true` in the table, and a shot whose take and table disagree fails. **`--list`** starts no IDE: it prints the table as one line of JSON (`[{out, setup, once, window}]`), which the review tool's page of every picture reads. **The Windows user name must never be in a published picture**: the visible text of the page, text boxes included, is searched for it before the first capture and again when a capture is chosen, with the picture's SVG under `--svg` (a page can draw again in between: Project Settings puts a real path back over the one the shot set), and for a program's window the texts of the window and its children, and the run fails when it is there. **A path a picture shows on the tool's own folder is virtual** (owner): the real folder is `.claude\tbshots` (`PACKAGE_ROOT`, gitignored, removed at the end of a run), every picture shows it as `C:\tbshots`, which is never created, and `scripts/lib/shot-root.mjs` rewrites it in the page from the moment the lane attaches, with the same kind of guard as the user name's. The tool finds each name it presses F1 on by searching the demo's source, not by line. The add-in's detached window has a port from the broker (the help setup's slot carries one), since the add-in is told it before it binds it. **`--svg`** also draws each picture as SVG from the page as it stands at the capture (`scripts/svgshot/`: a DOM snapshot converted, its text set in per-picture subsets of the fonts the IDE drew it with, cut by `scripts/subset_font.py`, which needs Python with fontTools), compares it with the PNG, and writes `X.svg` or `X.light.svg` beside it only when no more than 0.25% of its pixels are far off; otherwise an older SVG is removed and the page shows the PNG; the SVG of a picture whose PNG is not rewritten stays as it is, with its bundle, unless a review accepts the new one (owner), but its bundle goes to the cache when the SVG drawn is the file's to the byte (owner, `bundleFollowsSvg`), and the SVG is written with it when the cached bundle cannot draw the picture again (owner, `staleBundle`) ([WIP.Build.md](WIP.Build.md#pictures-as-svg)). With `--svg` each picture's *bundle*, what its SVG is drawn from, is saved in the gitignored `.svgshot-bundles/` (`--bundles`; never under `docs/`, a bundle holds the user name), and **after a change to the converter, `node scripts/svgshot/replay.mjs` draws every SVG again from the bundles, with no IDE**, in about 20 s for the 370 (an SVG the same as its file is not compared again, `--recheck` compares all; the fonts' cuts are kept in `.svgshot-bundles/subsets/`; one browser per process, GPU off); it lists the pictures whose bundle cannot answer what the converter now asks, with the `--only` command that retakes them ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). `node scripts/svgshot/bench.mjs` tests the converter's replicas of what Chromium draws outside the DOM (scrollbars, drop-down lists) in Edge, with no IDE ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). No wrapper; outside every gate and outside CI, as `try-help-addin.bat` is. Exit 0 every picture written or unchanged, 1 a picture failed, 2 the tool could not run, 3 not put back. Run `build.bat` first. +- `node scripts/shoot_docs.mjs` --- writes the documentation's IDE screenshots (plan and owner's decisions: [WIP.Screenshots.md](WIP.Screenshots.md)). **A run that would write under `docs/` is a run of the review session** (owner; `scripts/lib/shot-front.mjs`, [WIP.ShotReview.md](WIP.ShotReview.md#one-way-to-take-pictures), rule 1), and so is one of `replay.mjs` and `chromeshot.mjs`: typed in a terminal, it is handed to `shot_review.mjs` when that is open for the checkout and followed there, else the terminal's process opens the session and runs it as the tool would, staged, its verdicts applied as they arrive; it refuses `--diffs`, `--bundles` and `--against-disk`, which only `--out` elsewhere or `--stage` take. Each picture is a shot in a table, `out` its path under `docs/` (`--only` matches it), in a setup (the main three below; the full list is in WIP.Screenshots.md), each one IDE on a **private** desktop started only when a shot in it is selected: `help` (builds the add-in as `try-help-addin.bat` does, opens `test/addin/helpdemo`, `TB_DOCS_HELP_REAL_TITLEBAR=0`: the nine `docs/IDE/AddIns/Images/Help_.png`), `no-project` (`Lane.openNoProject` with `includeProjects`: the menus, cut out with alpha, the dialogs that need no project, and the empty panels, each floated on its own, after the dialogs) and `project` (the demo without the add-in: About, which needs the compiler's licence answer, and IDE Options, whose font lists need a project). One setup is not an IDE: `web` starts puppeteer's Chrome through `launchOnDesktop` on a private desktop of its own (never headless, never on the user's desktop; native-window occlusion and occluded-window backgrounding switched off, or a capture waits forever or comes back blank) for the two public pages the FAQ shows, taken once; it needs the network, as do `webpage` (the Webpage pane on `https://docs.twinbasic.com/`, its page frozen from the pane's own DevTools target and shown in a frame of the IDE's page at the pane's place, as Help_Window's docs frame is shown by srcdoc, so that the SVG can draw both: `scripts/lib/shot-freeze.mjs`) and the package-server setups, which never publish. Every IDE gets `--force-device-scale-factor=1` (`Lane`'s `browserArgs`), else the page follows the display's scaling; the page is overridden to 1280x880 at 2x, and `PAGE_DEFAULTS` puts the IDE's options, panel layouts and keyboard groups to their defaults and the recent lists to the tool's own **in the page only**, nothing written because the IDE has `IDE_FLAGS` (the one recent-list call they do not guard, `RemoveRecentsList`, is replaced first). Each picture is a `Page.captureScreenshot` with a `clip`; a page showing it gives it `{:width height}` of half its pixel size. **Every picture is taken in two themes by one IDE**: dark as `X.png`, then, after `backToPrepared` and `tbTheme_SwitchToLightMode`, Light (not Classic) as `X.light.png` beside it, which the build pairs by name ([WIP.Build.md](WIP.Build.md#pictures-in-two-themes)); a light picture with the dark one's pixels is not kept, and one more than 32 device pixels off the dark one's size fails (a wrong state, not the theme). So does a picture whose two themes say different things (`themeTextDifference`, `scripts/lib/shot-policy.mjs`): the page's text inside the clip is read at each pass's capture, white space ignored, and text one theme shows whole and the other shows none of fails it, naming the words on each side, with or without `--svg`, so that a line cut by the clip's edge is no difference; a shot whose text must differ names the words in `themeWords`. A label's pill follows the theme unless the shot names a `tone`. A shot's `annotate` list (arrows, rings, badges...) is drawn by `scripts/svgshot/annotate.mjs` as one SVG layer over the page before the capture and removed after it, the clip growing to hold it. A picture is rewritten only when its bytes differ, and a second run reports every one `unchanged`; a capture is not byte-stable, so `capture` captures back to back, with no rest, until one equals the file on disk or two agree, and, when the two that agree are not the file, goes on capturing further apart, for 5.5 s at most, until one is, keeping the last two that agreed, and a picture that differs from the file only by a capture's noise (16 grey levels, 0.5% of its pixels) is left as it is. **The reference is the picture at git `HEAD` first, then the file** (owner): compared with the file alone, a picture drifted from `HEAD` over the runs of one retake, each step within noise of the file before it. A capture equal to or within noise of `HEAD`'s picture leaves the file as `HEAD` has it, its SVG too (`HEAD`'s, or none), reported `restored` when it held anything else; one that is not, but is within noise of the file, leaves the file (an earlier run's real change); a picture `HEAD` lacks is compared with the file only (`pictureFate`, `scripts/lib/shot-revision.mjs`; the run's pictures at `HEAD` read in one `git cat-file --batch`). `--against ` takes another revision, `--against-disk` the file only. **`--cleanup`** (`--dry-run` to list) starts no IDE: it resets every PNG git reports modified that is within noise of `HEAD`'s, with its SVG, so that only real changes stay; one noise rule, `withinNoise` in `scripts/lib/shot-change.mjs`, for the capture, `--cleanup` and the review tool. **The manifest, `test/shots/manifest.json`** (`scripts/lib/shot-manifest.mjs`; [WIP.ShotReview.md](WIP.ShotReview.md#remembered-overrides)), records the build of each picture a run writes, and holds each picture's allowances (its noise rule's limits and rectangles left out, its SVG's bar) and a review's decisions, each tied to the bytes it was made on; `decidePicture` and `decideSvg` (`scripts/lib/shot-policy.mjs`) judge with them, in a run, in `--cleanup` and in `replay.mjs`, so a run from a terminal and one from the review tool come out the same. It is read and written only for the default `--out`. **`--stage `** (a new or empty folder git ignores) writes nothing under `docs/`, to the bundle cache or to the manifest, and puts each capture, its SVG, bundle, difference pictures, strength maps and verdict there (`scripts/lib/shot-stage.mjs`), for the review tool to apply; **`--events`** prints a `@@shot-event` line per event, and then a line `stop` on stdin ends the run as at its normal end; `replay.mjs` takes both ([WIP.ShotReview.md](WIP.ShotReview.md#runs)). `--jobs N` (default 6) runs the setups at once, each in a slot of its own from `tbbroker`, a full run with `--svg` in about 12 minutes on BETA 1010 (`--jobs 1`: one at a time); `--diffs ` writes the old picture, the new one and an amplified difference map for each that changed, named with its theme. Settle by a condition, never a fixed sleep, and a picture that shows some state sets it itself rather than relying on the shots before it. The page's animations and carets are switched off through a style sheet put into the document and every shadow root; a picture that holds DEBUG CONSOLE lines has their times (and a CodeLens run's time taken) set in the page once the real ones show. **A running program's window** (setup `programs`, fixture `test/shots/programs`) is taken **once** (`once: true`, the dark pass only) with `captureWindow`, cropped to its visible frame, at the display's DPI, shown at its size at 96 DPI; its shot says `window: true` in the table, and a shot whose take and table disagree fails. **`--list`** starts no IDE: it prints the table as one line of JSON (`[{out, setup, once, window}]`), which the review tool's page of every picture reads. **The Windows user name must never be in a published picture**: the visible text of the page, text boxes included, is searched for it before the first capture and again when a capture is chosen, with the picture's SVG under `--svg` (a page can draw again in between: Project Settings puts a real path back over the one the shot set), and for a program's window the texts of the window and its children, and the run fails when it is there. **A path a picture shows on the tool's own folder is virtual** (owner): the real folder is `.claude\tbshots` (`PACKAGE_ROOT`, gitignored, removed at the end of a run), every picture shows it as `C:\tbshots`, which is never created, and `scripts/lib/shot-root.mjs` rewrites it in the page from the moment the lane attaches, with the same kind of guard as the user name's. The tool finds each name it presses F1 on by searching the demo's source, not by line. The add-in's detached window has a port from the broker (the help setup's slot carries one), since the add-in is told it before it binds it. **`--svg`** also draws each picture as SVG from the page as it stands at the capture (`scripts/svgshot/`: a DOM snapshot converted, its text set in per-picture subsets of the fonts the IDE drew it with, cut by `scripts/subset_font.py`, which needs Python with fontTools), compares it with the PNG, and writes `X.svg` or `X.light.svg` beside it only when no more than 0.25% of its pixels are far off; otherwise an older SVG is removed and the page shows the PNG; the SVG of a picture whose PNG is not rewritten stays as it is, with its bundle, unless a review accepts the new one (owner), but its bundle goes to the cache when the SVG drawn is the file's to the byte (owner, `bundleFollowsSvg`), and the SVG is written with it when the cached bundle cannot draw the picture again (owner, `staleBundle`) ([WIP.Build.md](WIP.Build.md#pictures-as-svg)). With `--svg` each picture's *bundle*, what its SVG is drawn from, is saved in the gitignored `.svgshot-bundles/` (`--bundles`; never under `docs/`, a bundle holds the user name), and **after a change to the converter, `node scripts/svgshot/replay.mjs` draws every SVG again from the bundles, with no IDE**, in about 20 s for the 370 (an SVG the same as its file is not compared again, `--recheck` compares all; the fonts' cuts are kept in `.svgshot-bundles/subsets/`; one browser per process, GPU off); it lists the pictures whose bundle cannot answer what the converter now asks, with the `--only` command that retakes them ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). `node scripts/svgshot/bench.mjs` tests the converter's replicas of what Chromium draws outside the DOM (scrollbars, drop-down lists) in Edge, with no IDE ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). No wrapper; outside every gate and outside CI, as `try-help-addin.bat` is. Exit 0 every picture written or unchanged, 1 a picture failed, 2 the tool could not run, 3 not put back. Run `build.bat` first. - **The six GitHub pictures of `Documentation/Building.md` are taken by the Chrome extension in `scripts/svgshot/` and by no session** (owner: only the owner signs in to GitHub; no session opens a pull request, posts anything on GitHub or uses the owner's account); `node scripts/svgshot/chromeshot.mjs ` turns what it saves into `X.png`, `X.light.png`, their SVGs and their bundles, a capture of the whole window trimmed first to the area `chrome/shots.mjs` names (`trim.mjs`), and `chrome_try.mjs` tries the extension on a public page in a Chrome of its own ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-from-a-signed-in-chrome)). **The folder `scripts/svgshot/` is the extension's root, and Chrome loads nothing from outside it and no Node module**: `capture.mjs`, `annotate.mjs`, `private-words.mjs`, `snapshot-svg.mjs`, `snapshot-trim.mjs`, `font-rules.mjs`, `colour-filter.mjs`, `gradient.mjs`, `util.mjs` and `chrome/` import nothing else, which `test/svgshot.test.mjs` checks by following the imports. **A capture or a bundle never goes under `docs/`**, and what is published is checked for the Windows user name, git's `user.name` and `user.email` and each `find` of `scripts/svgshot/private.json`, which git ignores: by `chromeshot.mjs` before it writes anything, and by `replay.mjs`. - **The help add-in's project file is written by every build, CI's included.** The `addinProject` task (`builder/addin-project.mjs`) packs `add-in/` into `tB/IDE/AddIns/downloads/tbDocsHelp.twinproj` in the **online tree only**, which the Help Add-In page offers as a download; `_config.yml`'s `addin_project` declares both ends, so a fixture config gets none. It waits for the `helpArchive` task. It packs the files `git ls-files` lists there, read from the working folder, never a `Resources/HELP/` file from the disk, with CRLF made LF outside `Resources/` (so a Windows and a Linux build write the same bytes), the `tB/symbols.json` the same build wrote in place of the committed copy, and **the zip that build's archive task wrote** as `Resources/HELP/site.zip`, passed in memory (a build that wrote none --- `--no-help-archive`, `--serve`, another `--dest`, a fixture --- packs without it, and the summary line says `without the offline archive`). The download is about 61 MB with the archive, 1 MB without. The offline tree holds no copy (the project carries that tree's archive, so a copy there would be circular), and its links to the file are rewritten to the website by the general rule in `offline-rewrite.mjs`: a URL the offline tree lacks but the online tree has becomes `site.url` + path, and is no miss (`computeWebsiteUrl`; the offline link check's `forbidExempt` excuses exactly those links, `isWebsiteOnlyLink`). The pack is `packFiles` from `scripts/impexp.mjs`, in memory (never staged through `%TEMP%`), the one module under `scripts/` that `builder/` may import (`biome.jsonc`); `check_tree_fresh.mjs` watches it and `add-in/` for that reason. The publish allowlist exempts the one path in the trees only (`publishPolicyFor`'s `generated`); a `.twinproj` anywhere else, or in `docs/`, is refused. `--serve` writes it into its one tree; `--dry-run` writes nothing. A failure (no git) fails the build with exit 1 and the index audit names the missing file. **Don't build the DLLs in CI from it**: that needs a twinBASIC install; the download is the project, and the reader builds it. Why each of these: [WIP.Build.md](WIP.Build.md#the-help-add-ins-project-file); `test/addin-project.test.mjs` is the gate. - **The help archive is the `helpArchive` task of the build's graph.** `builder/help-archive-step.mjs` writes `add-in/Resources/HELP/site.zip` from `docs/_site-offline` through `lib/help-archive.mjs`, once every task that writes into the offline tree has finished (`flushJoin`, `scss`, `searchIndex`, `writeOffline`; the archive task lists exactly those) and **before** the Gantt injection. **The archive leaves out `HELP_ARCHIVE_SKIP`** (`builder/help-archive-step.mjs`): the Documentation Development section (`BuildInfo.html` and `assets/images/gantt.svg` with it, so the chart never reaches the zip), Videos and their poster frames, Challenges, and **every download, which stays online** (owner): a file readers download goes in a `downloads` folder beside its page, and the step fails the build when the Downloads page offers a file the archive would hold. The add-in's server redirects any file the archive lacks to the website, because pages link to all of these; a new entry needs nothing else. It reads the file back to verify it. A mismatch fails the build (exit 1). After the Gantt injection `recheckHelpArchive` checks that the offline tree on disk lists the same files as the archive and differs from it only in `BuildInfo.html` and `gantt.svg`; a task that wrote into the offline tree late fails the build there. The help add-in embeds the zip as a resource and serves the pages from it with its own server; a build of the add-in without it uses the live site. The file is gitignored (about 60 MB, 10 MB of it the search index's `search-index.js`, deflated), so a build of the add-in from a clean clone is the online one until `build.bat` has run. The download carries the same zip (previous bullet). **`--no-help-archive` turns the step off, and neither CI workflow may pass it** (`check_ci_workflows.mjs` refuses it, in `ALLOWED.forbiddenBuildFlags`), because CI's published download would then hold no archive. It runs only for the guarded source tree (`docs`) built into the default `docs/_site-offline` (not another `--dest`, so `compare_trees` and `check_links_diff` leave it alone), never under `--serve` or `--dry-run`, never without an offline tree, and not keyed on `$CI`. There is no command-line tool for the archive: the `help-offline` lane makes its own with `writeHelpArchive`. The zip's format is fixed by the add-in's reader, which does no inflating ([WIP.HelpAddin.md](WIP.HelpAddin.md), Stage 4, increment 5). @@ -658,6 +658,7 @@ wrapper: | `check.bat` | `check_tree_fresh` | the tree is not older than the sources that produced it | | `check.bat` | `check_dot_fit` | every diagram label sits inside the box Graphviz drew for it | | `check.bat` | `pick_a11y_sample --check`, `check_a11y` | see [WIP.A11y.md](WIP.A11y.md) | +| `check.bat` | `check_shot_sizes` | every page that shows a screenshot of `test/shots/manifest.json` declares its pixels over its scale (2, or the manifest's `scale`) as its `{:width height}`; the screenshot tools set these sizes, so this catches a hand edit ([WIP.ShotReview.md](WIP.ShotReview.md#one-way-to-take-pictures), rule 4) | | `test.bat` | `check_code_regions` | no source or HTML rewrite altered a code region, and the rewrites over rendered HTML leave a raw `
` or `` as written; a rewrite still fires on prose beside a fence (the mirror fault); `lib/markdown.mjs` and `lib/frontmatter.mjs` pass their probes, and the block parse finds what the full parse finds; the count-name check skips code and names the file's line; `discover` warns about an unquoted frontmatter value that ends in `#`; the dash normaliser converts only prose |
 | `test.bat` | `check_regex_safety` | no regex in the tree can backtrack exponentially |
 | `test.bat` | `check_package_tests` | every NOTE and WARNING of a contributed section with a test project names its cases in a marker, every case is named, starts with `Expect.Begin` and ends with `Expect.Done`, `expect.json` is for the documented version, `RunAll.twin` is current; a section without a project is in `PENDING`, which only shrinks |
@@ -673,8 +674,8 @@ wrapper:
 | `test.bat` | `test/render.test.mjs` | `builder/render.mjs`'s markdown-it plugins, one at a time, on inputs no page holds --- today the ellipsis plugin's dot counting. Run by `node --test` |
 | `test.bat` | `test/strftime.test.mjs` | `builder/strftime.mjs`'s `formatDate`, which no build calls because no page sets `last_modified_date`. Run by `node --test` |
 | `test.bat` | `test/compact-image.test.mjs` | what an embedded image keeps (`compactImage` and `stripFile` in `scripts/lib/compact-image.mjs`): an editor's metadata goes, a notice of whose the picture is and on what terms stays (the IDE's lock icon carries a CC BY-NC-SA attribution), an sRGB profile goes and any other stays, a JPEG or a GIF is labelled by its bytes, and an image inside an SVG inside a CSS file is reached and keeps its encoding. Its second half runs `scripts/imagestrip/` over a CSS file and SVG files of every image the test builds and over the IDE's own stylesheets, and compares output, summary and reports with `stripFile` byte for byte; it is skipped unless `IMAGESTRIP_EXE` names the built exe. Run by `node --test` |
-| `test.bat` | `test/svgshot.test.mjs` | an SVG screenshot is written on one line (`oneLine` in `scripts/svgshot/snapshot-svg.mjs`), a break in a tag as a space and one in text as a character reference, so that a CRLF checkout changes only its last line ending; an underline is placed and sized by the figures fitted in Edge (`underlineBand`) under the boxes that set one (`decoratingBoxes`); a background image is sized by its bytes, a JPEG the IDE calls `image/png` included (`naturalSize`); an iframe's document is decoded and placed at the iframe's content box, less its scroll, scaled when zoomed, over its canvas colour (`frameGeometry`, `frameView`, `unzoom`, `viewportScroller`, `canvasColor`); a run's web font is the `@font-face` rule CSS matching picks (`webFontFiles`), and a variable WOFF2 is read and cut per weight; a family split by `unicode-range` gives each character to the rule whose range holds it (`parseUnicodeRange`, `webRulesFor`); an inline `` is found and its ids scoped (`inlineSvgsIn`, `scopeIds`); a filter of colour functions is baked into the colours under it, in order and clamped, its pictures wrapped in a real filter and its opacity kept apart (`colour-filter.mjs`); a transformed element's boxes and text are put back from the snapshot's after-transform boxes (`elementTransform`, `untransformBox`); a closed select shows its option's whole text (`selectLabel`); a bundle draws the same SVG from its file as in memory, and counts each question it cannot answer (`renderBundle`); its web font rules and files draw each character from the file whose range holds it, at the weight its rule allows, and its inline `` markup is drawn in its box, from the file and when trimmed (`drawBundle`); a bundle of version 1 is refused; one trimmed to its view draws the same (`trimSnapshot`); a font's cut comes from the subset cache with no Python run (`subsetKey`, `useSubsetCache`); `redraw` draws a picture again from its bundle or names its retake, and fails on the user name; `outputRefusal` refuses a stage under docs or where git would take it (`scripts/lib/shot-revision.mjs`); a picture's allowances read as text (`allowancesOf` in `scripts/lib/shot-views.mjs`); a strength map's share at a level and its regions of change, a word's strokes closed into one block and a line up to 4 pixels thick eroded away, and which pictures need a look, and a capture's regions against the picture it was compared with (`shareOff`, `changeRegions`, `scripts/lib/shot-change.mjs`; `pngLook`, `svgLook`, `reviewPicture`, `scripts/lib/shot-queue.mjs`); a run's stage, its files, verdicts and strength maps, refused under docs, where git would take it or when not empty, and the stop line (`stagedFiles`, `writeVerdict`, `writeStrength`, `stageRefusal`, `scripts/lib/shot-stage.mjs`; `onStop`, `scripts/lib/record-lines.mjs`); a capture's verdict with a picture's allowances and a review's decisions, and the manifest written, read back and refused when malformed (`decidePicture`, `decideSvg`, `cleanupResets`, `scripts/lib/shot-policy.mjs`; `parseManifest`, `manifestText`, `openManifest`, `scripts/lib/shot-manifest.mjs`); a capture's fate against the picture at a git revision and the file, the SVG of one put back, what `--cleanup` resets, and a revision's files read in one git process and a text file put back as a checkout writes it, in a scratch repository (`pictureFate`, `svgFate`, `planCleanup`, `readRevisionFiles`, `restoreFromRevision`, `scripts/lib/shot-revision.mjs`); what a picture held kept and put back, and a bundle copied (`holdPicture`, `unholdPicture`, `copyBundle`); and a commit of the paths named and nothing else, in a scratch repository (`parseStatus`, `commitPaths`, `shot-revision.mjs`). What it keeps of an image it embeds is `compactImage`'s, which the row above tests. Run by `node --test` |
-| `test.bat` | `test/shot-review.test.mjs` | the screenshot review tool (`scripts/shot_review.mjs`): its session, its lock and its runs read back, archived and listed; which verdict a picture shows, its group, its chips and allowances, and a loupe; its writes under docs as a run's verdicts arrive and after a review; and the server following a stand-in run, answering the loopback host only and stopping the run, and starting runs from its runs page one at a time, a clean-up holding a review's actions, and its commit, of the session's own files and nothing else, in a scratch repository, held open by a `pre-commit` hook while every page says it is under way and refuses a change, the session archived and opened again read-only and the next one served (`openSession`, `acquireLock`, `reviewPictures`, `chipsOf`, `createApplier`, `createReviewServer`, `runOf`, `commitPlan`, `commitMessage`, `listArchived`, `scripts/lib/shot-session.mjs`, `shot-review.mjs`, `shot-pages.mjs`, `shot-verdicts.mjs`, `shot-server.mjs`, `shot-runs.mjs`). Needs git. Run by `node --test` |
+| `test.bat` | `test/svgshot.test.mjs` | an SVG screenshot is written on one line (`oneLine` in `scripts/svgshot/snapshot-svg.mjs`), a break in a tag as a space and one in text as a character reference, so that a CRLF checkout changes only its last line ending; an underline is placed and sized by the figures fitted in Edge (`underlineBand`) under the boxes that set one (`decoratingBoxes`); a background image is sized by its bytes, a JPEG the IDE calls `image/png` included (`naturalSize`); an iframe's document is decoded and placed at the iframe's content box, less its scroll, scaled when zoomed, over its canvas colour (`frameGeometry`, `frameView`, `unzoom`, `viewportScroller`, `canvasColor`); a run's web font is the `@font-face` rule CSS matching picks (`webFontFiles`), and a variable WOFF2 is read and cut per weight; a family split by `unicode-range` gives each character to the rule whose range holds it (`parseUnicodeRange`, `webRulesFor`); an inline `` is found and its ids scoped (`inlineSvgsIn`, `scopeIds`); a filter of colour functions is baked into the colours under it, in order and clamped, its pictures wrapped in a real filter and its opacity kept apart (`colour-filter.mjs`); a transformed element's boxes and text are put back from the snapshot's after-transform boxes (`elementTransform`, `untransformBox`); a closed select shows its option's whole text (`selectLabel`); a bundle draws the same SVG from its file as in memory, and counts each question it cannot answer (`renderBundle`); its web font rules and files draw each character from the file whose range holds it, at the weight its rule allows, and its inline `` markup is drawn in its box, from the file and when trimmed (`drawBundle`); a bundle of version 1 is refused; one trimmed to its view draws the same (`trimSnapshot`); a font's cut comes from the subset cache with no Python run (`subsetKey`, `useSubsetCache`); a worktree's bundle cache is filled from the main checkout's once, as a copy, in a scratch repository (`seedBundleCache`); `redraw` draws a picture again from its bundle or names its retake, and fails on the user name; `outputRefusal` refuses a stage under docs or where git would take it (`scripts/lib/shot-revision.mjs`); a picture's allowances read as text (`allowancesOf` in `scripts/lib/shot-views.mjs`); a strength map's share at a level and its regions of change, a word's strokes closed into one block and a line up to 4 pixels thick eroded away, and which pictures need a look, and a capture's regions against the picture it was compared with (`shareOff`, `changeRegions`, `scripts/lib/shot-change.mjs`; `pngLook`, `svgLook`, `reviewPicture`, `scripts/lib/shot-queue.mjs`); a run's stage, its files, verdicts and strength maps, refused under docs, where git would take it or when not empty, and the stop line (`stagedFiles`, `writeVerdict`, `writeStrength`, `stageRefusal`, `scripts/lib/shot-stage.mjs`; `onStop`, `scripts/lib/record-lines.mjs`); a capture's verdict with a picture's allowances and a review's decisions, and the manifest written, read back and refused when malformed (`decidePicture`, `decideSvg`, `cleanupResets`, `scripts/lib/shot-policy.mjs`; `parseManifest`, `manifestText`, `openManifest`, `scripts/lib/shot-manifest.mjs`); a capture's fate against the picture at a git revision and the file, the SVG of one put back, what `--cleanup` resets, and a revision's files read in one git process and a text file put back as a checkout writes it, in a scratch repository (`pictureFate`, `svgFate`, `planCleanup`, `readRevisionFiles`, `restoreFromRevision`, `scripts/lib/shot-revision.mjs`); what a picture held kept and put back, and a bundle copied (`holdPicture`, `unholdPicture`, `copyBundle`); and a commit of the paths named and nothing else, in a scratch repository (`parseStatus`, `commitPaths`, `shot-revision.mjs`). What it keeps of an image it embeds is `compactImage`'s, which the row above tests. Run by `node --test` |
+| `test.bat` | `test/shot-review.test.mjs` | the screenshot review tool (`scripts/shot_review.mjs`): its session, its lock and its runs read back, archived and listed; which verdict a picture shows, its group, its chips and allowances, and a loupe; its writes under docs as a run's verdicts arrive and after a review; and the server following a stand-in run, answering the loopback host only and stopping the run, and starting runs from its runs page one at a time, a run typed in a terminal handed to it and streamed back there, its command line kept with the baseline as its `--against` and the session's own options refused, a clean-up holding a review's actions, and its commit, of the session's own files and nothing else, in a scratch repository, held open by a `pre-commit` hook while every page says it is under way and refuses a change, the session archived and opened again read-only and the next one served (`openSession`, `acquireLock`, `reviewPictures`, `chipsOf`, `createApplier`, `createReviewServer`, `runOf`, `terminalRunOf`, `handToTool`, `commitPlan`, `commitMessage`, `listArchived`, `scripts/lib/shot-session.mjs`, `shot-review.mjs`, `shot-pages.mjs`, `shot-verdicts.mjs`, `shot-server.mjs`, `shot-host.mjs`, `shot-front.mjs`, `shot-runs.mjs`). Needs git. Run by `node --test` |
 | `test.bat` | `test/example-batches.test.mjs` | `check_examples.mjs`'s probes, from `scripts/lib/example-batches.mjs`: batching, crash isolation through a fake lane, the canaries, the fence classifier and `check_run`'s refusals, expected output, dispatcher and marker reading, with no IDE. Run by `node --test` |
 | `test.bat` | `test/ide-folders.test.mjs` | `shutdownIde` and `shutdownIdeAsync` remove the IDE's temp folder and profile once it is gone, and no other folder. Run by `node --test` |
 | `test.bat` | `test/broker.test.mjs` | `tbbroker` and its client (`scripts/lib/tb-broker.mjs`): one broker per pipe, leases, held processes, waiting, ports, a desktop left with windows on it, a restarted broker finding a desktop in use. Skipped unless `TBBROKER_EXE` names a built broker. Run by `node --test` |
diff --git a/add-in/Resources/SYMBOLS/symbols.json b/add-in/Resources/SYMBOLS/symbols.json
index c1bfbc32a..e93e9c2be 100644
--- a/add-in/Resources/SYMBOLS/symbols.json
+++ b/add-in/Resources/SYMBOLS/symbols.json
@@ -1,6 +1,6 @@
 {
   "format": 1,
-  "api": 1010,
+  "api": 1042,
   "packages": {"VBA":"VBA","VBRUN":"VBRUN","VB":"VB","AppGlobalClassProject":"AppGlobalClassObject","cefPackage":"CEF","CustomControls":"CustomControls","CustomControlsPackage":"CustomControls","Assert":"Assert","WebView2Package":"WebView2","WinEventLogLib":"WinEventLogLib","WinNamedPipesLib":"WinNamedPipesLib","WinNativeCommonCtls":"WinNativeCommonCtls","WinServicesLib":"WinServicesLib","tbIDE":"tbIDE"},
   "interfaces": {"VBA._Collection":"VBA.Collection","VBA._ErrObject":"VBA.ErrObject","VBA.ITbExpressionService":"VBA.TbExpressionService","VBRUN._PropertyBag":"VBRUN.PropertyBag","VB._App":"VB.App","VB._Clipboard":"VB.Clipboard","VB._Screen":"VB.Screen","VB.VBGlobal":"VB.Global","AppGlobalClassProject._App":"AppGlobalClassProject.App","CustomControls._CustomControlTimer":"CustomControls.CustomControlTimer","CustomControls._CustomControlContext":"CustomControls.CustomControlContext","CustomControls._CustomFormContext":"CustomControls.CustomFormContext","CustomControls._CustomControlsCollection":"CustomControls.CustomControlsCollection","tbIDE.IAddInV1":"tbIDE.AddIn","tbIDE.IButtonV1":"tbIDE.Button","tbIDE.ICodeEditorV1":"tbIDE.CodeEditor","tbIDE.IDebugConsoleV1":"tbIDE.DebugConsole","tbIDE.IEditorV1":"tbIDE.Editor","tbIDE.IEditorsV1":"tbIDE.Editors","tbIDE.IFileV2":"tbIDE.File","tbIDE.IFileSystemV1":"tbIDE.FileSystem","tbIDE.IFileSystemItemV1":"tbIDE.FileSystemItem","tbIDE.IFolderV1":"tbIDE.Folder","tbIDE.IHostV1":"tbIDE.Host","tbIDE.IHtmlElementV1":"tbIDE.HtmlElement","tbIDE.IHtmlElementPropertiesV1":"tbIDE.HtmlElementProperties","tbIDE.IHtmlElementPropertyV1":"tbIDE.HtmlElementProperty","tbIDE.IHtmlElementsV1":"tbIDE.HtmlElements","tbIDE.IHtmlEventPropertiesV1":"tbIDE.HtmlEventProperties","tbIDE.IHtmlEventPropertyV1":"tbIDE.HtmlEventProperty","tbIDE.IKeyboardShortcutsV1":"tbIDE.KeyboardShortcuts","tbIDE.IProjectV1":"tbIDE.Project","tbIDE.IThemesV1":"tbIDE.Themes","tbIDE.IToolWindowV1":"tbIDE.ToolWindow","tbIDE.IToolWindowsV1":"tbIDE.ToolWindows","tbIDE.IToolbarV1":"tbIDE.Toolbar","tbIDE.IToolbarsV1":"tbIDE.Toolbars"},
   "symbols": [
diff --git a/bugs/console-cleared-at-open/fix.js b/bugs/console-cleared-at-open/fix.js
new file mode 100644
index 000000000..5ce3b1ea1
--- /dev/null
+++ b/bugs/console-cleared-at-open/fix.js
@@ -0,0 +1,84 @@
+// Fix for console-cleared-at-open: the list starts with its cached-heights flag false, not unset,
+// so the first setUseCachedItemHeights(false), as the first project's console options are applied,
+// finds nothing to change and does not empty the DEBUG CONSOLE after the IDE's own clear. Every list
+// createListView makes already reads an unset flag as false, so nothing else changes.
+// Written on BETA 1042; the local names are ours (scripts/ide-js/names.json), not twinBASIC's.
+// Applied with `node scripts/ide_js.mjs patch bugs/console-cleared-at-open/fix.js --copy-to `.
+function createListView(container) {
+  var list = createVirtualListView(container);
+  list.invertMode = false;
+  list.noCache = true;
+  list.dataNodes = [];
+  list.dataNodesDATA = [];
+  list.dataNodesCachedHeight = [];
+  list.dataNodesCachedWidth = [];
+  list.totalCachedItemsHeight = 0;
+  list.useCachedItemHeights = false;
+  list.onAsyncGetItemHTML = (htmlRow) => list.dataNodes[htmlRow];
+  list.onAsyncGetItemHeight = (heightRow, element) => {
+    var width = list.cachedClientWidth;
+    if (width == list.dataNodesCachedWidth[heightRow]) {
+      return list.dataNodesCachedHeight[heightRow];
+    } else {
+      var height = element.offsetHeight;
+      list.dataNodesCachedHeight[heightRow] = height;
+      list.dataNodesCachedWidth[heightRow] = width;
+      return height;
+    }
+  };
+  list.getItem = (itemRow) => list.dataNodes[itemRow];
+  list.getItemData = (dataRow) => list.dataNodesDATA[dataRow];
+  list.updateItem = (updatedRow, newHtml) => {
+    if (newHtml !== undefined) list.dataNodes[updatedRow] = newHtml.toString();
+    list.notifyChangedItem(updatedRow);
+    if (list.useCachedItemHeights) {
+      list.totalCachedItemsHeight -= list.dataNodesCachedHeight[updatedRow];
+      list.updateCachedItemHeight(updatedRow);
+    }
+  };
+  list.addItem = (addedHtml, addedData) => {
+    var addedRow = list.itemCount;
+    if (addedHtml !== undefined) list.dataNodes[addedRow] = addedHtml.toString();
+    if (addedData !== undefined) list.dataNodesDATA[addedRow] = addedData;
+    if (list.useCachedItemHeights) {
+      list.updateCachedItemHeight(addedRow);
+    }
+    list.setItemCount(addedRow + 1);
+    return addedRow;
+  };
+  list.setUseCachedItemHeights = (use) => {
+    if (!use) use = false;
+    if (list.useCachedItemHeights === use) return;
+    list.useCachedItemHeights = use;
+    list.outerScrollable.useCachedItemHeights = use;
+    list.pendingAdds = [];
+    list.clear();
+    list.updateScrollRange();
+    list.repaint();
+  };
+  list.removeItem = (removedRow) => {
+    list.dataNodes.splice(removedRow, 1);
+    list.dataNodesDATA.splice(removedRow, 1);
+    list.dataNodesCachedHeight.splice(removedRow, 1);
+    list.dataNodesCachedWidth.splice(removedRow, 1);
+    var visible = false;
+    var lastVisible = list.visibleTop + list.visibleCount;
+    if (removedRow <= lastVisible) {
+      visible = true;
+    } else {
+    }
+    list.setItemCount(list.itemCount - 1, visible);
+  };
+  list.clear = () => {
+    list.dataNodes = [];
+    list.dataNodesDATA = [];
+    list.dataNodesCachedHeight = [];
+    list.dataNodesCachedWidth = [];
+    list.itemCount = 0;
+    list.cachedHeights = [];
+    list.totalCachedItemsHeight = 0;
+    list.resetScrollPosition();
+    list.repaint();
+  };
+  return list;
+}
diff --git a/bugs/console-cleared-at-open/repro.json b/bugs/console-cleared-at-open/repro.json
new file mode 100644
index 000000000..00ff6f399
--- /dev/null
+++ b/bugs/console-cleared-at-open/repro.json
@@ -0,0 +1,8 @@
+{
+  "mode": "lane",
+  "lane": "ide:console-cleared",
+  "tests": [
+    "the first project to open empties the console twice, and the second erases what followed the first"
+  ],
+  "steps": "1. Load an add-in that prints a line with Host.DebugConsole.PrintText when its project loads, or watch the compiler's own lines as a project opens.\n2. Start the IDE and open a project.\n3. The DEBUG CONSOLE shows the lines for a moment, then is empty.\n4. Open another project in the same IDE: its lines stay."
+}
diff --git a/bugs/filed/delegate-next-keyword/REPORT.md b/bugs/filed/delegate-next-keyword/REPORT.md
deleted file mode 100644
index ff2c337ce..000000000
--- a/bugs/filed/delegate-next-keyword/REPORT.md
+++ /dev/null
@@ -1,48 +0,0 @@
-Covered by the existing issue [twinbasic/twinbasic#2001](https://github.com/twinbasic/twinbasic/issues/2001).
-
-## After a Delegate, the next Friend, ReadOnly, WithEvents, Implements or Inherits is a syntax error
-
-**Describe the bug**
-After a `Delegate` statement, the compiler no longer recognises five words. The next `Friend`, `Implements` or `Inherits` gives TB5182, *Syntax error. No handler for this symbol*, on the word, and the next `ReadOnly` or `WithEvents` gives it on the name that follows. The code is correct: the same line compiles when it is placed before the `Delegate`.
-
-Issue #2001 reports the `ReadOnly` half of this. This entry adds the other four words and what ends the effect.
-
-**To Reproduce**
-Steps to reproduce the behavior:
-1. Create a new project and add this class, or open `delegate-next-keyword.twinproj`, which also has every case below:
-
-   ```vb
-   Class MyClass
-       Private Delegate Function TestDelegate () As Long
-
-       Friend Sub Test()
-       End Sub
-   End Class
-   ```
-2. See TB5182 on `Friend`.
-3. Replace `Friend` with `Public` or `Private`. The error goes away.
-
-What decides it, each a compile case of the project:
-- The words affected: `Friend` (on a Sub, a Function, a Property or a variable), `ReadOnly`, `WithEvents`, `Implements`, `Inherits`.
-- Not affected, directly after a `Delegate`: `Public`, `Private`, `Dim`, `Const`, `Static`, `Protected`, `Overridable`, `Sub`, `Function`, `Property`, `Declare`, `Event`, `Type`, `Enum`.
-- Every form of `Delegate` does it: `Function` or `Sub`, `Public` or `Private`, with arguments or a calling convention, in a Class or a Module.
-- A blank line, a comment, a variable, a `Const`, a `Type`, an `Enum`, an attribute or a second `Delegate` between the two leave the error in place.
-- A procedure, a `Declare` or an `Event` between the two ends the effect. `Friend` after `Friend` does not fail a second time either, once the first has given its error.
-- Each word compiles after a variable, a `Const` or a `Sub` when there is no `Delegate`, and before a `Delegate`. A class may use a delegate type declared lower down.
-- The next block of the file is not affected: a Class after a Module that ends in a `Delegate` compiles.
-
-**Expected behavior**
-No diagnostic. `Delegate` declarations have no effect on the lines after them.
-
-**Desktop:**
- - OS: Windows 10 Pro 22H2 (build 19045)
- - twinBASIC compiler version: BETA 1034, and BETA 1007; #2001 saw the `ReadOnly` half on BETA 644
-
-**Additional context**
-What a `Sub`, a `Declare` and an `Event` share, and a `Delegate` lacks, is not known from outside the compiler. `Friend` is not a reserved word (`Dim Friend As Long` compiles), so the fault may be in how the parser decides that such a word is a keyword.
-
-A way round it: put the `Delegate` after these statements, at the end of the class if necessary.
-
-Severity: low to medium. Nothing is miscompiled, but a correct line is refused with a message that does not point at the `Delegate`, and the reader has no reason to look there.
-
-
diff --git a/bugs/filed/delegate-next-keyword/delegate-next-keyword.twinproj b/bugs/filed/delegate-next-keyword/delegate-next-keyword.twinproj
deleted file mode 100644
index b40aa2932..000000000
Binary files a/bugs/filed/delegate-next-keyword/delegate-next-keyword.twinproj and /dev/null differ
diff --git a/bugs/filed/delegate-next-keyword/repro.json b/bugs/filed/delegate-next-keyword/repro.json
deleted file mode 100644
index 6fa58990c..000000000
--- a/bugs/filed/delegate-next-keyword/repro.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-  "mode": "test",
-  "expect": {
-    "exit": 7,
-    "output": [
-      "^FAIL Reported_FriendSub: .*TB5182",
-      "^FAIL After_FriendVariable: .*TB5182",
-      "^FAIL After_PrivateReadOnly: .*TB5182",
-      "^FAIL After_PrivateWithEvents: .*TB5182",
-      "^FAIL After_Implements: .*TB5182",
-      "^FAIL After_Inherits: .*TB5182",
-      "^FAIL Still_AfterVariable: .*TB5182",
-      "^FAIL Still_AfterSecondDelegate: .*TB5182",
-      "^PASS Cleared_BySub$",
-      "^PASS Cleared_ByDeclare$",
-      "^PASS Cleared_ByEvent$",
-      "^PASS Control_FriendBeforeDelegate$",
-      "^PASS Control_FriendAfterVariable$",
-      "^PASS Control_ImplementsAfterVariable$",
-      "^PASS Control_ProtectedAfterDelegate$"
-    ]
-  },
-  "issue": 2001,
-  "existing": true
-}
diff --git a/bugs/filed/delegate-next-keyword/src/Sources/RegressionTests.twin b/bugs/filed/delegate-next-keyword/src/Sources/RegressionTests.twin
deleted file mode 100644
index 399a9018d..000000000
--- a/bugs/filed/delegate-next-keyword/src/Sources/RegressionTests.twin
+++ /dev/null
@@ -1,193 +0,0 @@
-' Regression tests for the report, as compile cases: each line that ends in a
-' comment  ' CASE :   must give that diagnostic on that line (a
-' code, "error" for any error, or "none"). tbrun --tests checks them.
-' Every line below is legal, so each is "none". A case that fails is the bug: after a
-' Delegate, the compiler no longer knows Friend, ReadOnly, WithEvents, Implements or
-' Inherits, until a procedure, a Declare or an Event has been read.
-
-Interface IThing Extends stdole.IUnknown
-    Sub Foo()
-End Interface
-
-Class BaseClass
-    Public Sub Foo()
-    End Sub
-End Class
-
-Class Thrower
-    Public Event Done()
-End Class
-
-' --- the report on Discord, as it was written
-Class MyClass
-    Private Delegate Function TestDelegate () As Long
-
-    Friend Sub Test()  ' CASE Reported_FriendSub: none
-    End Sub
-
-End Class
-
-' --- the words the Delegate affects
-Class AfterFriendFunction
-    Private Delegate Function D() As Long
-    Friend Function F() As Long  ' CASE After_FriendFunction: none
-    End Function
-End Class
-Class AfterFriendProperty
-    Private Delegate Function D() As Long
-    Friend Property Get P() As Long  ' CASE After_FriendProperty: none
-    End Property
-End Class
-Class AfterFriendVariable
-    Private Delegate Function D() As Long
-    Friend V As Long  ' CASE After_FriendVariable: none
-End Class
-Class AfterReadOnly
-    Private Delegate Function D() As Long
-    Private ReadOnly R As Long = 1  ' CASE After_PrivateReadOnly: none
-End Class
-Class AfterWithEvents
-    Private Delegate Function D() As Long
-    Private WithEvents W As Thrower  ' CASE After_PrivateWithEvents: none
-End Class
-Class AfterImplements
-    Private Delegate Function D() As Long
-    Implements IThing  ' CASE After_Implements: none
-    Private Sub Foo() Implements IThing.Foo
-    End Sub
-End Class
-Class AfterInherits
-    Private Delegate Function D() As Long
-    Inherits BaseClass  ' CASE After_Inherits: none
-End Class
-
-' --- any form of Delegate does it
-Class DelegateSub
-    Private Delegate Sub D()
-    Friend Sub S()  ' CASE Delegate_Sub: none
-    End Sub
-End Class
-Class DelegateCDecl
-    Private Delegate Function D CDecl (ByVal A As Long) As Long
-    Friend Sub S()  ' CASE Delegate_CDecl: none
-    End Sub
-End Class
-
-' --- between the two, these leave it as it is
-Class StillAfterVariable
-    Private Delegate Function D() As Long
-    Private X As Long
-    Friend Sub S()  ' CASE Still_AfterVariable: none
-    End Sub
-End Class
-Class StillAfterConst
-    Private Delegate Function D() As Long
-    Private Const C As Long = 1
-    Friend Sub S()  ' CASE Still_AfterConst: none
-    End Sub
-End Class
-Class StillAfterType
-    Private Delegate Function D() As Long
-    Private Type T
-        A As Long
-    End Type
-    Friend Sub S()  ' CASE Still_AfterType: none
-    End Sub
-End Class
-Class StillAfterEnum
-    Private Delegate Function D() As Long
-    Private Enum E
-        A
-    End Enum
-    Friend Sub S()  ' CASE Still_AfterEnum: none
-    End Sub
-End Class
-Class StillAfterDelegate
-    Private Delegate Function D() As Long
-    Private Delegate Sub E()
-    Friend Sub S()  ' CASE Still_AfterSecondDelegate: none
-    End Sub
-End Class
-Class StillWithAttribute
-    Private Delegate Function D() As Long
-    [Description("x")]
-    Friend Sub S()  ' CASE Still_WithAttribute: none
-    End Sub
-End Class
-
-' --- controls: these do not fail
-Class ClearedBySub
-    Private Delegate Function D() As Long
-    Private Sub First()
-    End Sub
-    Friend Sub S()  ' CASE Cleared_BySub: none
-    End Sub
-    Private ReadOnly R As Long = 1  ' CASE Cleared_StaysCleared: none
-End Class
-Class ClearedByDeclare
-    Private Delegate Function D() As Long
-    Private Declare PtrSafe Function GetTickCount Lib "kernel32" () As Long
-    Friend Sub S()  ' CASE Cleared_ByDeclare: none
-    End Sub
-End Class
-Class ClearedByEvent
-    Private Delegate Function D() As Long
-    Public Event Done()
-    Friend Sub S()  ' CASE Cleared_ByEvent: none
-    End Sub
-End Class
-Class ClearedByFirstFriend
-    Private Delegate Function D() As Long
-    Public Sub First()
-    End Sub
-    Friend Sub Second()  ' CASE Cleared_SecondMember: none
-    End Sub
-End Class
-Class FriendBeforeDelegate
-    Friend Sub S(ByVal Callback As D)  ' CASE Control_FriendBeforeDelegate: none
-    End Sub
-    Private ReadOnly R As Long = 1  ' CASE Control_ReadOnlyBeforeDelegate: none
-    Private Delegate Function D() As Long
-End Class
-Class NoDelegate
-    Private X As Long
-    Friend Sub S()  ' CASE Control_FriendAfterVariable: none
-    End Sub
-End Class
-Class NoDelegateImplements
-    Private X As Long
-    Implements IThing  ' CASE Control_ImplementsAfterVariable: none
-    Private Sub Foo() Implements IThing.Foo
-    End Sub
-End Class
-Class NoDelegateInherits
-    Private X As Long
-    Inherits BaseClass  ' CASE Control_InheritsAfterVariable: none
-End Class
-Class NoDelegateWithEvents
-    Private X As Long
-    Private WithEvents W As Thrower  ' CASE Control_WithEventsAfterVariable: none
-End Class
-Class NoDelegateReadOnly
-    Private X As Long
-    Private ReadOnly R As Long = 1  ' CASE Control_ReadOnlyAfterVariable: none
-End Class
-Class NotAffected
-    Private Delegate Function D() As Long
-    Protected Sub S()  ' CASE Control_ProtectedAfterDelegate: none
-    End Sub
-End Class
-Class NotAffectedStatic
-    Private Delegate Function D() As Long
-    Static Sub S()  ' CASE Control_StaticAfterDelegate: none
-    End Sub
-End Class
-
-' --- the next class starts clean: a Delegate in a Module of the same file
-Module DelegatesHere
-    Public Delegate Function Callback(ByVal X As Long) As Long
-End Module
-Class AfterTheModule
-    Friend Sub S(ByVal C As Callback)  ' CASE Control_NextBlockInTheFile: none
-    End Sub
-End Class
diff --git a/bugs/friend-late-bound/friend-late-bound.twinproj b/bugs/friend-late-bound/friend-late-bound.twinproj
index 326d6dcff..c1072a7a7 100644
Binary files a/bugs/friend-late-bound/friend-late-bound.twinproj and b/bugs/friend-late-bound/friend-late-bound.twinproj differ
diff --git a/bugs/friend-late-bound/repro.json b/bugs/friend-late-bound/repro.json
index 60d4439d8..b2a8fe219 100644
--- a/bugs/friend-late-bound/repro.json
+++ b/bugs/friend-late-bound/repro.json
@@ -7,8 +7,6 @@
       "^FAIL LateBoundTests\\.LateBound_FriendProperty_Raises438: ",
       "^FAIL LateBoundTests\\.LateBound_FriendVariable_Raises438: ",
       "^FAIL LateBoundTests\\.CallByName_FriendFunction_Raises438: ",
-      "^FAIL Package_FriendFunctionFromTheProject: ",
-      "^FAIL Package_FriendVariableFromTheProject: ",
       "^PASS LateBoundTests\\.Control_CallByName_PrivateFunction_Raises438$",
       "^PASS LateBoundTests\\.Control_CallByName_PublicFunction_Works$",
       "^PASS LateBoundTests\\.Control_EarlyBound_Friend_Works$",
diff --git a/bugs/friend-late-bound/src/Packages/FriendLib/Settings b/bugs/friend-late-bound/src/Packages/FriendLib/Settings
deleted file mode 100644
index 7ab1f500e..000000000
--- a/bugs/friend-late-bound/src/Packages/FriendLib/Settings
+++ /dev/null
@@ -1,35 +0,0 @@
-{
-	"configuration.inherits": "Defaults",
-	"project.appTitle": "FriendLib",
-	"project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}",
-	"project.buildType": "Package TWINPACK",
-	"project.description": "One class with Friend members, for the reproducer",
-	"project.id": "{7E1D4A52-8B36-4C7F-A2D1-6F3E90B1C477}",
-	"project.licence": "MIT",
-	"project.name": "FriendLib",
-	"project.optionExplicit": true,
-	"project.packageVisibility": "PUBLIC",
-	"project.references": [
-		{
-			"id": "{00020430-0000-0000-C000-000000000046}",
-			"lcid": 0,
-			"name": "OLE Automation",
-			"path32": "C:\\Windows\\SysWOW64\\stdole2.tlb",
-			"path64": "C:\\Windows\\System32\\stdole2.tlb",
-			"symbolId": "stdole",
-			"versionMajor": 2,
-			"versionMinor": 0
-		}
-	],
-	"project.settingsVersion": 1,
-	"project.versionMajor": 1,
-	"project.versionMinor": 0,
-	"project.warnings": {
-		"errors": [],
-		"hints": [],
-		"ignored": [],
-		"info": [],
-		"warnings": []
-	},
-	"runtime.useUnicodeStandardLibrary": true
-}
diff --git a/bugs/friend-late-bound/src/Packages/FriendLib/Sources/Locked.twin b/bugs/friend-late-bound/src/Packages/FriendLib/Sources/Locked.twin
deleted file mode 100644
index 2b5b181d0..000000000
--- a/bugs/friend-late-bound/src/Packages/FriendLib/Sources/Locked.twin
+++ /dev/null
@@ -1,11 +0,0 @@
-' Friend members in a package. A project that references the package is another project,
-' as an ActiveX DLL's client would be, so these should not be reachable from it.
-Public Class Locked
-
-    Friend Function FriendFn() As Long
-        Return 7
-    End Function
-
-    Friend Field As Long
-
-End Class
diff --git a/bugs/friend-late-bound/src/Settings b/bugs/friend-late-bound/src/Settings
index 5bd71436e..055a5c051 100644
--- a/bugs/friend-late-bound/src/Settings
+++ b/bugs/friend-late-bound/src/Settings
@@ -60,19 +60,6 @@
 			"versionMajor": 0,
 			"versionMinor": 0,
 			"versionRevision": 24
-		},
-		{
-			"autoCtlExt": true,
-			"id": "{7E1D4A52-8B36-4C7F-A2D1-6F3E90B1C477}",
-			"licence": "MIT",
-			"name": "[IMPORTED] FriendLib",
-			"path32": "/Packages/FriendLib",
-			"path64": "/Packages/FriendLib",
-			"symbolId": "FriendLib",
-			"versionBuild": "0",
-			"versionMajor": "1",
-			"versionMinor": "0",
-			"versionRevision": "0"
 		}
 	],
 	"project.settingsVersion": 1,
diff --git a/bugs/friend-late-bound/src/Sources/RegressionTests.twin b/bugs/friend-late-bound/src/Sources/RegressionTests.twin
index 68096cdd1..0a8980e0e 100644
--- a/bugs/friend-late-bound/src/Sources/RegressionTests.twin
+++ b/bugs/friend-late-bound/src/Sources/RegressionTests.twin
@@ -1,9 +1,7 @@
 ' The issue's regression tests. A Friend member is for the project that declares it. In VB6
 ' the code below is what bugs/friend-late-bound/vb6/ runs: a late-bound call to a Friend
-' member raises error 438, as a call to a Private one does. A [TestCase] that fails is the
-' bug; a line ending in  ' CASE :   is judged against the compile, and
-' "error" there means a call from the project into the package's Friend member should
-' not compile.
+' member raises error 438, as a call to a Private one does, and 64-bit VBA does the same.
+' A [TestCase] that fails is the bug.
 
 Class Widget
     Friend Field As Long
@@ -117,17 +115,3 @@ Module LateBoundTests
     End Sub
 
 End Module
-
-Module FromTheProject
-
-    Public Function CallsThePackage() As Long
-        Dim L As New Locked
-        CallsThePackage = L.FriendFn()  ' CASE Package_FriendFunctionFromTheProject: error
-    End Function
-
-    Public Sub WritesThePackage()
-        Dim L As New Locked
-        L.Field = 1  ' CASE Package_FriendVariableFromTheProject: error
-    End Sub
-
-End Module
diff --git a/bugs/missing-implementation-message/missing-implementation-message.twinproj b/bugs/missing-implementation-message/missing-implementation-message.twinproj
deleted file mode 100644
index 0c96712a2..000000000
Binary files a/bugs/missing-implementation-message/missing-implementation-message.twinproj and /dev/null differ
diff --git a/bugs/missing-implementation-message/repro.json b/bugs/missing-implementation-message/repro.json
deleted file mode 100644
index 09b6f6ecb..000000000
--- a/bugs/missing-implementation-message/repro.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "mode": "compile",
-  "expect": {
-    "exit": 1,
-    "diagnostics": ["TB65535"],
-    "output": ["TB65535 Internal Error - Bad Error Info Locale Data"]
-  }
-}
diff --git a/bugs/missing-implementation-message/src/Sources/Startup.twin b/bugs/missing-implementation-message/src/Sources/Startup.twin
deleted file mode 100644
index 09a9366df..000000000
--- a/bugs/missing-implementation-message/src/Sources/Startup.twin
+++ /dev/null
@@ -1,17 +0,0 @@
-' Implements of a class that leaves one of its Public members out. The error is right; on
-' BETA 1034 its message no longer says which member, and BETA 1033 did.
-Class Base
-    Public Function F() As Long
-    End Function
-End Class
-
-Class Partial
-    Implements Base
-End Class
-
-Module Startup
-
-    Public Sub Main()
-    End Sub
-
-End Module
diff --git a/bugs/preservesig-implements/repro.json b/bugs/preservesig-implements/repro.json
index 8a3de7f31..380ea938e 100644
--- a/bugs/preservesig-implements/repro.json
+++ b/bugs/preservesig-implements/repro.json
@@ -1,6 +1,9 @@
 {
   "mode": "compile",
   "expect": {
-    "diagnostics": ["TB5004", "TB65535"]
+    "diagnostics": [
+      "TB5004",
+      "TB5260"
+    ]
   }
 }
diff --git a/bugs/private-member-by-dispid/private-member-by-dispid.twinproj b/bugs/private-member-by-dispid/private-member-by-dispid.twinproj
new file mode 100644
index 000000000..a16f5b5a1
Binary files /dev/null and b/bugs/private-member-by-dispid/private-member-by-dispid.twinproj differ
diff --git a/bugs/private-member-by-dispid/repro.json b/bugs/private-member-by-dispid/repro.json
new file mode 100644
index 000000000..ce808b3de
--- /dev/null
+++ b/bugs/private-member-by-dispid/repro.json
@@ -0,0 +1,13 @@
+{
+  "mode": "test",
+  "expect": {
+    "exit": 7,
+    "output": [
+      "^FAIL ByDispIdTests\\.PrivateMethod_ByItsDispId_Raises438: ",
+      "^FAIL ByDispIdTests\\.PrivateMethodWithDispIdAttribute_ByThatDispId_Raises438: ",
+      "^PASS ByDispIdTests\\.Control_PrivateMethod_ByName_Raises438$",
+      "^PASS ByDispIdTests\\.Control_PublicMethod_ByItsDispId_Works$",
+      "^PASS ByDispIdTests\\.Control_PrivateVariable_ByItsDispId_Raises438$"
+    ]
+  }
+}
diff --git a/bugs/filed/delegate-next-keyword/src/Settings b/bugs/private-member-by-dispid/src/Settings
similarity index 84%
rename from bugs/filed/delegate-next-keyword/src/Settings
rename to bugs/private-member-by-dispid/src/Settings
index 0bdf800dc..9db8ef34e 100644
--- a/bugs/filed/delegate-next-keyword/src/Settings
+++ b/bugs/private-member-by-dispid/src/Settings
@@ -1,12 +1,12 @@
 {
 	"configuration.inherits": "Defaults",
-	"project.appTitle": "DelegateNextKeyword",
+	"project.appTitle": "PrivateMemberByDispid",
 	"project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}",
 	"project.buildType": "Standard EXE",
-	"project.description": "Reproduces: After a Delegate, the next Friend, ReadOnly, WithEvents, Implements or Inherits is a syntax error",
+	"project.description": "Reproduces: A Private method of a class can be called by its dispid, from another project too",
 	"project.exportPathIsV2": true,
-	"project.id": "{69C4B5E7-9618-4A52-8917-BE6D714AE978}",
-	"project.name": "DelegateNextKeyword",
+	"project.id": "{0D7FB970-463A-4C88-B105-DF0329D08DA2}",
+	"project.name": "PrivateMemberByDispid",
 	"project.optionExplicit": true,
 	"project.references": [
 		{
diff --git a/bugs/private-member-by-dispid/src/Sources/RegressionTests.twin b/bugs/private-member-by-dispid/src/Sources/RegressionTests.twin
new file mode 100644
index 000000000..efbd1b792
--- /dev/null
+++ b/bugs/private-member-by-dispid/src/Sources/RegressionTests.twin
@@ -0,0 +1,72 @@
+' The issue's regression tests. A Private method is found by name by no late-bound call, as it
+' should be, but a call by its dispid runs it. Each case asserts what is correct; a case that
+' fails is the bug.
+'
+' The class numbers its methods from &H60030000 in the order they are declared, Private ones
+' included, and its variables from &H40030000: PubFn is &H60030000 and PrivFn &H60030001, PubVar
+' is &H40030000 and PrivVar &H40030001. The compiler's own ITypeInfo gives these numbers for the
+' Public members, and GetIDsOfNames refuses the Private ones. bugs/private-member-by-dispid/vb6 is
+' the same class in VB6, where Invoke on the Private method's dispid returns DISP_E_MEMBERNOTFOUND.
+
+Class Widget
+    Public PubVar As Long
+    Private PrivVar As Long
+
+    Public Function PubFn() As Long
+        Return 1
+    End Function
+
+    Private Function PrivFn() As Long
+        Return 2
+    End Function
+
+    [DispId(78)]
+    Private Function PrivWithDispId() As Long
+        Return 78
+    End Function
+End Class
+
+[TestFixture]
+Module ByDispIdTests
+
+    Private Function ErrorOf(ByVal Id As Long, ByVal Kind As VbCallType) As Long
+        Dim O As Object = New Widget
+        Dim V As Variant
+        On Error Resume Next
+        V = CallByDispId(O, Id, Kind)
+        ErrorOf = Err.Number
+    End Function
+
+    [TestCase]
+    Public Sub PrivateMethod_ByItsDispId_Raises438()
+        Assert.Strict.AreEqual 438, ErrorOf(&H60030001, VbMethod)
+    End Sub
+
+    [TestCase]
+    Public Sub PrivateMethodWithDispIdAttribute_ByThatDispId_Raises438()
+        Assert.Strict.AreEqual 438, ErrorOf(78, VbMethod)
+    End Sub
+
+    [TestCase]
+    Public Sub Control_PrivateMethod_ByName_Raises438()
+        Dim O As Object = New Widget
+        Dim V As Variant
+        On Error Resume Next
+        V = CallByName(O, "PrivFn", VbMethod)
+        Dim N As Long = Err.Number
+        On Error GoTo 0
+        Assert.Strict.AreEqual 438, N
+    End Sub
+
+    [TestCase]
+    Public Sub Control_PublicMethod_ByItsDispId_Works()
+        Dim O As Object = New Widget
+        Assert.Strict.AreEqual 1, CLng(CallByDispId(O, &H60030000, VbMethod))
+    End Sub
+
+    [TestCase]
+    Public Sub Control_PrivateVariable_ByItsDispId_Raises438()
+        Assert.Strict.AreEqual 438, ErrorOf(&H40030001, VbGet)
+    End Sub
+
+End Module
diff --git a/bugs/filed/delegate-next-keyword/src/Sources/Startup.twin b/bugs/private-member-by-dispid/src/Sources/Startup.twin
similarity index 100%
rename from bugs/filed/delegate-next-keyword/src/Sources/Startup.twin
rename to bugs/private-member-by-dispid/src/Sources/Startup.twin
diff --git a/bugs/private-member-by-dispid/vb6/Module1.bas b/bugs/private-member-by-dispid/vb6/Module1.bas
new file mode 100644
index 000000000..113918361
--- /dev/null
+++ b/bugs/private-member-by-dispid/vb6/Module1.bas
@@ -0,0 +1,73 @@
+Attribute VB_Name = "Module1"
+Option Explicit
+
+' What VB6 does where the twinBASIC side of the report calls a Private method by its dispid.
+' Widget has PubFn (returns 1), a Private PrivFn (2), a Friend FrFn (3) and PubFn2 (4), in that
+' order. Each dispid from &H60030000 is invoked as a method through IDispatch::Invoke, which
+' DispCallFunc calls at its place in the vtable, and the HRESULT and the result are written.
+' Build and run it with:  node scripts/bug_repro.mjs vb6 private-member-by-dispid
+
+Private Declare Function DispCallFunc Lib "oleaut32" (ByVal pvInstance As Long, ByVal oVft As Long, _
+    ByVal cc As Long, ByVal vtReturn As Integer, ByVal cActuals As Long, prgvt As Integer, _
+    prgpvarg As Long, pvargResult As Variant) As Long
+
+Private Type DISPPARAMS
+    rgvarg As Long
+    rgdispidNamedArgs As Long
+    cArgs As Long
+    cNamedArgs As Long
+End Type
+
+Private Type GUIDT
+    Data(15) As Byte
+End Type
+
+Private Const CC_STDCALL As Long = 4
+Private Const INVOKE_SLOT As Long = 24  ' IDispatch::Invoke, the seventh entry of the vtable
+
+Private Function Invoke(ByVal O As Object, ByVal DispId As Long, Result As Variant) As Long
+    Dim Iid As GUIDT
+    Dim Params As DISPPARAMS
+    Dim Excep(15) As Long
+    Dim ArgErr As Long
+    Dim Types(7) As Integer
+    Dim Args(7) As Variant
+    Dim Ptrs(7) As Long
+    Dim HR As Variant
+    Dim I As Long
+    Args(0) = DispId
+    Args(1) = VarPtr(Iid)
+    Args(2) = CLng(0)
+    Args(3) = CInt(1)  ' DISPATCH_METHOD
+    Args(4) = VarPtr(Params)
+    Args(5) = VarPtr(Result)
+    Args(6) = VarPtr(Excep(0))
+    Args(7) = VarPtr(ArgErr)
+    For I = 0 To 7
+        Types(I) = VarType(Args(I))
+        Ptrs(I) = VarPtr(Args(I))
+    Next
+    DispCallFunc ObjPtr(O), INVOKE_SLOT, CC_STDCALL, vbLong, 8, Types(0), Ptrs(0), HR
+    Invoke = HR
+End Function
+
+Sub Main()
+    On Error GoTo Fail
+    Open App.Path & "\out.txt" For Output As #9
+    Dim W As Object
+    Set W = New Widget
+    Dim I As Long
+    Dim R As Variant
+    Dim HR As Long
+    For I = 0 To 5
+        R = Empty
+        HR = Invoke(W, &H60030000 + I, R)
+        Print #9, "dispid &H" & Hex(&H60030000 + I) & ": hr &H" & Hex(HR) & " result " & R
+    Next
+    Close #9
+    Exit Sub
+Fail:
+    On Error Resume Next
+    Print #9, "unhandled error " & Err.Number & ": " & Err.Description
+    Close #9
+End Sub
diff --git a/bugs/private-member-by-dispid/vb6/Probe.vbp b/bugs/private-member-by-dispid/vb6/Probe.vbp
new file mode 100644
index 000000000..cd40da3dd
--- /dev/null
+++ b/bugs/private-member-by-dispid/vb6/Probe.vbp
@@ -0,0 +1,8 @@
+Type=Exe
+Module=Module1; Module1.bas
+Class=Widget; Widget.cls
+Startup="Sub Main"
+ExeName32="Probe.exe"
+Name="Probe"
+CompilationType=0
+OptimizationType=0
diff --git a/bugs/private-member-by-dispid/vb6/Widget.cls b/bugs/private-member-by-dispid/vb6/Widget.cls
new file mode 100644
index 000000000..35d67ac0e
--- /dev/null
+++ b/bugs/private-member-by-dispid/vb6/Widget.cls
@@ -0,0 +1,30 @@
+VERSION 1.0 CLASS
+BEGIN
+  MultiUse = -1  'True
+  Persistable = 0  'NotPersistable
+  DataBindingBehavior = 0  'vbNone
+  DataSourceBehavior  = 0  'vbNone
+  MTSTransactionMode  = 0  'NotAnMTSObject
+END
+Attribute VB_Name = "Widget"
+Attribute VB_GlobalNameSpace = False
+Attribute VB_Creatable = True
+Attribute VB_PredeclaredId = False
+Attribute VB_Exposed = True
+Option Explicit
+
+Public Function PubFn() As Long
+    PubFn = 1
+End Function
+
+Private Function PrivFn() As Long
+    PrivFn = 2
+End Function
+
+Friend Function FrFn() As Long
+    FrFn = 3
+End Function
+
+Public Function PubFn2() As Long
+    PubFn2 = 4
+End Function
diff --git a/bugs/rootfolder-parent-crash/repro.json b/bugs/rootfolder-parent-crash/repro.json
deleted file mode 100644
index 65622b0bc..000000000
--- a/bugs/rootfolder-parent-crash/repro.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-  "mode": "lane",
-  "lane": "addin:parent",
-  "tests": [
-    "case a: Dim o As Object = RootFolder.Parent crashes at the read",
-    "case b: the same, then o Is Nothing: crashes at the read, so before the test",
-    "case c: RootFolder.Parent Is Nothing in one expression crashes",
-    "case d: TypeName(RootFolder.Parent) crashes",
-    "case e: Dim f As Folder = RootFolder.Parent crashes at the read"
-  ],
-  "steps": "WARNING: this add-in crashes the compiler every time it loads, until its DLL is removed. The IDE restarts the compiler, which loads the add-in and crashes again, and so on. Try it in an IDE whose add-ins you can restore.\n1. Open rootfolder-parent-crash.twinproj in the twinBASIC IDE and build it (win32). Copy Build\\RootfolderParentCrash_win32.dll into %APPDATA%\\twinBASIC\\addins\\win32\\ and restart the IDE.\n2. Open any project. Expected: the DEBUG CONSOLE prints before Parent and then after Parent. Actual: it prints before Parent only, and the compiler crashes in the read of Host.FileSystem.RootFolder.Parent. The IDE restarts the compiler, which loads the add-in and crashes again (3 or 4 times in a run).\n3. To get the IDE working again, close it and delete RootfolderParentCrash_win32.dll from %APPDATA%\\twinBASIC\\addins\\win32\\ (or move it out of that folder).\n4. Control: in the add-in's Host_OnProjectLoaded, read Host.CurrentProject.RootFolder.Parent instead. It reads fine, and its Path is twinbasic:/. An add-in that reads neither does not crash.\nAsserted on BETA 983, 995 and 997 by `addin-test.bat --only parent` (P21, the ParentProbe add-in in test/addin/probes/parent, of which this project is a cut-down copy)."
-}
diff --git a/bugs/rootfolder-parent-crash/src/Sources/Startup.twin b/bugs/rootfolder-parent-crash/src/Sources/Startup.twin
deleted file mode 100644
index 549e2c083..000000000
--- a/bugs/rootfolder-parent-crash/src/Sources/Startup.twin
+++ /dev/null
@@ -1,30 +0,0 @@
-' An add-in. Once a project is open, it prints a line, reads the Parent of
-' the virtual file system's root folder (twinbasic:/) into an Object, and
-' prints a second line. The compiler crashes in the read, so the second line
-' is never printed; the IDE restarts the compiler, which loads the add-in
-' again and crashes again.
-Module Startup
-    [DllExport]
-    Public Function tbCreateCompilerAddin(ByVal Host As Host) As AddIn
-        Return New ReproAddin(Host)
-    End Function
-End Module
-
-Private Class ReproAddin
-    Implements AddIn
-    Private WithEvents Host As Host
-
-    Public Sub New(ByVal Host As Host)
-        Set Me.Host = Host
-    End Sub
-
-    Private Property Get AddIn_Name() As String
-        Return "RootFolder Parent repro"
-    End Property
-
-    Private Sub Host_OnProjectLoaded()
-        Host.DebugConsole.PrintText "before Parent"
-        Dim o As Object = Host.FileSystem.RootFolder.Parent
-        Host.DebugConsole.PrintText "after Parent"
-    End Sub
-End Class
diff --git a/bugs/rootfolder-parent-error/repro.json b/bugs/rootfolder-parent-error/repro.json
new file mode 100644
index 000000000..7210fece0
--- /dev/null
+++ b/bugs/rootfolder-parent-error/repro.json
@@ -0,0 +1,13 @@
+{
+  "mode": "lane",
+  "lane": "addin:parent",
+  "tests": [
+    "case a: Dim o As Object = RootFolder.Parent raises an error at the read",
+    "case b: the same, then o Is Nothing: the error is at the read, so before the test",
+    "case c: RootFolder.Parent Is Nothing in one expression raises an error",
+    "case d: TypeName(RootFolder.Parent) raises an error",
+    "case e: Dim f As Folder = RootFolder.Parent raises an error at the read",
+    "case g: under On Error Resume Next, the read raises &H80004005 and leaves Nothing"
+  ],
+  "steps": "1. Open rootfolder-parent-error.twinproj in the twinBASIC IDE and build it (win32). Copy Build\\RootfolderParentError_win32.dll into %APPDATA%\\twinBASIC\\addins\\win32\\ and restart the IDE.\n2. Open any project. Expected: the DEBUG CONSOLE prints before Parent, Err 0 and Is Nothing = True. Actual: Err -2147467259 Automation error, then Is Nothing = True. On BETA 1042 the console is emptied a second time as the first project opens, so open a second project to see the lines.\n3. Close the IDE and delete RootfolderParentError_win32.dll from %APPDATA%\\twinBASIC\\addins\\win32\\.\nControl: read Host.CurrentProject.RootFolder.Parent instead. It reads with no error, and its Path is twinbasic:/.\nAsserted on BETA 1042 by `addin-test.bat --only parent --ide ` (P21, the ParentProbe add-in in test/addin/probes/parent, of which this project is a cut-down copy). Up to BETA 1034 the read crashed the compiler instead, under On Error Resume Next too."
+}
diff --git a/bugs/rootfolder-parent-crash/rootfolder-parent-crash.twinproj b/bugs/rootfolder-parent-error/rootfolder-parent-error.twinproj
similarity index 64%
rename from bugs/rootfolder-parent-crash/rootfolder-parent-crash.twinproj
rename to bugs/rootfolder-parent-error/rootfolder-parent-error.twinproj
index 47170b8e3..2d9c5ef97 100644
Binary files a/bugs/rootfolder-parent-crash/rootfolder-parent-crash.twinproj and b/bugs/rootfolder-parent-error/rootfolder-parent-error.twinproj differ
diff --git a/bugs/rootfolder-parent-crash/src/Settings b/bugs/rootfolder-parent-error/src/Settings
similarity index 87%
rename from bugs/rootfolder-parent-crash/src/Settings
rename to bugs/rootfolder-parent-error/src/Settings
index ac6918117..f6030debf 100644
--- a/bugs/rootfolder-parent-crash/src/Settings
+++ b/bugs/rootfolder-parent-error/src/Settings
@@ -1,12 +1,12 @@
 {
 	"configuration.inherits": "Defaults",
-	"project.appTitle": "RootfolderParentCrash",
+	"project.appTitle": "RootfolderParentError",
 	"project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}",
 	"project.buildType": "Standard DLL",
-	"project.description": "Reproduces: Reading `Parent` of the file system's root folder crashes the compiler",
+	"project.description": "Reproduces: Reading `Parent` of the file system's root folder raises error &H80004005 instead of returning `Nothing`",
 	"project.exportPathIsV2": true,
 	"project.id": "{5C0D1E8A-6B3F-4A92-9E47-2F81D6A0C3B5}",
-	"project.name": "RootfolderParentCrash",
+	"project.name": "RootfolderParentError",
 	"project.optionExplicit": true,
 	"project.references": [
 		{
diff --git a/bugs/rootfolder-parent-error/src/Sources/Startup.twin b/bugs/rootfolder-parent-error/src/Sources/Startup.twin
new file mode 100644
index 000000000..5e1e856df
--- /dev/null
+++ b/bugs/rootfolder-parent-error/src/Sources/Startup.twin
@@ -0,0 +1,36 @@
+' An add-in. Once a project is open, it reads the Parent of the virtual file
+' system's root folder (twinbasic:/) into an Object, under On Error Resume Next,
+' and prints the error the read raised and whether the variable is Nothing.
+' BETA 1042 prints "Err -2147467259 Automation error" and "Is Nothing = True";
+' Nothing with no error is correct. Up to BETA 1034 the read crashed the
+' compiler, so the IDE restarted it, which loaded the add-in and crashed again.
+Module Startup
+    [DllExport]
+    Public Function tbCreateCompilerAddin(ByVal Host As Host) As AddIn
+        Return New ReproAddin(Host)
+    End Function
+End Module
+
+Private Class ReproAddin
+    Implements AddIn
+    Private WithEvents Host As Host
+
+    Public Sub New(ByVal Host As Host)
+        Set Me.Host = Host
+    End Sub
+
+    Private Property Get AddIn_Name() As String
+        Return "RootFolder Parent repro"
+    End Property
+
+    Private Sub Host_OnProjectLoaded()
+        Host.DebugConsole.PrintText "before Parent"
+        On Error Resume Next
+        Dim o As Object = Host.FileSystem.RootFolder.Parent
+        Dim n As Long = Err.Number
+        Dim d As String = Err.Description
+        On Error GoTo 0
+        Host.DebugConsole.PrintText "Err " & n & " " & d
+        Host.DebugConsole.PrintText "Is Nothing = " & (o Is Nothing)
+    End Sub
+End Class
diff --git a/bugs/stdole-idispatch-collection-crash/repro.json b/bugs/stdole-idispatch-collection-crash/repro.json
new file mode 100644
index 000000000..dbec6a6cb
--- /dev/null
+++ b/bugs/stdole-idispatch-collection-crash/repro.json
@@ -0,0 +1,11 @@
+{
+  "mode": "test",
+  "expect": {
+    "exit": 7,
+    "output": [
+      "^FAIL StdoleDispatchTests\\.Collection_GetTypeInfoCount_RaisesAnErrorAndDoesNotCrash: .*ACCESS_VIOLATION",
+      "^PASS StdoleDispatchTests\\.Control_TwinBasicClass_GetTypeInfoCount_Raises438$",
+      "^PASS StdoleDispatchTests\\.Control_Collection_ThroughObject_CountWorks$"
+    ]
+  }
+}
diff --git a/bugs/warning-message-names-blank/src/Settings b/bugs/stdole-idispatch-collection-crash/src/Settings
similarity index 69%
rename from bugs/warning-message-names-blank/src/Settings
rename to bugs/stdole-idispatch-collection-crash/src/Settings
index 887508abc..242f9fca9 100644
--- a/bugs/warning-message-names-blank/src/Settings
+++ b/bugs/stdole-idispatch-collection-crash/src/Settings
@@ -1,12 +1,12 @@
 {
 	"configuration.inherits": "Defaults",
-	"project.appTitle": "WarningMessageNamesBlank",
+	"project.appTitle": "StdoleIdispatchCollectionCrash",
 	"project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}",
 	"project.buildType": "Standard EXE",
-	"project.description": "Reproduces: The messages of TB0034, and of TB0035 for an `Object`, leave out the names they report",
+	"project.description": "Reproduces: A call to a method of stdole.IDispatch on a Collection crashes",
 	"project.exportPathIsV2": true,
-	"project.id": "{1F9D76A5-56E7-435D-A4DC-FB2B80069912}",
-	"project.name": "WarningMessageNamesBlank",
+	"project.id": "{030B7378-86BD-4B60-86CA-B0C6979C5893}",
+	"project.name": "StdoleIdispatchCollectionCrash",
 	"project.optionExplicit": true,
 	"project.references": [
 		{
@@ -46,6 +46,20 @@
 			"versionMajor": 1,
 			"versionMinor": 0,
 			"versionRevision": 0
+		},
+		{
+			"id": "{9847A10D-8987-44B2-8B87-EA77DEF7F1D9}",
+			"isCompilerPackage": true,
+			"licence": "MIT",
+			"name": "[COMPILER PACKAGE] Assert",
+			"path32": "",
+			"path64": "",
+			"publisher": "TWINBASIC-COMPILER",
+			"symbolId": "Assert",
+			"versionBuild": 0,
+			"versionMajor": 0,
+			"versionMinor": 0,
+			"versionRevision": 24
 		}
 	],
 	"project.settingsVersion": 1,
diff --git a/bugs/stdole-idispatch-collection-crash/src/Sources/RegressionTests.twin b/bugs/stdole-idispatch-collection-crash/src/Sources/RegressionTests.twin
new file mode 100644
index 000000000..92f41c953
--- /dev/null
+++ b/bugs/stdole-idispatch-collection-crash/src/Sources/RegressionTests.twin
@@ -0,0 +1,49 @@
+' The issue's regression tests. A call through a variable declared As stdole.IDispatch is compiled
+' as a late-bound call by name (bugs/stdole-idispatch-late-bound), so GetTypeInfoCount on an object
+' with no member of that name raises error 438. For a Collection, BETA 1042 ends the program with an
+' access violation instead, under On Error Resume Next; BETA 1034 raised 438, as it still does for an
+' object of a twinBASIC class. Each case asserts what is correct; a case that fails is the bug.
+
+Class Widget
+    Public Hits As Long
+    Public Sub Hello()
+        Hits += 1
+    End Sub
+End Class
+
+[TestFixture]
+Module StdoleDispatchTests
+
+    [TestCase]
+    Public Sub Collection_GetTypeInfoCount_RaisesAnErrorAndDoesNotCrash()
+        Dim c As New Collection
+        Dim d As stdole.IDispatch = c
+        Dim count As Long = -1
+        On Error Resume Next
+        d.GetTypeInfoCount count
+        Dim n As Long = Err.Number
+        On Error GoTo 0
+        Assert.Strict.AreEqual 438, n
+    End Sub
+
+    [TestCase]
+    Public Sub Control_TwinBasicClass_GetTypeInfoCount_Raises438()
+        Dim w As New Widget
+        Dim d As stdole.IDispatch = w
+        Dim count As Long = -1
+        On Error Resume Next
+        d.GetTypeInfoCount count
+        Dim n As Long = Err.Number
+        On Error GoTo 0
+        Assert.Strict.AreEqual 438, n
+    End Sub
+
+    [TestCase]
+    Public Sub Control_Collection_ThroughObject_CountWorks()
+        Dim c As New Collection
+        c.Add 1
+        Dim o As Object = c
+        Assert.Strict.AreEqual 1, CLng(o.Count)
+    End Sub
+
+End Module
diff --git a/bugs/stdole-idispatch-collection-crash/src/Sources/Startup.twin b/bugs/stdole-idispatch-collection-crash/src/Sources/Startup.twin
new file mode 100644
index 000000000..20233b3a9
--- /dev/null
+++ b/bugs/stdole-idispatch-collection-crash/src/Sources/Startup.twin
@@ -0,0 +1,6 @@
+Module Startup
+
+    Public Sub Main()
+    End Sub
+
+End Module
diff --git a/bugs/stdole-idispatch-collection-crash/stdole-idispatch-collection-crash.twinproj b/bugs/stdole-idispatch-collection-crash/stdole-idispatch-collection-crash.twinproj
new file mode 100644
index 000000000..14deebb4a
Binary files /dev/null and b/bugs/stdole-idispatch-collection-crash/stdole-idispatch-collection-crash.twinproj differ
diff --git a/bugs/tb0034-level-ignored/repro.json b/bugs/tb0034-level-ignored/repro.json
deleted file mode 100644
index 9187c4271..000000000
--- a/bugs/tb0034-level-ignored/repro.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-  "mode": "compile",
-  "expect": {
-    "exit": 0,
-    "output": ["\\{WARNING\\} [^\"]*\\[4,\\d+\\]: TB0034 ", "\\{WARNING\\} [^\"]*\\[13,\\d+\\]: TB0034 "],
-    "absent": ["TB0015"]
-  }
-}
diff --git a/bugs/tb0034-level-ignored/src/Settings b/bugs/tb0034-level-ignored/src/Settings
deleted file mode 100644
index 8767dc62c..000000000
--- a/bugs/tb0034-level-ignored/src/Settings
+++ /dev/null
@@ -1,64 +0,0 @@
-{
-	"configuration.inherits": "Defaults",
-	"project.appTitle": "Tb0034LevelIgnored",
-	"project.buildPath": "${SourcePath}\\Build\\${ProjectName}_${Architecture}.${FileExtension}",
-	"project.buildType": "Standard EXE",
-	"project.description": "Reproduces: TB0034 is reported as a warning whatever level Project Settings or an attribute gives it",
-	"project.exportPathIsV2": true,
-	"project.id": "{F768410E-E5CE-4887-93FD-B5B45D945BCE}",
-	"project.name": "Tb0034LevelIgnored",
-	"project.optionExplicit": true,
-	"project.references": [
-		{
-			"id": "{00020430-0000-0000-C000-000000000046}",
-			"lcid": 0,
-			"name": "OLE Automation",
-			"path32": "C:\\Windows\\SysWOW64\\stdole2.tlb",
-			"path64": "C:\\Windows\\System32\\stdole2.tlb",
-			"symbolId": "stdole",
-			"versionMajor": 2,
-			"versionMinor": 0
-		},
-		{
-			"id": "{F50B82D0-DCAB-43FE-9631-11959D4A4728}",
-			"isCompilerPackage": true,
-			"licence": "MIT",
-			"name": "[COMPILER PACKAGE] twinBASIC - VB Compatibility Package (Forms)",
-			"path32": "",
-			"path64": "",
-			"publisher": "TWINBASIC-COMPILER",
-			"symbolId": "VB",
-			"versionBuild": 0,
-			"versionMajor": 0,
-			"versionMinor": 0,
-			"versionRevision": 31
-		},
-		{
-			"id": "{C192FB39-64CA-4D9B-B477-A5502F48EFCC}",
-			"isCompilerPackage": true,
-			"licence": "MIT",
-			"name": "[COMPILER PACKAGE] twinBASIC - App global class object",
-			"path32": "",
-			"path64": "",
-			"publisher": "TWINBASIC-COMPILER",
-			"symbolId": "AppGlobalClassProject",
-			"versionBuild": 0,
-			"versionMajor": 1,
-			"versionMinor": 0,
-			"versionRevision": 0
-		}
-	],
-	"project.settingsVersion": 1,
-	"project.startupObject": "Sub Main",
-	"project.warnings": {
-		"errors": [],
-		"hints": [],
-		"ignored": [
-			"TB0015",
-			"TB0034"
-		],
-		"info": [],
-		"warnings": []
-	},
-	"runtime.useUnicodeStandardLibrary": true
-}
diff --git a/bugs/tb0034-level-ignored/src/Sources/Startup.twin b/bugs/tb0034-level-ignored/src/Sources/Startup.twin
deleted file mode 100644
index 166bf4b5f..000000000
--- a/bugs/tb0034-level-ignored/src/Sources/Startup.twin
+++ /dev/null
@@ -1,14 +0,0 @@
-Module Startup
-    ' Settings puts TB0015 and TB0034 at IGNORE. TB0015 is not reported; TB0034 is, as a warning.
-    Private Declare PtrSafe Sub GetMem4 Lib "msvbvm60" (ByVal Src As LongPtr, ByVal Dst As LongPtr)
-    Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" (ByRef PicDesc As Any, ByRef RefIID As Any, ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long
-
-    Public Sub Main()
-    End Sub
-End Module
-
-' The attribute does not turn it off either.
-[IgnoreWarnings(TB0034)]
-Module ByAttribute
-    Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" (ByRef PicDesc As Any, ByRef RefIID As Any, ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long
-End Module
diff --git a/bugs/tb0034-level-ignored/tb0034-level-ignored.twinproj b/bugs/tb0034-level-ignored/tb0034-level-ignored.twinproj
deleted file mode 100644
index e7250c222..000000000
Binary files a/bugs/tb0034-level-ignored/tb0034-level-ignored.twinproj and /dev/null differ
diff --git a/bugs/warning-message-names-blank/repro.json b/bugs/warning-message-names-blank/repro.json
deleted file mode 100644
index 7563ba5c3..000000000
--- a/bugs/warning-message-names-blank/repro.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "mode": "compile",
-  "expect": {
-    "exit": 0,
-    "output": [
-      "TB0034 Use of legacy DLL\\s+has been redirected to\\s*\"",
-      "TB0035 Conversion from type \\{0\\} to type \\{1\\} might fail at runtime\\.\\s+Use \\{2\\}\\(expression\\)"
-    ]
-  }
-}
diff --git a/bugs/warning-message-names-blank/src/Sources/Startup.twin b/bugs/warning-message-names-blank/src/Sources/Startup.twin
deleted file mode 100644
index 2a083b26b..000000000
--- a/bugs/warning-message-names-blank/src/Sources/Startup.twin
+++ /dev/null
@@ -1,13 +0,0 @@
-[EnforceWarnings(TB0035)]
-Module Startup
-    ' TB0034: the message should name OLEPRO32.DLL and OLEAUT32.DLL, as BETA 1033's TB0015 did
-    Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" (ByRef PicDesc As Any, ByRef RefIID As Any, ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long
-
-    Public Sub Main()
-        Dim o As Object
-        Dim v As Variant
-        Dim f As StdFont
-        Set f = o       ' TB0035 with {0}, {1} and {2} in its message
-        Set f = v       ' TB0035 naming Variant and Font, as it should
-    End Sub
-End Module
diff --git a/bugs/warning-message-names-blank/warning-message-names-blank.twinproj b/bugs/warning-message-names-blank/warning-message-names-blank.twinproj
deleted file mode 100644
index b3c4fa0d3..000000000
Binary files a/bugs/warning-message-names-blank/warning-message-names-blank.twinproj and /dev/null differ
diff --git a/builder/package-api.json b/builder/package-api.json
index 30ae0a32a..6e91d3bb7 100644
--- a/builder/package-api.json
+++ b/builder/package-api.json
@@ -1,5 +1,5 @@
 {
-  "build": 1010,
+  "build": 1042,
   "packages": {
     "AppGlobalClassProject": {
       "exports": ["AppGlobalClassObject"],
@@ -627,7 +627,6 @@
         {"name":"Math","kind":"module","members":{"Atn":"function","Cos":"function","Sin":"function","Sqr":"function","Tan":"function","Exp":"function","Log":"function","Sgn":"function","Abs":"function","Round":"function","Rnd":"function","Randomize":"sub","ShiftRotateLeft":"sub","ShiftRotateRight":"sub","ShiftUnsignedRight":"sub","ByteSwap":"sub"}},
         {"name":"Strings","kind":"module","members":{"Asc":"function","AscW":"function","AscB":"function","Chr$":"function","Chr":"function","ChrW$":"function","ChrW":"function","ChrB$":"function","ChrB":"function","Mid$":"function","Mid":"function","MidB$":"function","MidB":"function","Left$":"function","Left":"function","LeftB$":"function","LeftB":"function","Right$":"function","Right":"function","RightB$":"function","RightB":"function","Space$":"function","Space":"function","String$":"function","String":"function","LTrim$":"function","LTrim":"function","RTrim$":"function","RTrim":"function","Trim$":"function","Trim":"function","MonthName":"function","WeekdayName":"function","StrReverse":"function","LCase$":"function","LCase":"function","UCase$":"function","UCase":"function","Format$":"function","Format":"function","FormatCurrency":"function","FormatNumber":"function","FormatPercent":"function","FormatDateTime":"function","StrComp":"function","StrConv":"function","Join":"function","Replace":"function","InStr$":"function","InStr":"function","InStrB":"function","InStrRev":"function","Filter":"function","Split":"function","Len$":"function","Len":"function","LenB$":"function","LenB":"function"}},
         {"name":"TextEncodingConstants","kind":"module","members":{"default_system_ansi":"const","utf_7":"const","utf_7_bom":"const","utf_8":"const","utf_8_bom":"const","utf_16":"const","utf_16_bom":"const","us_ascii":"const","koi8_u":"const","koi8_r":"const","big5":"const","iso_8859_1_latin1":"const","iso_8859_2_latin2":"const","iso_8859_3_latin3":"const","iso_8859_4_latin4":"const","iso_8859_5_cyrillic":"const","iso_8859_6_arabic":"const","iso_8859_7_greek":"const","iso_8859_8_hebrew":"const","iso_8859_9_latin5_turkish":"const","iso_8859_10_latin6_nordic":"const","iso_8859_11_thai":"const","iso_8859_13_latin8_baltic":"const","iso_8859_14_latin8_celtic":"const","iso_8859_15_latin9_euro":"const","iso_8859_16_latin10_balkan":"const","windows_1250_central_europe":"const","windows_1251_cyrillic":"const","windows_1252_western":"const","windows_1253_greek":"const","windows_1254_turkish":"const","windows_1255_hebrew":"const","windows_1256_arabic":"const","windows_1257_baltic":"const","windows_1258_vietnamese":"const","ibm_850_western_europe":"const","ibm_852_central_and_eastern_europe":"const","ibm_855_cyrillic":"const","ibm_856_hebrew":"const","ibm_857_turkish":"const","ibm_858_western_europe":"const","ibm_860_portuguese":"const","ibm_861_icelandic":"const","ibm_862_hebrew":"const","ibm_863_canadian":"const","ibm_865_danish":"const","ibm_866_cyrillic":"const","ibm_869_greek":"const","ibm_932_japanese":"const","ibm_949_korean":"const"},"hiddenMembers":["default_system_ansi","utf_7","utf_7_bom","utf_8","utf_8_bom","utf_16","utf_16_bom","us_ascii","koi8_u","koi8_r","big5","iso_8859_1_latin1","iso_8859_2_latin2","iso_8859_3_latin3","iso_8859_4_latin4","iso_8859_5_cyrillic","iso_8859_6_arabic","iso_8859_7_greek","iso_8859_8_hebrew","iso_8859_9_latin5_turkish","iso_8859_10_latin6_nordic","iso_8859_11_thai","iso_8859_13_latin8_baltic","iso_8859_14_latin8_celtic","iso_8859_15_latin9_euro","iso_8859_16_latin10_balkan","windows_1250_central_europe","windows_1251_cyrillic","windows_1252_western","windows_1253_greek","windows_1254_turkish","windows_1255_hebrew","windows_1256_arabic","windows_1257_baltic","windows_1258_vietnamese","ibm_850_western_europe","ibm_852_central_and_eastern_europe","ibm_855_cyrillic","ibm_856_hebrew","ibm_857_turkish","ibm_858_western_europe","ibm_860_portuguese","ibm_861_icelandic","ibm_862_hebrew","ibm_863_canadian","ibm_865_danish","ibm_866_cyrillic","ibm_869_greek","ibm_932_japanese","ibm_949_korean"]},
-        {"name":"TestGeneric","kind":"class","members":{"Something":"sub"}},
         {"name":"_HiddenModule","kind":"module","hidden":true,"members":{"PictureToByteArray":"function","CreateGUID":"function","GetMem1":"sub","GetMem2":"sub","GetMem4":"sub","GetMem8":"sub","GetMemPtr":"sub","PutMem1":"sub","PutMem2":"sub","PutMem4":"sub","PutMem8":"sub","PutMemPtr":"sub","vbaObjAddref":"sub","vbaObjRelease":"sub","vbaObjSetAddref":"function","vbaObjSet":"function","vbaRefVarAry":"function","vbaAryMove":"sub","CreateStdPictureFromHandle":"function","RuntimeGetBitmapBits":"sub","RuntimeSetBitmapBits":"sub","RuntimeConvertBitmapToIcon":"sub","RuntimeConvertBitmap32ToIcon":"sub","RuntimeCreateScaledPicture":"function","RuntimeCreatePremultipliedRGBABitmap32bpp":"function","RuntimePrinterGetFonts":"sub","RuntimePatchGetClipBoxForHdc":"sub","RuntimeCreateExpressionService":"function","RuntimeCreateResampledBitmap":"function","Eval":"function","vbaCopyBytes":"function","vbaCopyBytesZero":"function","AllocMem":"function","FreeMem":"sub","SetThreadGlobalErrorTrap":"sub","SuppressRaiseEvents":"sub","DontInitNextCreatedCOMInstance":"sub","ExclusivitySectionEnter":"sub","ExclusivitySectionLeave":"sub","ClipboardGetTextInternal":"function","ClipboardSetTextInternal":"sub","LoadPictureInternal":"function","LoadResDataInternal":"function","CreateClassPropertyBagUCRead2":"function","CreateClassPropertyBagUCWrite2":"function","CreateClassPropertyBagUCRead":"function","CreateClassPropertyBagUCWrite":"function","GetPropertyBagUCWriterContents":"function","HasExclusiveDefaultDispatchValue":"function","ShowPropertyPages":"sub","SynchronizeWindowSizeWithParent":"sub","CreateCoreWebView2Environment":"sub","BringWindowToFront":"sub","CrashDAP":"sub","CrashLSP":"sub","CrashFS":"sub","CrashRoot":"sub","ObjPtr":"function","StrPtr":"function","ConvertIconToBitmap":"function","Input$":"function","Input":"function","InputB$":"function","InputB":"function","Width":"sub","_FileWidth":"sub","_InStrBreak":"function","CreateCollectionObject":"function","Array":"function","Int3Breakpoint":"sub","Emit":"sub","EmitAny":"sub","GetDeclaredTypeProgId":"function","GetDeclaredTypeIid":"function","GetDeclaredTypeEventIid":"function","GetDeclaredTypeClsid":"function","GetDeclaredMinEnumValue":"function","GetDeclaredMaxEnumValue":"function","StackOffset":"function","StackArgsSize":"function","UnprotectedAccess":"function","CheckBadFPUInstruction":"sub","VarPtr":"function","InternalDebugHoverEval":"function","InternalDebugWatchEval":"function","InternalGetReturnAddress":"function","GetErrNumber":"function","LetErrNumber":"sub","GetErrSource":"function","LetErrSource":"sub","GetErrDescription":"function","LetErrDescription":"sub","GetErrHelpFile":"function","LetErrHelpFile":"sub","GetErrHelpContext":"function","LetErrHelpContext":"sub","ErrRaise":"sub","ErrClear":"sub","GetErrLastDllError":"function","LetErrLastDllError":"sub","GetErrLastHresult":"function","GetErrReturnHResult":"function","LetErrReturnHResult":"sub","EnsureContainerIsLoaded":"sub","ResetFirstMethodAccessFlag":"sub","MemZero":"sub","GetClasInstanceAxMiscFlags":"sub","GetClassInstanceSerializer":"function","GetClassInstanceRefCount":"function","RuntimeGetChildControlsList":"function","RuntimeCreateGetMessageHook":"function","vbaCastObj":"function","InterlockedExchangePointer":"function","InterlockedCompareExchangePointer":"function","InterlockedCompareExchange32":"function","InterlockedCompareExchange64":"function","InterlockedIncrement32":"function","InterlockedDecrement32":"function","GetShortcutTextByEnum":"function","RuntimeSetWithEvents":"function","RuntimeReadFileDataBase64":"function","RuntimeRaisePropertyNotifySinkChangedEvent":"sub","RuntimeGetPropertyPageClsidByName":"sub","RuntimeMapDispIdToPropertyPageClsid":"function","RuntimeGetTypeInfoPropertyList":"function","RuntimeCreateRecurseProtectedObjectWrapper":"function","GetInheritedOwner":"function","SetClassOverrideDispatch":"sub","RuntimeSharedMemCreateHost":"function","RuntimeSharedMemCreateClient":"function","RuntimeSharedMemSendMessage":"sub","RuntimeSharedMemReceiveMessage":"function","RuntimeFusionRegisterInterface":"sub","RuntimeFusionRegisterClass":"sub","RuntimeFusionCreateObject":"function","RuntimeFusionCreatePortalHost":"function","RuntimeFusionCreatePortalClient":"function","RuntimeFusionSetChannelNotificationCallback":"sub","RuntimeFusionCreateLinkedChannel":"sub","RuntimeFusionJoinLinkedChannel":"sub","RuntimeFusionProcessMessage":"sub","RuntimeFusionGetThreadID":"function","RuntimeSetActiveXInitializationOverride":"sub","RuntimeShellAutoExit":"function","RuntimeGetFusionActiveXOverrides":"sub","RuntimeShowAxAboutBox":"sub","RuntimeAxGetMiscStatus":"function","RuntimeAxGetSnapshotBits":"function","RuntimePaintBits":"sub","RuntimeFusionGetExePath":"function","RuntimeFusionStartProcess":"sub","InterlockedIncrement64":"function","InterlockedDecrement64":"function","RuntimeOverrideFusionIpcNoWait":"sub","RuntimeFusionCancelLinkedChannel":"sub","RuntimeBase64Encode":"function","RuntimeFusionCreateExplicitLinkedChannelCallback":"sub","RuntimeCreateSharedMemData":"function","RuntimeOpenSharedMemData":"function","RuntimeAccessSharedMemData":"function","RuntimeUnaccessSharedMemData":"sub","RuntimeCloseSharedMemData":"sub","RuntimeFusionInteruptPendingIPC_UIThread":"function","RuntimeFusionSetPortalTimeout":"sub","RuntimeFusionClosePortal":"sub","RuntimeBase64Decode":"function","SetClassOverrideEvents":"sub","AddClassInstanceFlag":"sub","RemoveClassInstanceFlag":"sub","ShowPropertyPageEditor":"sub","GetNameFromDispID":"function","RuntimeGetProjectConditionalCompilationArgValue":"function"},"hiddenMembers":["SuppressRaiseEvents","DontInitNextCreatedCOMInstance","ExclusivitySectionEnter","ExclusivitySectionLeave","ClipboardGetTextInternal","ClipboardSetTextInternal","LoadPictureInternal","LoadResDataInternal","CreateClassPropertyBagUCRead2","CreateClassPropertyBagUCWrite2","CreateClassPropertyBagUCRead","CreateClassPropertyBagUCWrite","GetPropertyBagUCWriterContents","HasExclusiveDefaultDispatchValue","ShowPropertyPages","SynchronizeWindowSizeWithParent","CreateCoreWebView2Environment","BringWindowToFront","CrashDAP","CrashLSP","CrashFS","CrashRoot","_FileWidth","_InStrBreak","CreateCollectionObject","Int3Breakpoint","CheckBadFPUInstruction","InternalDebugHoverEval","InternalDebugWatchEval","InternalGetReturnAddress","GetErrNumber","LetErrNumber","GetErrSource","LetErrSource","GetErrDescription","LetErrDescription","GetErrHelpFile","LetErrHelpFile","GetErrHelpContext","LetErrHelpContext","ErrRaise","ErrClear","GetErrLastDllError","LetErrLastDllError","GetErrLastHresult","GetErrReturnHResult","LetErrReturnHResult","EnsureContainerIsLoaded","ResetFirstMethodAccessFlag","MemZero","GetClasInstanceAxMiscFlags","GetClassInstanceSerializer","GetClassInstanceRefCount","SetClassOverrideDispatch","RuntimeSharedMemCreateHost","RuntimeSharedMemCreateClient","RuntimeSharedMemSendMessage","RuntimeSharedMemReceiveMessage","RuntimeFusionRegisterInterface","RuntimeFusionRegisterClass","RuntimeFusionCreateObject","RuntimeFusionCreatePortalHost","RuntimeFusionCreatePortalClient","RuntimeFusionSetChannelNotificationCallback","RuntimeFusionCreateLinkedChannel","RuntimeFusionJoinLinkedChannel","RuntimeFusionProcessMessage","RuntimeFusionGetThreadID","RuntimeShellAutoExit","RuntimeGetFusionActiveXOverrides","RuntimeShowAxAboutBox","RuntimeAxGetMiscStatus","RuntimeAxGetSnapshotBits","RuntimePaintBits","RuntimeFusionGetExePath","RuntimeFusionStartProcess","SetClassOverrideEvents","AddClassInstanceFlag","RemoveClassInstanceFlag","ShowPropertyPageEditor","GetNameFromDispID"]},
         {"name":"IGetMessageHook","kind":"interface","members":{"RegisterMessage":"sub","Start":"sub","Stop":"sub"}},
         {"name":"EnumDescendantsModeFlags","kind":"enum","in":"IGetMessageHook","values":["ExactWindow","AllDescendants","DirectChildren"]},
diff --git a/check.bat b/check.bat
index 60c6c6302..a5f032a22 100644
--- a/check.bat
+++ b/check.bat
@@ -30,6 +30,11 @@ node scripts/check_dot_fit.mjs
 @if errorlevel 1 goto :fail
 node scripts/pick_a11y_sample.mjs --check
 @if errorlevel 1 goto :fail
+@rem A screenshot's declared size must be its pixels over its scale, or the
+@rem picture is blurred or stretched and the build, which checks only the link,
+@rem stays green. The screenshot tools set the sizes; this catches a hand edit.
+node scripts/check_shot_sizes.mjs
+@if errorlevel 1 goto :fail
 @popd
 @exit /b 0
 :fail
diff --git a/docs/Documentation/Building.md b/docs/Documentation/Building.md
index 0b1aed79d..822b60517 100644
--- a/docs/Documentation/Building.md
+++ b/docs/Documentation/Building.md
@@ -64,7 +64,8 @@ Do not drop `--check-audit-index` when typing the underlying build command: with
     node scripts/check_tree_fresh.mjs \
       && node scripts/check_a11y.mjs \
       && node scripts/check_dot_fit.mjs \
-      && node scripts/pick_a11y_sample.mjs --check
+      && node scripts/pick_a11y_sample.mjs --check \
+      && node scripts/check_shot_sizes.mjs
 
 `test.bat` has the same shape, cheapest first:
 
@@ -153,7 +154,7 @@ A few seconds is normal: about 2--3 seconds of work plus the link check. A run s
 
 A healthy run prints no `book:` line under its `pdf:` summary. That line warns about a page `docs/_book.yml` mentions neither in the book nor in its `left_out:` list; see [Book Configuration](Book-Configuration#pages-left-out-of-the-book).
 
-`check.bat` runs its four gates in order and ends on the scan's tally:
+`check.bat` runs its gates in order. The line to look for is the accessibility scan's tally:
 
     14 pages x 2 theme(s) x 2 viewport(s) + 8 state audit(s) checked: 0 violation(s), 46 incomplete check(s)
 
diff --git a/docs/Documentation/Images/Tools-Groups.dot b/docs/Documentation/Images/Tools-Groups.dot
index a757b6535..369a219d9 100644
--- a/docs/Documentation/Images/Tools-Groups.dot
+++ b/docs/Documentation/Images/Tools-Groups.dot
@@ -97,7 +97,8 @@ digraph tools_groups {
         s5 [label="check_dot_fit"]      s6 [label="check_a11y"]
         s7 [label="pick_a11y_sample"]   s8 [label="axe-scan"]
         s9 [label="check_a11y_fingerprint"] s10 [label="sweep_a11y"]
-        s1 -> s3 -> s5 -> s7 -> s9
+        s11 [label="check_shot_sizes"]
+        s1 -> s3 -> s5 -> s7 -> s9 -> s11
         s2 -> s4 -> s6 -> s8 -> s10
         { rank=same; s3 s4 }
         { rank=same; s5 s6 }
@@ -290,6 +291,8 @@ digraph tools_groups {
          tooltip="Gates any change to what the accessibility scan runs, by comparing the findings of two schemes over the full page, theme and viewport matrix."]
     s10 [URL="Tools-Site-Checks#sweep-a11y"
          tooltip="Runs the accessibility scan over every page in both themes and both viewports. It takes about twenty minutes, so no commit gate runs it."]
+    s11 [URL="Tools-Site-Checks#check-shot-sizes"
+         tooltip="Fails a page whose declared size for a screenshot is not the picture's pixels divided by the scale it was taken at."]
 
     c1 [URL="Tools-Compiler#tbbuild"
         tooltip="Compiles a .twinproj in the IDE on a private desktop and prints its diagnostics. Windows only."]
diff --git a/docs/Documentation/Images/Tools-Groups.svg b/docs/Documentation/Images/Tools-Groups.svg
index 877998ffa..b12ee97cd 100644
--- a/docs/Documentation/Images/Tools-Groups.svg
+++ b/docs/Documentation/Images/Tools-Groups.svg
@@ -1,71 +1,71 @@
 
 
-
-
+
+
 tools_groups
 
 cluster_wrappers
 
-
-Batch wrappers
+
+Batch wrappers
 
 
 
 
 cluster_build
 
-
-Build and Generation
+
+Build and Generation
 
 
 
 
 cluster_site
 
-
-Site Checks
+
+Site Checks
 
 
 
 
 cluster_compiler
 
-
-Compiler Harness
+
+Compiler Harness
 
 
 
 
 cluster_tests
 
-
-Toolchain Tests
+
+Toolchain Tests
 
 
 
 
 cluster_samples
 
-
-Code Samples and Attributes
+
+Code Samples and Attributes
 
 
 
 
 cluster_ide
 
-
-IDE Automation
+
+IDE Automation
 
 
 
 
 cluster_defects
 
-
-Defect Reproducers
+
+Defect Reproducers
 
 
 
@@ -73,8 +73,8 @@
 
 w1
 
-
-build.bat
+
+build.bat
 
 
 
@@ -82,8 +82,8 @@
 
 w2
 
-
-serve.bat
+
+serve.bat
 
 
 
@@ -91,8 +91,8 @@
 
 w3
 
-
-check.bat
+
+check.bat
 
 
 
@@ -100,8 +100,8 @@
 
 w4
 
-
-test.bat
+
+test.bat
 
 
 
@@ -109,8 +109,8 @@
 
 w5
 
-
-book.bat
+
+book.bat
 
 
 
@@ -118,8 +118,8 @@
 
 w6
 
-
-examples.bat
+
+examples.bat
 
 
 
@@ -127,8 +127,8 @@
 
 w7
 
-
-addin-test.bat
+
+addin-test.bat
 
 
 
@@ -136,8 +136,8 @@
 
 w8
 
-
-ide-test.bat
+
+ide-test.bat
 
 
 
@@ -145,8 +145,8 @@
 
 w9
 
-
-try-help-addin.bat
+
+try-help-addin.bat
 
 
 
@@ -154,8 +154,8 @@
 
 w10
 
-
-package-tests.bat
+
+package-tests.bat
 
 
 
@@ -163,8 +163,8 @@
 
 b1
 
-
-tbdocs
+
+tbdocs
 
 
 
@@ -172,8 +172,8 @@
 
 b2
 
-
-render-book
+
+render-book
 
 
 
@@ -181,8 +181,8 @@
 
 b3
 
-
-compare_trees
+
+compare_trees
 
 
 
@@ -190,8 +190,8 @@
 
 b4
 
-
-survey_tooling
+
+survey_tooling
 
 
 
@@ -199,8 +199,8 @@
 
 b5
 
-
-convert_em_dash_separators
+
+convert_em_dash_separators
 
 
 
@@ -208,8 +208,8 @@
 
 b6
 
-
-build_fonts.py
+
+build_fonts.py
 
 
 
@@ -217,8 +217,8 @@
 
 b7
 
-
-build_dot_metrics
+
+build_dot_metrics
 
 
 
@@ -226,8 +226,8 @@
 
 b8
 
-
-twin-index
+
+twin-index
 
 
 
@@ -235,8 +235,8 @@
 
 s1
 
-
-check_links
+
+check_links
 
 
 
@@ -244,8 +244,8 @@
 
 s2
 
-
-crawl_check
+
+crawl_check
 
 
 
@@ -253,8 +253,8 @@
 
 s3
 
-
-check_links_diff
+
+check_links_diff
 
 
 
@@ -262,8 +262,8 @@
 
 s4
 
-
-check_tree_fresh
+
+check_tree_fresh
 
 
 
@@ -271,8 +271,8 @@
 
 s5
 
-
-check_dot_fit
+
+check_dot_fit
 
 
 
@@ -280,8 +280,8 @@
 
 s6
 
-
-check_a11y
+
+check_a11y
 
 
 
@@ -289,8 +289,8 @@
 
 s7
 
-
-pick_a11y_sample
+
+pick_a11y_sample
 
 
 
@@ -298,8 +298,8 @@
 
 s8
 
-
-axe-scan
+
+axe-scan
 
 
 
@@ -307,8 +307,8 @@
 
 s9
 
-
-check_a11y_fingerprint
+
+check_a11y_fingerprint
 
 
 
@@ -316,504 +316,513 @@
 
 s10
 
-
-sweep_a11y
+
+sweep_a11y
 
 
 
-
+
 
+s11
+
+
+check_shot_sizes
+
+
+
+
+
 c1
-
-
-tbbuild
+
+
+tbbuild
 
 
 
 
-
+
 c2
-
-
-tbrun
+
+
+tbrun
 
 
 
 
-
+
 c3
-
-
-impexp
+
+
+impexp
 
 
 
 
-
+
 c4
-
-
-check_tb_registry
+
+
+check_tb_registry
 
 
 
 
-
+
 c7
-
-
-tbbroker
+
+
+tbbroker
 
 
 
 
-
+
 c6
-
-
-probe_build_twice
+
+
+probe_build_twice
 
 
 
 
 
-
+
 t1
-
-
-check_publish_policy
+
+
+check_publish_policy
 
 
 
 
-
+
 t2
-
-
-check_regex_safety
+
+
+check_regex_safety
 
 
 
 
-
+
 t3
-
-
-check_code_regions
+
+
+check_code_regions
 
 
 
 
-
+
 t4
-
-
-check_gate_lists
+
+
+check_gate_lists
 
 
 
 
-
+
 t5
-
-
-check_ci_workflows
+
+
+check_ci_workflows
 
 
 
 
-
+
 t6
-
-
-check_lint
+
+
+check_lint
 
 
 
 
-
+
 t7
-
-
-search.test
+
+
+search.test
 
 
 
 
-
+
 t8
-
-
-render.test
+
+
+render.test
 
 
 
 
-
+
 t9
-
-
-strftime.test
+
+
+strftime.test
 
 
 
 
-
+
 t10
-
-
-png.test
+
+
+png.test
 
 
 
 
-
+
 t11
-
-
-compact-image.test
+
+
+compact-image.test
 
 
 
 
-
+
 t12
-
-
-svgshot.test
+
+
+svgshot.test
 
 
 
 
-
+
 t13
-
-
-example-batches.test
+
+
+example-batches.test
 
 
 
 
-
+
 t14
-
-
-ide-folders.test
+
+
+ide-folders.test
 
 
 
 
-
+
 t15
-
-
-addin-project.test
+
+
+addin-project.test
 
 
 
 
-
+
 t16
-
-
-check_page_baseline
+
+
+check_page_baseline
 
 
 
 
-
+
 t17
-
-
-check_book_coverage
+
+
+check_book_coverage
 
 
 
 
-
+
 t18
-
-
-check_symbol_index
+
+
+check_symbol_index
 
 
 
 
-
+
 t19
-
-
-check_twin_parsers
+
+
+check_twin_parsers
 
 
 
 
-
+
 t20
-
-
-check_attribute_sweep
+
+
+check_attribute_sweep
 
 
 
 
-
+
 t21
-
-
-check_cli
+
+
+check_cli
 
 
 
 
-
+
 t22
-
-
-check_pdf_shims_equiv
+
+
+check_pdf_shims_equiv
 
 
 
 
-
+
 t23
-
-
-check_impexp_parity
+
+
+check_impexp_parity
 
 
 
 
-
+
 t24
-
-
-check_axe_patch_equiv
+
+
+check_axe_patch_equiv
 
 
 
 
-
+
 t25
-
-
-indexer.test
+
+
+indexer.test
 
 
 
 
-
+
 t26
-
-
-check_package_tests
+
+
+check_package_tests
 
 
 
 
-
+
 t27
-
-
-broker.test
+
+
+broker.test
 
 
 
 
-
+
 t28
-
-
-ide-js.test
+
+
+ide-js.test
 
 
 
 
-
+
 t29
-
-
-shot-review.test
+
+
+shot-review.test
 
 
 
 
-
+
 t30
-
-
-check_callout_evidence
+
+
+check_callout_evidence
 
 
 
 
-
+
 e1
-
-
-check_examples
+
+
+check_examples
 
 
 
 
-
+
 e2
-
-
-gen_attribute_probes
+
+
+gen_attribute_probes
 
 
 
 
-
+
 e3
-
-
-census_attributes
+
+
+census_attributes
 
 
 
 
-
+
 e4
-
-
-sweep_attributes
+
+
+sweep_attributes
 
 
 
 
-
+
 e5
-
-
-package_tests
+
+
+package_tests
 
 
 
 
-
+
 i1
-
-
-addin_test
+
+
+addin_test
 
 
 
 
-
+
 i2
-
-
-ide_test
+
+
+ide_test
 
 
 
 
-
+
 i3
-
-
-try_help_addin
+
+
+try_help_addin
 
 
 
 
-
+
 i4
-
-
-shoot_docs
+
+
+shoot_docs
 
 
 
 
-
+
 i5
-
-
-imagestrip
+
+
+imagestrip
 
 
 
 
-
+
 i8
-
-
-probe_theme_semicolon
+
+
+probe_theme_semicolon
 
 
 
 
-
+
 i7
-
-
-svgshot/replay
+
+
+svgshot/replay
 
 
 
 
-
+
 i10
-
-
-shot_review
+
+
+shot_review
 
 
 
 
-
+
 i11
-
-
-svgshot/chromeshot
+
+
+svgshot/chromeshot
 
 
 
 
-
+
 i12
-
-
-svgshot/chrome_try
+
+
+svgshot/chrome_try
 
 
 
 
-
+
 d1
-
-
-bug_repro
+
+
+bug_repro
 
 
 
 
-
+
 d2
-
-
-vb6run
+
+
+vb6run
 
 
 
 
-
+
 d3
-
-
-recheck_callouts
+
+
+recheck_callouts
 
 
 
 
-
+
 d4
-
-
-ide_js
+
+
+ide_js
 
 
 
@@ -840,6 +849,7 @@
 
 
 
+
 
 
 
diff --git a/docs/Documentation/Tools-IDE.md b/docs/Documentation/Tools-IDE.md
index f1a8cb0f2..becdbd8ed 100644
--- a/docs/Documentation/Tools-IDE.md
+++ b/docs/Documentation/Tools-IDE.md
@@ -120,6 +120,8 @@ Takes the documentation's screenshots of the IDE, so that one run regenerates th
 
 Every IDE is set up as a lane of [`addin_test.mjs`](#addin-test) is, with a private `APPDATA` and `TB_ADDIN_TEST` set to `1`, and never appears on your desktop.
 
+**Every run that would write under `docs` is a run of the review session** of [`shot_review.mjs`](#shot-review), whether it is typed in a terminal or started from the tool. When the review tool is open for the checkout, a run typed in a terminal is handed to it: it shows on the tool's runs page, and the terminal shows its lines until it ends. When the tool is not open, the run opens the session itself and runs as the tool would run it, with `--stage` and `--events`, applying each decision under `docs` as it arrives and recording the run, so that the tool shows it the next time it is opened. Either way the run is compared with the session's baseline, Ctrl+C stops it as the tool's **Stop** does, and a second Ctrl+C ends its process. Such a run refuses `--diffs`, `--bundles` and `--against-disk`, and an `--against` other than the baseline: they apply only with `--out` naming another folder, or with `--stage`. `--list` and `--cleanup --dry-run` write nothing and run as they are. The same holds for [`replay.mjs`](#replay) and [`chromeshot.mjs`](#chromeshot).
+
 The pictures are repeatable. The IDE lays its page out at 100% whatever the display's scaling, the page has a fixed size of 1280 by 880 CSS pixels at 2x, and animations and the text caret are switched off. The IDE's options, panel layouts and keyboard shortcut groups are set to their defaults in the page only, and the recent-project lists are replaced there, so no picture shows your own choices or projects. Nothing is saved: the IDE is started with `--no-save-ide-settings` and `--no-update-recent-files`. A picture that shows the Debug Console has its line times set to fixed values.
 
 Menus are cut out, transparent around the menu; dialogs are taken whole. A running program's window is taken once, not in two themes, at the display's scaling. Arrows, rings and numbered badges are drawn by the tool (`scripts/svgshot/annotate.mjs`), anchored to the element they point at, so a retake after a new BETA puts them where the element now is.
@@ -147,7 +149,7 @@ Flags:
 - `--cleanup` starts no IDE and no browser. Every PNG under the output folder that git reports modified against the revision (`--against`, `HEAD` by default) and that is within the noise of the revision's is put back as the revision has it, with its SVG as a restored picture's is, so that only real changes stay in the working folder. An added or a deleted picture, one that differs by more than the noise, and one whose SVG alone changed are real changes and are left alone. It prints each path it puts back and a count of those, the real changes and the added and deleted pictures it skipped. `--dry-run` lists them and changes nothing. `--only` chooses a PNG when the expression matches its dark path or its `.light.png`; `--out` and `--against` apply, and the flags that need an IDE are refused. The noise is the same test, in `scripts/lib/shot-change.mjs`, that the capture applies.
 - `--jobs` is how many IDEs run at once, 6 by default and at most 16. Each runs on a private desktop (a slot from [`tbbroker`](Tools-Compiler#tbbroker)) with a work folder and an install copy of its own, and a DevTools port Windows picks. The setups wait in a queue, the longest first, and the three long ones (no-project, sample and customcontrols) are cut into three parts, each in an IDE of its own. Every line of output starts with the setup or part it is from. `--jobs 1` runs each setup whole, one after another.
 - The help setup's slot also carries a port from the broker for the add-in's detached window, which the add-in has to be told before it binds it. The add-in's saved settings (`tbDocsHelp`) are emptied for the run and, with the IDE's project state, put back at the end.
-- `--svg` also draws each picture as SVG, from the page as it stands at the capture, and writes it beside the PNG as `X.svg` when it is close enough to the PNG (see [A picture as SVG](Authoring#a-picture-as-svg)). An SVG already there is rewritten only when its PNG is. It needs Python with fontTools. What the SVG is drawn from --- the page's layout, styles and measurements --- is saved for each picture as a *bundle* in the folder `--bundles` names, `.svgshot-bundles` in the repository by default, so that [`replay.mjs`](#replay) can draw the SVG again without the IDE. Git ignores that folder, and it must stay outside `docs`: a bundle holds the Windows user name.
+- `--svg` also draws each picture as SVG, from the page as it stands at the capture, and writes it beside the PNG as `X.svg` when it is close enough to the PNG (see [A picture as SVG](Authoring#a-picture-as-svg)). An SVG already there is rewritten only when its PNG is. An SVG that draws exactly the same pixels as the revision's SVG (`--against`) puts the revision's bytes back, and one that draws the same pixels as the file's leaves the file as it is: bytes no one sees, such as the order of an element's attributes, are not kept. Both are drawn as the site shows a picture, at its device scale, and compared exactly; an SVG that stays with its PNG and draws as the revision's goes back to the revision's bytes too. It needs Python with fontTools. What the SVG is drawn from --- the page's layout, styles and measurements --- is saved for each picture as a *bundle* in the folder `--bundles` names, `.svgshot-bundles` in the repository by default, so that [`replay.mjs`](#replay) can draw the SVG again without the IDE. Git ignores that folder, and it must stay outside `docs`: a bundle holds the Windows user name.
 - `--stage` names a folder, new or empty, outside `docs` and at a path git ignores, that takes everything the run would write: nothing is written under the output folder, to the bundle folder or to `test/shots/manifest.json`. Each picture's capture, its SVG whether or not it is close enough, its bundle, its difference pictures, its *strength maps* (how many levels each pixel is off the picture it was compared with, and the SVG's off its PNG) and what was decided about it go there, laid out as `scripts/lib/shot-stage.mjs` describes, so that another program can apply the decisions afterwards. With `--svg`, the SVG of a picture whose PNG is not written is judged and staged too, its decision *unchanged*, so that a program that takes the capture after all can write the SVG as judged. The lines printed say what was decided, as without it. It cannot be given with `--diffs` or `--bundles`. The fonts' cuts are still kept in the bundle folder's `subsets`, since a cut depends only on the font and its characters.
 - `--list` starts no IDE and takes nothing. It prints the tool's table of pictures as one line of JSON: for each, the dark picture's path under `docs` (its light one is `X.light.png`, unless the picture is taken once), its setup, whether it is taken once, and whether it is of a running program's window, which has no SVG. `--only` applies, and every other flag is refused. A shot of a program's window says so in the table, and a shot whose capture and table disagree fails, so the list is always right.
 - `--events` also prints a line for each event, `@@shot-event` followed by JSON: the run with its jobs and pictures, each job started, done or failed, each picture's verdict, each SVG's, a picture that failed or was not taken, and the summary. A picture's verdict says what it was compared with, its regions of change and whether it needs a person to look at it (`scripts/lib/shot-queue.mjs`). With `--events`, a line `stop` on standard input stops the run: no further picture is taken and no further setup started, and the IDEs end and the registry is put back as at the end of a run.
@@ -157,11 +159,11 @@ Exit codes: **0** every picture was written or was unchanged (with `--cleanup`,
 ## replay.mjs
 {: #replay }
 
-    node scripts/svgshot/replay.mjs [--only ] [--bundles ] [--out ] [--diffs  | --stage ] [--events] [--recheck] [--jobs N]
+    node scripts/svgshot/replay.mjs [--only ] [--bundles ] [--out ] [--diffs  | --stage ] [--events] [--recheck] [--against ] [--jobs N]
 
 Draws each picture's SVG again, with the SVG converter as it is now, from the bundle that [`shoot_docs.mjs --svg`](#shoot-docs) or [`chromeshot.mjs`](#chromeshot) saved with the picture. It starts no IDE and takes no picture, so a change to the converter under `scripts/svgshot/` is tried on every picture in about 20 seconds.
 
-Each SVG is compared with its PNG and written, left unchanged or removed as `shoot_docs.mjs` does. An SVG that comes out the same as the file already there is not compared again, so a replay with the converter unchanged reports every picture `unchanged`. A picture whose entry in `test/shots/manifest.json` names its SVG is compared again all the same, and judged by that entry as `shoot_docs.mjs` judges it.
+Each SVG is compared with its PNG and written, left unchanged or removed as `shoot_docs.mjs` does. First, an SVG that draws exactly the same pixels as the SVG at the revision `--against` names (`HEAD` by default) puts that SVG's bytes back, and one that draws the same pixels as the file's leaves the file as it is, as `shoot_docs.mjs --svg` does. So a replay puts back the SVGs a run from a terminal rewrote in bytes alone. Git runs in the `--out` folder; a folder outside git is compared with its files only. An SVG that comes out the same as the file already there is not compared again, so a replay with the converter unchanged reports every picture `unchanged`. A picture whose entry in `test/shots/manifest.json` names its SVG is compared again all the same, and judged by that entry as `shoot_docs.mjs` judges it.
 
 Cutting an SVG's fonts down to the characters it draws takes most of the time, so each cut is kept in the `subsets` folder of the bundle folder, named by a hash of the font, the characters and the cutting script. [`shoot_docs.mjs --svg`](#shoot-docs) keeps and reuses them the same way.
 
@@ -175,6 +177,8 @@ The list ends with the `shoot_docs.mjs --svg --only` command that takes those pi
 
 `--only` takes the pictures whose path under `docs` matches a regular expression, a light picture's path ending in `.light.png`. `--bundles` is the bundle folder, `.svgshot-bundles` by default, and `--out` the folder the pictures are in, `docs` by default. `--diffs` names a folder for each SVG's difference picture against its PNG. `--recheck` compares every SVG with its PNG, also one that is the same as the file, for when the comparison itself has changed. `--jobs` is how many processes draw at once, each with a browser of its own, by default half the logical processors and at most 8. `--stage` and `--events` work as for [`shoot_docs.mjs`](#shoot-docs): the stage takes each SVG drawn, its difference picture, its strength map and what was decided about it, and nothing is written under the output folder; `stop` on standard input is passed to every process, and each draws no further SVG.
 
+A replay that would write under `docs` is a run of the review session, as a [`shoot_docs.mjs`](#shoot-docs) run is.
+
 The tool needs Python with fontTools, as `--svg` does, for a cut that is not kept yet.
 
 Exit codes: **0** every picture was drawn again; **1** a picture needs a retake, could not be drawn, or its SVG holds a word no published picture may show (the Windows user name, git's `user.name` or `user.email`, or a word of `scripts/svgshot/private.json`); **2** the tool could not run: a refused command line, no bundle folder, no browser, or a crash.
@@ -214,7 +218,7 @@ The mask finds text. It does not find text inside a picture or a ``, or
 ## chromeshot.mjs
 {: #chromeshot }
 
-    node scripts/svgshot/chromeshot.mjs ... [--out ] [--bundles ] [--diffs ] [--words ] [--no-trim]
+    node scripts/svgshot/chromeshot.mjs ... [--stage ] [--events] [--against ] [--out ] [--bundles ] [--diffs ] [--words ] [--no-trim]
     node scripts/svgshot/chromeshot.mjs --take  [--captures ] [--extension ] [--no-open] [--stage ] [--events] [--against ] [--out ] [--bundles ] [--diffs ] [--words ]
 
 Turns what the [Chrome extension](#svgshot-extension) saved into a picture. A folder stands for every capture in it. For each capture it writes `X.png`, and `X.light.png` when both themes were taken, as [`shoot_docs.mjs`](#shoot-docs) writes a capture: one within a capture's noise of the picture is not written, and a light picture with the dark one's pixels is not kept. It draws each SVG from its bundle, writes it beside its PNG when it is close enough to it, and keeps the bundle in the bundle folder, so that [`replay.mjs`](#replay) draws the SVG again after a change to the converter. The line for each PNG gives the `{:width height}` for the page that shows it.
@@ -229,7 +233,9 @@ The tool needs Python with fontTools, as `--svg` does.
 
 **`--take`** helps you take the six, one after the other, those whose path under `docs` matches the regular expression. It brings the extension up to date in its own folder (`--extension`), opens the picture's page in the default browser (not with `--no-open`), tells the panel which picture is next, says what to set up, and waits for the capture in the folder your browser saves to (`--captures`; by default `svgshot` in Windows' Downloads folder). A capture arrives there when you press **Whole viewport**, and is treated as above. It takes no picture itself: only you can.
 
-A capture it cannot use is refused with the reason, and the picture is waited for again: a dragged rectangle, no marks, one theme only, a capture from another repository than the page's, or any refusal above. A capture of another picture of the run is kept for that picture's turn. Press Ctrl+C to stop; the pictures not taken stay as they are. `--stage ` and `--events` make it a run of [`shot_review.mjs`](#shot-review), as they do [`shoot_docs.mjs`](#shoot-docs), and `--against` compares with another revision than `HEAD`.
+A capture it cannot use is refused with the reason, and the picture is waited for again: a dragged rectangle, no marks, one theme only, a capture from another repository than the page's, or any refusal above. A capture of another picture of the run is kept for that picture's turn. Press Ctrl+C to stop; the pictures not taken stay as they are. `--stage ` and `--events` make it a run of [`shot_review.mjs`](#shot-review), as they do [`shoot_docs.mjs`](#shoot-docs), and `--against` compares with another revision than `HEAD`. They apply to named captures as well, each capture a job of the run.
+
+With either form, a run that would write under `docs` is a run of the review session, as a [`shoot_docs.mjs`](#shoot-docs) run is.
 
 Exit codes: **0** every capture was written, or left the pictures as they are; **1** a capture was refused or could not be drawn; **2** the tool could not run: a refused command line, or a capture that cannot be read.
 
@@ -256,7 +262,7 @@ It serves its pages at `http://127.0.0.1:4180/`, on the loopback address only; `
 
 The tool works in a *session*: a folder in `.shot-review` at the repository's root, which git ignores, since what it holds can show the Windows user name. A session's *baseline* is the commit its pictures are compared with: `HEAD` when the session was made. Closing the tool loses nothing, and the next start opens the same session. Only one tool at a time holds it.
 
-**The overview** (`/`) shows every picture the session's runs took or drew, as cards in groups: in progress, needs a look, changed (most changed first), only noise, changed outside the runs, unchanged, and added, deleted or failed. *Needs a look* holds the pictures whose decision a person should check, chosen from the regions of the picture that changed: a capture taken although only a fringe or a caret changed, or only a word or two; a capture kept as noise although a block of it changed; an SVG accepted although a part of it is missing, or refused for a fringe alone. *Changed outside the runs* holds the pictures under `docs` that differ from the baseline although no run of the session reported them, such as a retake from a terminal. Each card shows a chip for each decision, why the picture needs a look, and its allowances. Filters show only the pictures that need a look, those with an allowance or a decision (*Overridden*), or those with no SVG. **Resume at** goes back to where the review of *Needs a look* was left.
+**The overview** (`/`) shows every picture the session's runs took or drew, as cards in groups: in progress, needs a look, changed (most changed first), only noise, changed outside the runs, unchanged, and added, deleted or failed. *Needs a look* holds the pictures whose decision a person should check, chosen from the regions of the picture that changed: a capture taken although only a fringe or a caret changed, or only a word or two; a capture kept as noise although a block of it changed; an SVG accepted although a part of it is missing, or refused for a fringe alone. *Changed outside the runs* holds the pictures under `docs` whose PNG or SVG differs from the baseline although no run of the session wrote it, such as a retake from a terminal or an edit, whether a run reported the picture or not. A picture's page there shows what changed, the SVG at the baseline beside the file's, and offers **Keep it as it is** or **Put back the baseline's**; the commit waits until each such picture is one or the other. Each card shows a chip for each decision, why the picture needs a look, and its allowances. Filters show only the pictures that need a look, those with an allowance or a decision (*Overridden*), or those with no SVG. **Resume at** goes back to where the review of *Needs a look* was left.
 
 **All pictures** (`/all`) shows every picture `shoot_docs.mjs` takes (the table that [`shoot_docs.mjs --list`](#shoot-docs) prints) and the six of the [Chrome extension](#svgshot-extension), as the working folder has it, whatever any session did. So it is the page to open after a commit, when the overview of the new session is empty. Each card shows the picture's PNG and whether it has an SVG, the build `test/shots/manifest.json` records for it, and its allowances. Its groups are the pictures with no SVG that are of a program's window, the other pictures with no SVG, those the table names that are not under `docs`, those with an allowance or a decision, those with no automated capture, and those with an SVG. A picture with no SVG says why: a program's window, or what the newest verdict of this session or of an archived one said, such as an SVG refused for how far it was off its PNG, with the run and session it is from. When no verdict says, the card says so. **Judge their SVGs again from their bundles** replays the SVGs of the pictures with no SVG that have a bundle, with `--recheck`. A card opens the picture's page of verdicts when the session has one, and otherwise a page that shows the picture at the baseline, the file and its SVG, with **Retake this picture** and **Replay its SVG**. *No automated capture* holds every other image under `docs`, such as a picture replaced by hand, to look at: no run can retake or judge one, so its page shows the file, and the picture at the baseline when that differs. What a script makes (a diagram's SVG, the build's chart, a video's poster frame) and the favicon are not listed.
 
@@ -273,9 +279,9 @@ Each change judges the picture again at once and writes the result under `docs`.
 
 **A browser retake** is for the six pictures of the [Chrome extension](#svgshot-extension), which need your own sign-in, and is what any retake of them starts: their page's button, a selection on the overview, or the form of its own on the runs page. It runs [`chromeshot.mjs --take`](#chromeshot). The tool brings the extension up to date on disk, opens the picture's page in your default browser, and shows on the runs page what to do there: the picture's state, what to do about the extension if anything, a link to open the page again, and why the last capture was refused. Set the page up and press **Whole viewport** in the panel. The tool takes in the capture when the browser saves it, judges it as it does any other, and goes on to the next picture. **Stop** ends the wait, and leaves the pictures not taken as they are. `--browser` starts one as the tool opens, `--captures` names the folder your browser saves to when it is not `svgshot` in Windows' Downloads folder, `--extension` the extension's folder, and `--no-open` opens no page. A retake of these and of the IDE's pictures are runs of their own.
 
-A retake or a replay runs with `--stage` and `--events`, so it writes nothing under `docs` itself. The tool applies each decision under `docs` as it arrives, and a picture can be reviewed while the run goes on. A retake and a clean-up compare with the session's baseline (`--against`), whatever `HEAD` is. When `HEAD` moves under the session, the overview says so and offers to move the session to it.
+A run of [`shoot_docs.mjs`](#shoot-docs), [`replay.mjs`](#replay) or [`chromeshot.mjs`](#chromeshot) typed in a terminal while the tool is open is handed to the tool, shows on its runs page with the others, and is followed in that terminal, whose Ctrl+C stops it; with the tool closed it opens the session itself, and the tool shows it the next time. A retake or a replay runs with `--stage` and `--events`, so it writes nothing under `docs` itself. The tool applies each decision under `docs` as it arrives, and a picture can be reviewed while the run goes on. A retake and a clean-up compare with the session's baseline (`--against`), whatever `HEAD` is. When `HEAD` moves under the session, the overview says so and offers to move the session to it.
 
-**The commit page** (`/commit`) commits the session's own files and nothing else: the PNGs and SVGs its runs reported that git reports changed, and `test/shots/manifest.json`. It counts them, lists them, and lists the working folder's other changes as left out. The message is one line by default, such as *Screenshots retaken on BETA 1034: 1 taken by review*, can be edited, and **Back to the default message** puts it back. The commit runs the repository's hooks, which take a few seconds. Meanwhile the tool goes on serving its pages, which say that the commit is under way, also when fetched again or opened in another tab, and it refuses any change and any run until the commit has ended. Ctrl+C waits for a commit under way to end before it closes the tool. The commit is refused while a run runs, or while `HEAD` is not the baseline. A commit closes the session: it is archived as `.shot-review/archive/`, `` the commit's short hash, and the tool goes on with the next session, whose baseline is the new commit. `--archived ` opens an archived session again, read-only, beside the open one on another `--port`.
+**The commit page** (`/commit`) commits the session's own files and nothing else: the PNGs and SVGs its runs reported that git reports changed, the pictures changed outside the runs that a review kept, and `test/shots/manifest.json`. It counts them, lists them, and lists the working folder's other changes as left out. While a picture changed outside the runs is neither kept nor put back, the page lists it and the commit waits, so that a commit from the tool leaves no picture under `docs` different from `HEAD`. The message is one line by default, such as *Screenshots retaken on BETA 1034: 1 taken by review*, can be edited, and **Back to the default message** puts it back. The commit runs the repository's hooks, which take a few seconds. Meanwhile the tool goes on serving its pages, which say that the commit is under way, also when fetched again or opened in another tab, and it refuses any change and any run until the commit has ended. Ctrl+C waits for a commit under way to end before it closes the tool. The commit is refused while a run runs, or while `HEAD` is not the baseline. A commit closes the session: it is archived as `.shot-review/archive/`, `` the commit's short hash, and the tool goes on with the next session, whose baseline is the new commit. `--archived ` opens an archived session again, read-only, beside the open one on another `--port`.
 
 Exit codes: **0** the tool was closed; **2** the tool could not run: a refused command line, the port in use, the session held by another tool, no archived session of that id, no git working folder, or a crash.
 
diff --git a/docs/Documentation/Tools-Site-Checks.md b/docs/Documentation/Tools-Site-Checks.md
index 1beea1cb5..c0efc5f54 100644
--- a/docs/Documentation/Tools-Site-Checks.md
+++ b/docs/Documentation/Tools-Site-Checks.md
@@ -65,7 +65,7 @@ Exit codes: **0** every link is reachable and every anchor exists, **1** a link
     node scripts/check_a11y.mjs [--root-dir ] [--theme light|dark|both] [--viewport desktop|mobile|both]
                                 [--stock-axe] [--minified]
 
-Automated accessibility scan of the built site, and the second of `check.bat`'s four steps (right after [`check_tree_fresh.mjs`](#check-tree-fresh)). It loads `axe-core` into headless Chromium (via `puppeteer`) and runs it against sixteen sample pages in both themes at two viewports, plus two state audits that open a disclosure first --- 72 audits in all. The page list is derived, and [`scripts/pick_a11y_sample.mjs`](#pick-a11y-sample) keeps it representative.
+Automated accessibility scan of the built site, and the second of `check.bat`'s five steps (right after [`check_tree_fresh.mjs`](#check-tree-fresh)). It loads `axe-core` into headless Chromium (via `puppeteer`) and runs it against sixteen sample pages in both themes at two viewports, plus two state audits that open a disclosure first --- 72 audits in all. The page list is derived, and [`scripts/pick_a11y_sample.mjs`](#pick-a11y-sample) keeps it representative.
 
 This script only reports. The scan itself --- page list, themes and viewports, blocked requests, axe run options, source patches and state audits --- lives in [`scripts/lib/axe-scan.mjs`](#axe-scan), shared with `sweep_a11y.mjs` and `check_a11y_fingerprint.mjs`. Change the scan there, not here.
 
@@ -205,6 +205,17 @@ It needs a browser, so it lives in `check.bat` rather than the build. Run it aft
 
 Exit codes: **0** every diagram's text fits its boxes, or no diagram was found; **1** the text of at least one diagram sits outside its box; **2** the gate could not run: a refused command line, no browser, or a crash.
 
+## check_shot_sizes.mjs
+{: #check-shot-sizes }
+
+    node scripts/check_shot_sizes.mjs [--docs ] [--manifest ]
+
+`check.bat`'s last gate. Every page that shows a screenshot recorded in `test/shots/manifest.json` must declare the size its pixels are shown at, `{:width="..." height="..."}`: its width and height in pixels divided by its scale, rounded. The scale is 2 for a picture of the IDE's page, which [`shoot_docs.mjs`](Tools-IDE#shoot-docs) takes at twice its size. For a picture of a program's window it is the display's DPI over 96, which the manifest records as the picture's `scale`. A wrong size makes the picture blurred or stretched, and the build, which checks only that the link resolves, stays green.
+
+The screenshot tools set these sizes themselves whenever they write a picture: `shoot_docs.mjs` at the end of a run and after `--cleanup`, and the [screenshot review tool](Tools-IDE#shot-review) as it applies each verdict. The review tool's commit takes a page's size changes without its other edits. So the gate catches a size typed by hand, a picture copied in, or a page that starts showing a picture after it was taken. Each failure names the page, the line, and the size to write. It reads the pages and the pictures' PNG headers, not the built site, so it needs no browser.
+
+Exit codes: **0** every reference declares its picture's size; **1** at least one reference declares another size; **2** the gate could not run: a refused command line, a manifest that cannot be read, or a crash.
+
 ## check_a11y_fingerprint.mjs
 {: #check-a11y-fingerprint }
 
diff --git a/docs/Documentation/Tools.md b/docs/Documentation/Tools.md
index 1dc21bf5b..4162c86e6 100644
--- a/docs/Documentation/Tools.md
+++ b/docs/Documentation/Tools.md
@@ -91,19 +91,21 @@ Exit codes, those of `tbdocs`: **0** the server was stopped with Ctrl+C, **2** a
 
     check.bat
 
-The gates that read the built site; run `build.bat` first. Link and integrity checking is in `build.bat` (see [tbdocs](Tools-Build#tbdocs)), and tests of the toolchain are in [`test.bat`](#testbat). Four steps, each stopping the run if it fails:
+The gates that read the built site; run `build.bat` first. Link and integrity checking is in `build.bat` (see [tbdocs](Tools-Build#tbdocs)), and tests of the toolchain are in [`test.bat`](#testbat). Five steps, each stopping the run if it fails:
 
 1. [`scripts/check_tree_fresh.mjs`](Tools-Site-Checks#check-tree-fresh) --- refuses a tree older than the sources that produced it.
 2. [`scripts/check_a11y.mjs`](Tools-Site-Checks#check-a11y) --- the puppeteer + axe-core accessibility scan.
 3. [`scripts/check_dot_fit.mjs`](Tools-Site-Checks#check-dot-fit) --- re-renders every committed diagram with the real webfont and fails if a label sits outside its box.
 4. [`scripts/pick_a11y_sample.mjs --check`](Tools-Site-Checks#pick-a11y-sample) --- verifies the sample still covers every markup construct the site uses.
+5. [`scripts/check_shot_sizes.mjs`](Tools-Site-Checks#check-shot-sizes) --- fails a page whose declared size for a screenshot is not its pixels over its scale.
 
-POSIX --- four commands, chained so the run stops where `check.bat` would:
+POSIX --- five commands, chained so the run stops where `check.bat` would:
 
     node scripts/check_tree_fresh.mjs \
       && node scripts/check_a11y.mjs \
       && node scripts/check_dot_fit.mjs \
-      && node scripts/pick_a11y_sample.mjs --check
+      && node scripts/pick_a11y_sample.mjs --check \
+      && node scripts/check_shot_sizes.mjs
 
 Exit codes: **0** every step passed; otherwise the code of the step that stopped the run, as that step's entry gives it.
 
diff --git a/docs/Features/Advanced/API-Declarations.md b/docs/Features/Advanced/API-Declarations.md
index 58eb8e59b..17105f714 100644
--- a/docs/Features/Advanced/API-Declarations.md
+++ b/docs/Features/Advanced/API-Declarations.md
@@ -40,7 +40,7 @@ The four follow the Microsoft C/C++ conventions of the same names: `__stdcall`,
 In a 32-bit build, a call of a [statically linked](Static-Linking) function, and a call through a [**Delegate**](../../tB/Core/Delegate), check the stack afterwards. A wrong convention there raises run-time error -353703419 (`&HEAEAEA05`), *Bad DLL definition. Stack corruption detected.*, and the stack is put right, so a handler can go on.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > In a 32-bit build, a call of a DLL function through a **Declare** whose convention or number of parameters is wrong raises no error. The call returns, with a wrong value when a parameter is missing, and the procedure that made the call ends with an access violation as it returns. In an IDE run the access violation is in the compiler's process, which restarts. VB6 raises error 49, *Bad DLL calling convention*, at the call, in its IDE and in a P-Code exe; a VB6 exe compiled to native code checks nothing either. [**[DLLStackCheck(False)]**](../../tB/Core/Attributes#dllstackcheck) on the **Declare** turns the check on, and a wrong convention then raises error -353703419.
 
 A 64-bit build has only one calling convention. There, all four keywords are accepted and have no effect.
@@ -106,7 +106,7 @@ End Class
 On a 32-bit build, a **ThisCall** implementation takes `this` in the ECX register and removes its own arguments from the stack, so native code calls it through the interface's vtable as it calls a C++ virtual method. An error raised in the implementation reaches the native caller as a failure **HRESULT**, as from any member without **[PreserveSig]**. Code compiled with LLVM does not pass the error on yet; see [Language support](../../LLVM/Getting-Started#language-support).
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A class cannot implement a member marked [**[PreserveSig]**](../../tB/Core/Attributes#preservesig): the compiler reports the implementation as unmatched. Interfaces of this kind often return a value directly rather than an **HRESULT**, and are declared with **[PreserveSig]** for that reason. For a member that returns a 4-byte value, such as a **Long** or a C `BOOL`, declare it in the interface the class implements as a **Sub** without **[PreserveSig]**, and return the value with [**Err.ReturnHResult**](../../tB/Modules/ErrObject/ReturnHResult). Native code that calls this member as `long __thiscall Count()` gets 3 as its return value:
 >
 > ```tb check_build projname=calling-conventions-thiscall-return
@@ -132,7 +132,7 @@ An ActiveX DLL's type library records a **ThisCall** or **FastCall** member as s
 A callback passed to an API must use the convention the API calls it with. Declare a [**Delegate**](../../tB/Core/Delegate) with that convention, use it as the parameter type, and give the target procedure the same keyword. [**AddressOf**](../../tB/Core/AddressOf) of a procedure with a different convention is accepted with a warning only (TB0026).
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > On a 32-bit build, a call made from twinBASIC code *through* a **ThisCall** or **FastCall** delegate passes its arguments as stdcall does, and fails with *Bad DLL definition*. Calling the procedure directly works. **CDecl** delegates are not affected, and neither is a 64-bit build.
 
 The following example performs a quicksort using the C runtime's [`qsort` function](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/qsort), which calls its comparator with the cdecl convention:
diff --git a/docs/Features/Advanced/Classes-and-Modules.md b/docs/Features/Advanced/Classes-and-Modules.md
index 54dda6bd6..f0909f684 100644
--- a/docs/Features/Advanced/Classes-and-Modules.md
+++ b/docs/Features/Advanced/Classes-and-Modules.md
@@ -20,7 +20,7 @@ A class can have a `Sub New` constructor, and the constructor can take arguments
 - A class whose only `Sub New` has required arguments, with no `Class_Initialize`, cannot be declared [`As New`](../../tB/Core/New), which creates the object without arguments. The declaration fails with TB5121. If every argument of the `Sub New` is `Optional`, the class can be declared `As New`: the object is created by calling `Sub New` with the default values.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A `Sub New` declared `Private` is meant to make construction private, so that only code inside the class creates objects with it. This is not enforced: `New MyClass` in another module of the project, or in a project that references a package with the class, compiles and runs the private constructor.
 
 ### Example
@@ -118,10 +118,6 @@ A private module or class won't have its members entered into the type library i
 
 In a class, module-level variables can be declared as `ReadOnly`, e.g. `Private ReadOnly mStartDate As Date`. This allows more complex constant assignments: a built-in function's result can set it inline, `Private ReadOnly mStartDate As Date = Now()` --- a procedure of the project cannot, see [What an Initializer Can Use](../Language/Inline-Initialization#what-an-initializer-can-use) --- or `ReadOnly` constants can be set in `Class_Initialize` or `Sub New(...)` (see parameterized class constructors above), but everywhere else, they can only be read, not changed. `ReadOnly` is valid only in a class: in a `Module` it is refused with TB5182, *Syntax error. No handler for this symbol*.
 
-
-> [!NOTE] BETA 1034
-> The first `ReadOnly` variable after a [`Delegate`](../../tB/Core/Delegate) statement is refused with TB5182, *Syntax error. No handler for this symbol*, on the variable's name. Declare it before the `Delegate`.
-
 ## Get/Let/Set Notification for Class Public Variables
 
 When have a variable in a class such as `Public myVar As Long`, it's treated as a property you can use the standard syntax to get or set. tB adds an optional notification event for when the Get/Let/Set occurs that's accessed through the regular `Handles` syntax:
diff --git a/docs/Features/Advanced/Static-Linking.md b/docs/Features/Advanced/Static-Linking.md
index a762ebb53..417996060 100644
--- a/docs/Features/Advanced/Static-Linking.md
+++ b/docs/Features/Advanced/Static-Linking.md
@@ -11,7 +11,7 @@ index: static library
 Links compiled C code from `.obj`, `.lib` and `.a` files into the program, which calls its functions through **Declare** statements and needs no DLL beside it.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Static linking is experimental. It links code that needs nothing from the C runtime library beyond the few functions twinBASIC provides, and nothing from the C++ runtime. The SQLite amalgamation and SlimDetours link and work; most other C projects do not link without changes. [What can be linked](#what-can-be-linked) lists the limits.
 
 A program uses a library in three steps:
@@ -109,11 +109,11 @@ Code links when every function it calls is in its own file or in one that its **
 - **Whole-program optimisation.** An object file compiled with `/GL` holds no machine code, and is compile error TB5059.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > In a 64-bit build, code that uses `__try` and `__except` links without an error, but its handler never runs: an exception that it should handle ends the program, in the IDE and in a built exe.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An **Import Library** statement that names an import library crashes the compiler, in either architecture. An import library is a `.lib` that lists the functions of a DLL and holds no code, such as the Windows SDK's `user32.lib`. Name a Windows DLL in the **Link** list instead.
 
 The SQLite amalgamation, which is the whole of SQLite in one C file, needs only `"stdlib"` and `"kernel32"`, and SlimDetours needs only `"stdlib"` and `"ntdll"`. Most libraries need more, often other libraries that they were built to link with; each of those must be linked too, within the same limits.
diff --git a/docs/Features/Compiler-IDE/Compiler-Warnings.md b/docs/Features/Compiler-IDE/Compiler-Warnings.md
index 099117bdd..65b618560 100644
--- a/docs/Features/Compiler-IDE/Compiler-Warnings.md
+++ b/docs/Features/Compiler-IDE/Compiler-Warnings.md
@@ -97,7 +97,7 @@ Debug.Print "testing"
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The text of a `#Warning` or `#Error` directive stops at its first `|`: `#Warning "before|after"` reports only `"before`.
 
 ### TB0006: Record Length Is Ignored in Binary Mode
@@ -266,7 +266,7 @@ End Sub
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A member of another enumeration, written as a constant (`day = vbOK`), converts without a warning.
 
 ```tb probe id=tb0019-enforced slot=module expect-error=TB0019
@@ -307,7 +307,7 @@ End Sub
 Reports an implicit conversion between an enumeration and a numeric type. It is at **IGNORE** by default.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > None of these conversions draws TB0021. A whole number assigned to a variable of an enumeration, or an enumeration value assigned to a **Long**, converts without a warning. A **Double**, **Single**, **Currency** or **Variant** assigned to a variable of an enumeration draws [TB0019](#tb0019-implicit-enumeration-conversion), and an enumeration value assigned to an **Integer**, **Byte** or **Single** draws [TB0018](#tb0018-implicit-narrowing-conversion).
 
 ```tb probe id=tb0021-not-drawn slot=module
@@ -361,7 +361,7 @@ End Sub
 An array assigned to an array of another element type, *suspicious array assignment; subtypes do not match*.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The message reads only *Suspicious array assignment*: the IDE cuts the text that `en-gb.lang` gives it at its semicolon. See [Language packs](../../tB/IDE/Customising/#language-packs).
 
 ```tb check_build
@@ -454,7 +454,7 @@ Reports a control on a form that has the name of a method or property of the for
 A **Declare** statement without **PtrSafe**, which 64-bit VBA 7 requires, *Declare needs PtrSafe attribute on this build configuration for VBA7 compatibility*. It is reported only in a 64-bit build. The Compiler Warnings list shows it at **IGNORE** by default.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > TB0029 is reported as a warning whatever its level: at **IGNORE**, **HINT**, **INFO** or **ERROR** in the Compiler Warnings list, and under **IgnoreWarnings** or **EnforceErrors** on a module or on the **Declare**. Adding **PtrSafe** to the **Declare** removes it.
 
 ```tb check_build slot=file
@@ -509,11 +509,11 @@ Reports a duplicate definition as a warning: *Duplicate definition, consider cha
 ### TB0034: Legacy DLL Redirected
 {: index="TB0034" }
 
-A **Declare** of a function from a legacy system DLL that twinBASIC calls in its modern replacement instead, such as `OleCreatePictureIndirect`, which `olepro32.dll` exported and `oleaut32.dll` now does: *Use of legacy DLL OLEPRO32.DLL has been redirected to OLEAUT32.DLL*. Up to BETA 1033 the compiler reported it as [TB0015](#tb0015-declare-redirected-to-twinbasic). The Compiler Warnings list shows it at **HINT** by default.
+A **Declare** of a function from a legacy system DLL that twinBASIC calls in its modern replacement instead, such as `OleCreatePictureIndirect`, which `olepro32.dll` exported and `oleaut32.dll` now does: *Use of legacy DLL olepro32 has been redirected to oleaut32*. Up to BETA 1033 the compiler reported it as [TB0015](#tb0015-declare-redirected-to-twinbasic).
 
-
-> [!NOTE] BETA 1034
-> TB0034 is reported as a warning whatever its level: at **IGNORE**, **HINT** or **ERROR** in the Compiler Warnings list, and under **IgnoreWarnings** or **EnforceErrors**. Its message leaves out the two names: *Use of legacy DLL has been redirected to*.
+
+The Compiler Warnings list shows it at **HINT** by default, and its level there applies as any other warning's does, as do **IgnoreWarnings** and **EnforceErrors**.
+
 
 ```tb check_build slot=module
 Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" ( _
@@ -521,14 +521,23 @@ Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" ( _
     ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long
 ```
 
+```tb probe id=tb0034-enforced slot=file expect-error=TB0034
+[EnforceErrors(TB0034)]
+Module ProbeLegacyDll
+    Private Declare PtrSafe Function OleCreatePictureIndirect Lib "olepro32" ( _
+        ByRef PicDesc As Any, ByRef RefIID As Any, _
+        ByVal fPictureOwnsHandle As Long, ByRef IPic As Any) As Long
+End Module
+```
+
 ### TB0035: Late-Bound Conversion
 {: index="TB0035" }
 
 A value whose type is known only at run time, an **Object** or a **Variant**, assigned or passed to a variable or parameter of a class or interface type: *Conversion from type Variant to type Font might fail at runtime. Use CType(Of Font)(expression) to avoid this message*. An item of a **Collection** is a **Variant**, and the result of a function declared **As Object** is an **Object**. When the value is not an object of that type, the conversion raises an error at run time, such as error 424, *Object required*, for a string. **CType(Of** _type_**)** makes the conversion explicit. A conversion from a known type that is not declared to support the target is [TB0020](#tb0020-suspicious-interface-conversion) instead. The Compiler Warnings list shows TB0035 at **WARNING** by default.
 
-
-> [!NOTE] BETA 1034
-> In a project whose settings give TB0035 no level, as a new project's do, TB0035 is not reported, although the Compiler Warnings list shows it at **WARNING**. Name it in an **EnforceWarnings** attribute, as below, to have it reported. For a conversion from an **Object**, its message shows `{0}`, `{1}` and `{2}` in place of the two types and the conversion.
+
+> [!NOTE] BETA 1042
+> In a project whose settings give TB0035 no level, as a new project's do, TB0035 is not reported, although the Compiler Warnings list shows it at **WARNING**. Name it in an **EnforceWarnings** attribute, as below, to have it reported.
 
 ```tb check_build slot=module
 [EnforceWarnings(TB0035)]
@@ -616,14 +625,16 @@ End Sub
        INFO, ERROR and WARNING, and under IgnoreWarnings, EnforceErrors and EnforceWarnings
        on the Module or the Declare, where TB0030 takes each level; the same on BETA 1033
        and 1010 (bugs/tb0029-level-ignored).
-     TB0034: the olepro32 Declare, a WARNING at IGNORE, HINT and ERROR and under
-       IgnoreWarnings and EnforceErrors, win32 and win64 (bugs/tb0034-level-ignored);
-       the message's {0} and {1} are empty (bugs/warning-message-names-blank).
+     TB0034: the olepro32 Declare. On BETA 1034 a WARNING at IGNORE, HINT and ERROR and
+       under IgnoreWarnings and EnforceErrors, with the message's {0} and {1} empty; on
+       BETA 1042 nothing at IGNORE or under IgnoreWarnings, an error under EnforceErrors
+       (the probe tb0034-enforced), a HINT by default, and the message names the Lib as
+       written and oleaut32 (the two reproducers, retired 2026-11-09).
      TB0035: not reported with no level (bugs/tb0035-default-not-reported); reported
        when named in project.warnings.warnings or EnforceWarnings. Drawn by an Object
        or a Variant to StdFont, a project class or interface, Set and Dim ... =, a
        function As Object, an Object argument, a Collection item, o.Font late bound;
-       {0} {1} {2} left for every Object source. StdFont to StdPicture, IUnknown to
+       {0} {1} {2} left for every Object source on BETA 1034, filled in on 1042. StdFont to StdPicture, IUnknown to
        StdFont, class to interface and back are TB0020. Run time: a String item to
        StdFont raises 424.
      TB0036: c = 3 on a class with no default member (BETA 1033: TB0022); StdFont,
diff --git a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.png b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.png
index 5e818e297..f84aa1933 100644
Binary files a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.png and b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.png differ
diff --git a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.svg b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.svg
index 8f850ce49..7d81a793a 100644
--- a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.svg
+++ b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.light.svg
@@ -1 +1 @@
-+ menuBIU8pt+-PROPERTIESLAYOUTGENERALDDETabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0TagLinkItemLinkMode0 - vbLinkNoneLinkTimeout50Text1    TextBox5 - vbDockFill4 - vbDockBottom3 - vbDockRight2 - vbDockTop1 - vbDockLeft0 - vbDockNone
++ menuBIU8pt+-PROPERTIESAzLAYOUTGENERALDDETabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0TagLinkItemLinkMode0 - vbLinkNoneLinkTimeout50Text1    TextBox5 - vbDockFill4 - vbDockBottom3 - vbDockRight2 - vbDockTop1 - vbDockLeft0 - vbDockNone
diff --git a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.png b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.png
index 264c3766f..6959a3578 100644
Binary files a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.png and b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.png differ
diff --git a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.svg b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.svg
index 027a6d0cc..95a2301d7 100644
--- a/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.svg
+++ b/docs/Features/Images/4c8b881e-1216-4819-a558-d2ce20f47fcd.svg
@@ -1 +1 @@
-+ menuBIU8pt+-PROPERTIESLAYOUTGENERALDDETabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0TagLinkItemLinkMode0 - vbLinkNoneLinkTimeout50Text1    TextBox5 - vbDockFill4 - vbDockBottom3 - vbDockRight2 - vbDockTop1 - vbDockLeft0 - vbDockNone
++ menuBIU8pt+-PROPERTIESAzAzLAYOUTGENERALDDETabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0TagLinkItemLinkMode0 - vbLinkNoneLinkTimeout50Text1    TextBox5 - vbDockFill4 - vbDockBottom3 - vbDockRight2 - vbDockTop1 - vbDockLeft0 - vbDockNone
diff --git a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.png b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.png
index d644ebc49..0a1d4388a 100644
Binary files a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.png and b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.png differ
diff --git a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.svg b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.svg
index e14efa90e..03849ab47 100644
--- a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.svg
+++ b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.light.svg
@@ -1 +1 @@
-win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingTracingTrace FlagsTrace Procedure Entry and Exit pointsTrace Procedure Arguments(requires Trace Procedure Entry and Exit points, also)Trace IDispatch::QueryInterface callsTrace IDispatch::GetIDsOfNames callsTrace IDispatch::Invoke callsTrace Window (HWND) MessagesTrace Debug.TracePrint outputBuffered Trace Log File Writing(do not use for tracing a hard crash)Trace IClassFactory::CreateInstance/Lic callsTrace DllGetClassObject calls(COM/AX creation of your exposed classes)Trace RaiseEvent calls and argumentsTrace Output(Filter)73611635644143222122Used in combination with `Compilation: Trace Output`Used in combination with `Compilation: Trace Flags`.Full path where the log file will be saved.You can use the following special placeholders in the path:${SESSIONID} == unique GUID per session and per thread${DATE} == current date in YYYYMMDD format${TIME} == current time in HHNNSS format${DEBUG} == output to IDE DEBUG CONSOLE onlyIMPORTANT: you MUST use ${SESSIONID} in your path to ensure multiple threads can create trace logs.
+win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingTracingTrace FlagsTrace Procedure Entry and Exit pointsTrace Procedure Arguments(requires Trace Procedure Entry and Exit points, also)Trace IDispatch::QueryInterface callsTrace IDispatch::GetIDsOfNames callsTrace IDispatch::Invoke callsTrace Window (HWND) MessagesTrace Debug.TracePrint outputBuffered Trace Log File Writing(do not use for tracing a hard crash)Trace IClassFactory::CreateInstance/Lic callsTrace DllGetClassObject calls(COM/AX creation of your exposed classes)Trace RaiseEvent calls and argumentsTrace Output(Filter)74611635654143222122Used in combination with `Compilation: Trace Output`Used in combination with `Compilation: Trace Flags`.Full path where the log file will be saved.You can use the following special placeholders in the path:${SESSIONID} == unique GUID per session and per thread${DATE} == current date in YYYYMMDD format${TIME} == current time in HHNNSS format${DEBUG} == output to IDE DEBUG CONSOLE onlyIMPORTANT: you MUST use ${SESSIONID} in your path to ensure multiple threads can create trace logs.
diff --git a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.png b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.png
index 1c4174336..d5ac52ae5 100644
Binary files a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.png and b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.png differ
diff --git a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.svg b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.svg
index b2e1aa933..c593c6a6b 100644
--- a/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.svg
+++ b/docs/Features/Images/4fc2bf99-2bec-4943-837d-21038d791574.svg
@@ -1 +1 @@
-win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingTracingTrace FlagsTrace Procedure Entry and Exit pointsTrace Procedure Arguments(requires Trace Procedure Entry and Exit points, also)Trace IDispatch::QueryInterface callsTrace IDispatch::GetIDsOfNames callsTrace IDispatch::Invoke callsTrace Window (HWND) MessagesTrace Debug.TracePrint outputBuffered Trace Log File Writing(do not use for tracing a hard crash)Trace IClassFactory::CreateInstance/Lic callsTrace DllGetClassObject calls(COM/AX creation of your exposed classes)Trace RaiseEvent calls and argumentsTrace Output(Filter)73611635644143222122Used in combination with `Compilation: Trace Output`Used in combination with `Compilation: Trace Flags`.Full path where the log file will be saved.You can use the following special placeholders in the path:${SESSIONID} == unique GUID per session and per thread${DATE} == current date in YYYYMMDD format${TIME} == current time in HHNNSS format${DEBUG} == output to IDE DEBUG CONSOLE onlyIMPORTANT: you MUST use ${SESSIONID} in your path to ensure multiple threads can create trace logs.
+win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzAzProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingTracingTrace FlagsTrace Procedure Entry and Exit pointsTrace Procedure Arguments(requires Trace Procedure Entry and Exit points, also)Trace IDispatch::QueryInterface callsTrace IDispatch::GetIDsOfNames callsTrace IDispatch::Invoke callsTrace Window (HWND) MessagesTrace Debug.TracePrint outputBuffered Trace Log File Writing(do not use for tracing a hard crash)Trace IClassFactory::CreateInstance/Lic callsTrace DllGetClassObject calls(COM/AX creation of your exposed classes)Trace RaiseEvent calls and argumentsTrace Output(Filter)74611635654143222122Used in combination with `Compilation: Trace Output`Used in combination with `Compilation: Trace Flags`.Full path where the log file will be saved.You can use the following special placeholders in the path:${SESSIONID} == unique GUID per session and per thread${DATE} == current date in YYYYMMDD format${TIME} == current time in HHNNSS format${DEBUG} == output to IDE DEBUG CONSOLE onlyIMPORTANT: you MUST use ${SESSIONID} in your path to ensure multiple threads can create trace logs.
diff --git a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.png b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.png
index f02c9353b..4d21cd1c4 100644
Binary files a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.png and b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.png differ
diff --git a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.svg b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.svg
index 098cb8fd0..93a2262bc 100644
--- a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.svg
+++ b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] successfully built Fusion server file'C:\tbshots\Build\FusionDemo_win32host.exe'
+DEBUG CONSOLE>16:41:58.204[BUILD] successfully built Fusion server file'C:\tbshots\Build\FusionDemo_win32host.exe'
diff --git a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.png b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.png
index e8aab19f5..4585129f6 100644
Binary files a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.png and b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.png differ
diff --git a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.svg b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.svg
index 945631b20..261d0eb29 100644
--- a/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.svg
+++ b/docs/Features/Images/569099635-bc9553a6-fcce-487d-a478-dbee557f33b1.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] successfully built Fusion server file'C:\tbshots\Build\FusionDemo_win32host.exe'
+DEBUG CONSOLE>16:41:58.204[BUILD] successfully built Fusion server file'C:\tbshots\Build\FusionDemo_win32host.exe'
diff --git a/docs/Features/Images/IDE-FeatureMap.light.png b/docs/Features/Images/IDE-FeatureMap.light.png
index 617599a37..23e89f247 100644
Binary files a/docs/Features/Images/IDE-FeatureMap.light.png and b/docs/Features/Images/IDE-FeatureMap.light.png differ
diff --git a/docs/Features/Images/IDE-FeatureMap.light.svg b/docs/Features/Images/IDE-FeatureMap.light.svg
index 7731e8e89..aae646cb1 100644
--- a/docs/Features/Images/IDE-FeatureMap.light.svg
+++ b/docs/Features/Images/IDE-FeatureMap.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITION175.6MBin use  |  100ui objects  |  16gdi objectsFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWPROJECT EXPLORERFeatureTourImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinMainModule.twinTypes.twinOUTLINEInventoryHISTORY09:12Inventory.Add10:05Inventory.Find11:48Inventory.TotalDIAGNOSTICS0300Inventory.twinMainModule.twin[18,13]TB0003Datatype has not been ex…[19,13]TB0003Datatype has not been ex…[6,13]TB0003Datatype has not been expl…EDITOR 1Inventory(general)ItemByIndexInventory.twin1920212223242526272829303132333435363738394041424344454647484950515253545556DimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIf🠈 items(i).Quantity > 100EndIf🠈 items(i).Quantity > 0Next🠈 i = 0 To count - 1Total=subtotalEndFunction🠈 TotalPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1Ifitems(i).Name=nameThenFind=iExitForEndIf🠈 items(i).Name = nameNext🠈 i = 0 To count - 1EndFunction🠈 FindPublicSubClear()Eraseitemscount=0EndSub🠈 ClearPublicFunctionItemByIndex(ByValpositionAsLong)AsStockItemItemByIndex=items(position)EndFunction🠈 ItemByIndexEndClass🠈 Inventory16PublicFunctionTotal(ByValtaxRateAsDouble)AsDouble1ClassInventorytypeStockItemin component FeatureTour.Typescontains elements[offset &H0000]Name As String[offset &H0004]Quantity As Long[offset &H0008]Price As DoubleLenB() = &H0010Len() = &H0010UDT Alignment = &H0008(offsets and lengths calculated for current Win32 target)Sticky scrollColour matchingUnicode in the editorIndent guidesInline code hintsAdvanced info popupMini-mapFolding controlsMemory usage and object countsOutlineHistoryDiagnostics
+tB Services: OPERATIONALULTIMATE EDITION175.6MBin use  |  100ui objects  |  16gdi objectsFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWPROJECT EXPLORERFeatureTourImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinMainModule.twinTypes.twinOUTLINEInventoryHISTORY09:12Inventory.Add10:05Inventory.Find11:48Inventory.TotalDIAGNOSTICS0300Inventory.twinMainModule.twin[18,13]TB0003Datatype has not been ex…[19,13]TB0003Datatype has not been ex…[6,13]TB0003Datatype has not been expl…EDITOR 1Inventory(general)ItemByIndexInventory.twin1920212223242526272829303132333435363738394041424344454647484950515253545556DimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIf🠈 items(i).Quantity > 100EndIf🠈 items(i).Quantity > 0Next🠈 i = 0 To count - 1Total=subtotalEndFunction🠈 TotalPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1Ifitems(i).Name=nameThenFind=iExitForEndIf🠈 items(i).Name = nameNext🠈 i = 0 To count - 1EndFunction🠈 FindPublicSubClear()Eraseitemscount=0EndSub🠈 ClearPublicFunctionItemByIndex(ByValpositionAsLong)AsStockItemItemByIndex=items(position)EndFunction🠈 ItemByIndexEndClass🠈 Inventory16PublicFunctionTotal(ByValtaxRateAsDouble)AsDouble1ClassInventorytypeStockItemin component FeatureTour.Typescontains elements[offset &H0000]Name As String[offset &H0004]Quantity As Long[offset &H0008]Price As DoubleLenB() = &H0010Len() = &H0010UDT Alignment = &H0008(offsets and lengths calculated for current Win32 target)Sticky scrollColour matchingUnicode in the editorIndent guidesInline code hintsAdvanced info popupMini-mapFolding controlsMemory usage and object countsOutlineHistoryDiagnostics
diff --git a/docs/Features/Images/IDE-FeatureMap.png b/docs/Features/Images/IDE-FeatureMap.png
index 2fb990bf8..5277399ff 100644
Binary files a/docs/Features/Images/IDE-FeatureMap.png and b/docs/Features/Images/IDE-FeatureMap.png differ
diff --git a/docs/Features/Images/IDE-FeatureMap.svg b/docs/Features/Images/IDE-FeatureMap.svg
index 38cb1921a..6fcb76bd6 100644
--- a/docs/Features/Images/IDE-FeatureMap.svg
+++ b/docs/Features/Images/IDE-FeatureMap.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITION175.6MBin use  |  100ui objects  |  16gdi objectsFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWPROJECT EXPLORERFeatureTourImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinMainModule.twinTypes.twinOUTLINEInventoryHISTORY09:12Inventory.Add10:05Inventory.Find11:48Inventory.TotalDIAGNOSTICS0300Inventory.twinMainModule.twin[18,13]TB0003Datatype has not been expli…[19,13]TB0003Datatype has not been expli…[6,13]TB0003Datatype has not been explic…EDITOR 1Inventory(general)ItemByIndexInventory.twin1920212223242526272829303132333435363738394041424344454647484950515253545556DimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIf🠈 items(i).Quantity > 100EndIf🠈 items(i).Quantity > 0Next🠈 i = 0 To count - 1Total=subtotalEndFunction🠈 TotalPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1Ifitems(i).Name=nameThenFind=iExitForEndIf🠈 items(i).Name = nameNext🠈 i = 0 To count - 1EndFunction🠈 FindPublicSubClear()Eraseitemscount=0EndSub🠈 ClearPublicFunctionItemByIndex(ByValpositionAsLong)AsStockItemItemByIndex=items(position)EndFunction🠈 ItemByIndexEndClass🠈 Inventory16PublicFunctionTotal(ByValtaxRateAsDouble)AsDouble1ClassInventorytypeStockItemin component FeatureTour.Typescontains elements[offset &H0000]Name As String[offset &H0004]Quantity As Long[offset &H0008]Price As DoubleLenB() = &H0010Len() = &H0010UDT Alignment = &H0008(offsets and lengths calculated for current Win32 target)Sticky scrollColour matchingUnicode in the editorIndent guidesInline code hintsAdvanced info popupMini-mapFolding controlsMemory usage and object countsOutlineHistoryDiagnostics
+tB Services: OPERATIONALULTIMATE EDITION175.6MBin use  |  100ui objects  |  16gdi objectsFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWPROJECT EXPLORERFeatureTourImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinMainModule.twinTypes.twinOUTLINEInventoryHISTORY09:12Inventory.Add10:05Inventory.Find11:48Inventory.TotalDIAGNOSTICS0300Inventory.twinMainModule.twin[18,13]TB0003Datatype has not been expli…[19,13]TB0003Datatype has not been expli…[6,13]TB0003Datatype has not been explic…EDITOR 1Inventory(general)ItemByIndexInventory.twin1920212223242526272829303132333435363738394041424344454647484950515253545556DimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIf🠈 items(i).Quantity > 100EndIf🠈 items(i).Quantity > 0Next🠈 i = 0 To count - 1Total=subtotalEndFunction🠈 TotalPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1Ifitems(i).Name=nameThenFind=iExitForEndIf🠈 items(i).Name = nameNext🠈 i = 0 To count - 1EndFunction🠈 FindPublicSubClear()Eraseitemscount=0EndSub🠈 ClearPublicFunctionItemByIndex(ByValpositionAsLong)AsStockItemItemByIndex=items(position)EndFunction🠈 ItemByIndexEndClass🠈 Inventory16PublicFunctionTotal(ByValtaxRateAsDouble)AsDouble1ClassInventorytypeStockItemin component FeatureTour.Typescontains elements[offset &H0000]Name As String[offset &H0004]Quantity As Long[offset &H0008]Price As DoubleLenB() = &H0010Len() = &H0010UDT Alignment = &H0008(offsets and lengths calculated for current Win32 target)Sticky scrollColour matchingUnicode in the editorIndent guidesInline code hintsAdvanced info popupMini-mapFolding controlsMemory usage and object countsOutlineHistoryDiagnostics
diff --git a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.png b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.png
index ec58c3d8e..fa61bf7ba 100644
Binary files a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.png and b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.png differ
diff --git a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.svg b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.svg
index e2d72b1f0..1fa57b7c4 100644
--- a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.svg
+++ b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.light.svg
@@ -1 +1 @@
-+ menuBIU8pt+-PROPERTIESLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0Text1    TextBox
++ menuBIU8pt+-PROPERTIESAzLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0Text1    TextBox
diff --git a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.png b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.png
index fdcdf7db3..ca37cf715 100644
Binary files a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.png and b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.png differ
diff --git a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.svg b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.svg
index c67874d91..b599afb58 100644
--- a/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.svg
+++ b/docs/Features/Images/b26da59b-4e98-40b7-b97b-bb3cef4ca1d0.svg
@@ -1 +1 @@
-+ menuBIU8pt+-PROPERTIESLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0Text1    TextBox
++ menuBIU8pt+-PROPERTIESAzAzLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0Text1    TextBox
diff --git a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.png b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.png
index 6e2fd104d..b80ad2a53 100644
Binary files a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.png and b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.png differ
diff --git a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.svg b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.svg
index bd5771888..ef4af9ec7 100644
--- a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.svg
+++ b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.light.svg
@@ -1 +1 @@
-+ menuBIU8pt+-PROPERTIESLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }LeftTrueTopTrueRightFalseBottomFalseDock0 - vbDockNoneDockOrder0Text1    TextBox
++ menuBIU8pt+-PROPERTIESAzLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }LeftTrueTopTrueRightFalseBottomFalseDock0 - vbDockNoneDockOrder0Text1    TextBox
diff --git a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.png b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.png
index 34868222c..a8ff60dee 100644
Binary files a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.png and b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.png differ
diff --git a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.svg b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.svg
index 5e1f41320..801e36398 100644
--- a/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.svg
+++ b/docs/Features/Images/d5dff8f5-c5fa-4620-ba11-430d06276b27.svg
@@ -1 +1 @@
-+ menuBIU8pt+-PROPERTIESLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }LeftTrueTopTrueRightFalseBottomFalseDock0 - vbDockNoneDockOrder0Text1    TextBox
++ menuBIU8pt+-PROPERTIESAzAzLAYOUTTabStopTrueTabIndex0TabFocusAutoSelectTrueLeft300Top300Width2100Height360Anchors▶... { AnchorsData }LeftTrueTopTrueRightFalseBottomFalseDock0 - vbDockNoneDockOrder0Text1    TextBox
diff --git a/docs/Features/Language/UDTs.md b/docs/Features/Language/UDTs.md
index ac92ec8af..1ef108e3d 100644
--- a/docs/Features/Language/UDTs.md
+++ b/docs/Features/Language/UDTs.md
@@ -59,15 +59,15 @@ End Type
 UDTs of these types are still stack allocated structs that can be used with standard Win32 APIs.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A method or property of a UDT called on an element of an array of the UDT, such as `a(1).Sum`, ends the program with an access violation, in 32-bit and 64-bit builds. So does a **Type_Conversion** of an element, as in `CStr(a(1))` or `Debug.Print a(1)`. A variable of the type, a UDT member of another UDT, and an element of an array declared inside a UDT are not affected. Copy the element to a variable first.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **Type_Initialize** does not run for an element of an array of the UDT, or for a UDT that is a member of another UDT. **Type_Terminate** still runs for each of them, on a value that was never initialized, and no error is raised. A variable of the type and a class field of the type are not affected. Write **Type_Terminate** to do nothing when the members are all zero.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Assigning **Me** whole inside a method of a UDT, as in `Copy = Me` or `Return Me`, is a code generation error that fails the build once the method is called. Copy the members one by one.
 
 ## Custom UDT Packing
diff --git a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.png b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.png
index 046ceb5be..a0b94d0ad 100644
Binary files a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.png and b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.png differ
diff --git a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.svg b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.svg
index 9c3f91e54..64744334d 100644
--- a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.svg
+++ b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.
diff --git a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.png b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.png
index f522b1073..c20fe4182 100644
Binary files a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.png and b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.png differ
diff --git a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.svg b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.svg
index 6821a41af..aa6077b2d 100644
--- a/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.svg
+++ b/docs/Features/Packages/Images/6ad7a172-0e1b-4276-ac89-042681552507.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.
diff --git a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.png b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.png
index 66a4164a7..16bd64b51 100644
Binary files a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.png and b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.png differ
diff --git a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.svg b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.svg
index 41734629d..d84f5bc68 100644
--- a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.svg
+++ b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[BUILD] Creating TWINPACK file'C:\tbshots\Build\SampleProject_win32.twinpack'16:41:58.204[BUILD] successful.
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[BUILD] Creating TWINPACK file'C:\tbshots\Build\SampleProject_win32.twinpack'16:41:58.204[BUILD] successful.
diff --git a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.png b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.png
index f9ee426e9..a29775eb8 100644
Binary files a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.png and b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.png differ
diff --git a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.svg b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.svg
index 2063028e7..ac19cf786 100644
--- a/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.svg
+++ b/docs/Features/Packages/Images/8d74d820-9907-4e76-ac42-71d0233187f1.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[BUILD] Creating TWINPACK file'C:\tbshots\Build\SampleProject_win32.twinpack'16:41:58.204[BUILD] successful.
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[BUILD] Creating TWINPACK file'C:\tbshots\Build\SampleProject_win32.twinpack'16:41:58.204[BUILD] successful.
diff --git a/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.png b/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.png
index 20a6c57a8..e80917113 100644
Binary files a/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.png and b/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.png differ
diff --git a/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.svg b/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.svg
index 9fa34455b..4371e92e9 100644
--- a/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.svg
+++ b/docs/Features/Packages/Images/e35d5955-9e70-4d6e-abd7-748558da75ba.svg
@@ -1 +1 @@
-DIAGNOSTICS0000CALL STACKVARIABLESPROPERTIES↪ LOGIN to see any PRIVATE packages you've madeImport from file...WinDevLibWinRegWindows Development Library for twinBASIC v9.5.7529.5.752.0fafaloneWinReg1.0.1.1forliny4
+DIAGNOSTICS0000CALL STACKVARIABLESPROPERTIES↪ LOGIN to see any PRIVATE packages you've madeImport from file...WinDevLibWinRegWindows Development Library for twinBASIC v9.5.7589.5.758.0fafaloneWinReg1.0.1.1forliny4
diff --git a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.png b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.png
index a24738f55..26bf339fc 100644
Binary files a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.png and b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.png differ
diff --git a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.svg b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.svg
index 67e1ea1ce..27741379a 100644
--- a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.svg
+++ b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.light.svg
@@ -1 +1 @@
-ViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinGreeting.twinIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingLibrary ReferencesLibrary ReferencesAvailable PackagesAppGlobalClassProjectcefPackagecefPackagecefPackageWinNativeCommonCtlsCustomControlsCustomControlsPackagetbIDEAssertVBWebView2PackageWinEventLogLibWinNamedPipesLibWinServicesLib[BUILT-IN]       twinBASIC - App global class object1.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1091.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1451.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v491.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Common Controls Compatibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls DESIGNER Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls Package0.0.0.5[BUILT-IN][BUILT-IN]       twinBASIC - IDE Extensibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - Unit Testing Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN][BUILT-IN]       twinBASIC - WebView2 Package0.0.0.3[BUILT-IN][BUILT-IN]       twinBASIC - WinEventLogLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinNamedPipesLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinServicesLib0.1.0.0[BUILT-IN](Filter)73611635644143222122Select references that will be used during compilation of this projectEnabled LibrariesAvailable COM ReferencesLibrary SymbolEmbeddedVersionPublisher123
+ViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinGreeting.twinIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingLibrary ReferencesLibrary ReferencesAvailable PackagesAppGlobalClassProjectcefPackagecefPackagecefPackageWinNativeCommonCtlsCustomControlsCustomControlsPackagetbIDEAssertVBWebView2PackageWinEventLogLibWinNamedPipesLibWinServicesLib[BUILT-IN]       twinBASIC - App global class object1.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1091.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1451.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v491.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Common Controls Compatibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls DESIGNER Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls Package0.0.0.5[BUILT-IN][BUILT-IN]       twinBASIC - IDE Extensibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - Unit Testing Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN][BUILT-IN]       twinBASIC - WebView2 Package0.0.0.3[BUILT-IN][BUILT-IN]       twinBASIC - WinEventLogLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinNamedPipesLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinServicesLib0.1.0.0[BUILT-IN](Filter)74611635654143222122Select references that will be used during compilation of this projectEnabled LibrariesAvailable COM ReferencesLibrary SymbolEmbeddedVersionPublisher123
diff --git a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.png b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.png
index 561e50696..6412af2fe 100644
Binary files a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.png and b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.png differ
diff --git a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.svg b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.svg
index 7600bea60..dd6357e0c 100644
--- a/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.svg
+++ b/docs/Features/Packages/Images/e749e10f-e361-4f15-a977-d756fcb3b5dd.svg
@@ -1 +1 @@
-ViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinGreeting.twinIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingLibrary ReferencesLibrary ReferencesAvailable PackagesAppGlobalClassProjectcefPackagecefPackagecefPackageWinNativeCommonCtlsCustomControlsCustomControlsPackagetbIDEAssertVBWebView2PackageWinEventLogLibWinNamedPipesLibWinServicesLib[BUILT-IN]       twinBASIC - App global class object1.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1091.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1451.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v491.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Common Controls Compatibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls DESIGNER Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls Package0.0.0.5[BUILT-IN][BUILT-IN]       twinBASIC - IDE Extensibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - Unit Testing Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN][BUILT-IN]       twinBASIC - WebView2 Package0.0.0.3[BUILT-IN][BUILT-IN]       twinBASIC - WinEventLogLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinNamedPipesLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinServicesLib0.1.0.0[BUILT-IN](Filter)73611635644143222122Select references that will be used during compilation of this projectEnabled LibrariesAvailable COM ReferencesLibrary SymbolEmbeddedVersionPublisherPath123
+ViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinGreeting.twinIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzAzProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingLibrary ReferencesLibrary ReferencesAvailable PackagesAppGlobalClassProjectcefPackagecefPackagecefPackageWinNativeCommonCtlsCustomControlsCustomControlsPackagetbIDEAssertVBWebView2PackageWinEventLogLibWinNamedPipesLibWinServicesLib[BUILT-IN]       twinBASIC - App global class object1.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1091.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v1451.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Chromium Embedded Framework Package v491.0.0.0[BUILT-IN][BUILT-IN]       twinBASIC - Common Controls Compatibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls DESIGNER Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - CustomControls Package0.0.0.5[BUILT-IN][BUILT-IN]       twinBASIC - IDE Extensibility Package0.0.0.1[BUILT-IN][BUILT-IN]       twinBASIC - Unit Testing Package0.0.0.24[BUILT-IN][BUILT-IN]       twinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN][BUILT-IN]       twinBASIC - WebView2 Package0.0.0.3[BUILT-IN][BUILT-IN]       twinBASIC - WinEventLogLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinNamedPipesLib0.1.0.0[BUILT-IN][BUILT-IN]       twinBASIC - WinServicesLib0.1.0.0[BUILT-IN](Filter)74611635654143222122Select references that will be used during compilation of this projectEnabled LibrariesAvailable COM ReferencesLibrary SymbolEmbeddedVersionPublisherPath123
diff --git a/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.png b/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.png
index dcfd7278d..2d31e5813 100644
Binary files a/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.png and b/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.png differ
diff --git a/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.svg b/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.svg
index 564d6d449..e46f1639e 100644
--- a/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.svg
+++ b/docs/Features/Packages/Images/f66fb240-dcb7-46ee-896d-78c3789a7876.svg
@@ -1 +1 @@
-⠿[LINKED-PACKAGE] OLE Guid and interface definitions for 32-bit and 64-bit⚠ ERROR unable to load this reference    FIX
+⠿[LINKED-PACKAGE] OLE Guid and interface definitions for 32-bit and 64-bit⚠ ERROR unable to load this reference    AUTO-FIX
diff --git a/docs/Features/Packages/Linked Packages.md b/docs/Features/Packages/Linked Packages.md
index 2b4799821..2da8a0239 100644
--- a/docs/Features/Packages/Linked Packages.md	
+++ b/docs/Features/Packages/Linked Packages.md	
@@ -36,7 +36,7 @@ Sometimes you may want to open a .twinproj that refers to a linked package you d
 
 ![The standard missing reference message: the LINKED-PACKAGE row of OLE Guid and interface definitions on the Enabled Libraries tab, with a yellow ERROR unable to load this reference box and a FIX link](Images/f66fb240-dcb7-46ee-896d-78c3789a7876.png){:width="544" height="63"}
 
-And it's handled in the same way. **Uncheck the reference** -- "Fix" is not currently implemented. Then, go to the Available Packages tab and select the package-- and as described above, uncheck Embed to convert to a linked package.
+Choose **AUTO-FIX** on that row. If the package is on the TWINSERV package server, the IDE downloads its newest version into your local packages folder, links the reference to it and restarts the compiler; see [References and packages](../../tB/IDE/Projects/References-and-Packages) for the details. If the server does not have the package, **uncheck the reference**, then go to the Available Packages tab and select the package --- and as described above, uncheck Embed to convert it to a linked package.
 
 ## Manual management
 
diff --git a/docs/IDE/AddIns/Help.md b/docs/IDE/AddIns/Help.md
index 04808124d..842d30dc1 100644
--- a/docs/IDE/AddIns/Help.md
+++ b/docs/IDE/AddIns/Help.md
@@ -43,7 +43,7 @@ When no page documents the name, the pane stays as it is, and a notification say
 
 With **Hover help** ticked in the [settings](#settings), the information box the IDE shows when the mouse rests on a name gains a link to the name's page, at its top. Clicking the link shows the page in the pane, as F1 does.
 
-![The mouse pointer resting on Collection in the line Dim names As New Collection. The IDE's information box below it starts with the underlined link Help: Collection class (VBA), followed by the class's declaration and its members.](Images/Help_Hover.png){:width="881" height="492"}
+![The mouse pointer resting on Collection in the line Dim names As New Collection. The IDE's information box below it starts with the underlined link Help: Collection class (VBA), followed by the class's declaration and its members.](Images/Help_Hover.png){:width="889" height="495"}
 
 A link names the symbol, its kind and where it is declared: *Help: MsgBox function (VBA.Interaction)*. A name that several pages document gets a link for each, up to five. A name without a page gets no link. Hover help is off until it is ticked.
 
diff --git a/docs/IDE/AddIns/Images/Help_Hover.light.svg b/docs/IDE/AddIns/Images/Help_Hover.light.svg
index 61eea2cda..948588a53 100644
--- a/docs/IDE/AddIns/Images/Help_Hover.light.svg
+++ b/docs/IDE/AddIns/Images/Help_Hover.light.svg
@@ -1 +1 @@
-567891011121314151617181920212223242526234272829names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75DimitemAsVariantForEachitemInnamesDebug.Printitem,prices(item)NextMsgBox"Total: "&TotalPrice(prices),vbInformationEndSub[Description("Adds up the prices held in a Dictionary.")]PublicFunctionTotalPrice(ByValpricesAsObject)AsDoubleDimkeyAsVariantDimtotalAsDoubleForEachkeyInprices.KeysPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"total+=prices(key)NextReturntotalHelp: Collection class (VBA)classCollectionin package VBAcontains membersFunction Item(ByRef Index As Variant) As VariantSub Add(ByRef Item As Variant, Optional ByRef Key As Variant, Optional ByRef Before As Variant, Optional ByRef After As Variant)Property Get Count() As LongSub Remove(ByRef Index As Variant)Function _NewEnum() As stdole.IUnknownSub Clear()Function Exists(ByVal Key As String) As BooleanProperty Get KeyCountHint() As LongProperty Let KeyCountHint(ByVal Value As Long)Property Get KeyCompareMode() As VbCompareMethodProperty Let KeyCompareMode(ByVal Value As VbCompareMethod)Function Items() As Variant()Function Keys() As String()implements[default] VBA._Collection
🠚 Object
+567891011121314151617181920212223242526234272829names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75DimitemAsVariantForEachitemInnamesDebug.Printitem,prices(item)NextMsgBox"Total: "&TotalPrice(prices),vbInformationEndSub[Description("Adds up the prices held in a Dictionary.")]PublicFunctionTotalPrice(ByValpricesAsObject)AsDoubleDimkeyAsVariantDimtotalAsDoubleForEachkeyInprices.KeysPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"total+=prices(key)NextReturntotalHelp: Collection class (VBA)classCollectionin package VBAcontains membersFunction Item(ByRef Index As Variant) As VariantSub Add(ByRef Item As Variant, Optional ByRef Key As Variant, Optional ByRef Before As Variant, Optional ByRef After As Variant)Property Get Count() As LongSub Remove(ByRef Index As Variant)Function _NewEnum() As stdole.IUnknownSub Clear()Function Exists(ByVal Key As String) As BooleanProperty Get KeyCountHint() As LongProperty Let KeyCountHint(ByVal Value As Long)Property Get KeyCompareMode() As VbCompareMethodProperty Let KeyCompareMode(ByVal Value As VbCompareMethod)Function Items() As Variant()Function Keys() As String()implements[default] VBA._Collection
🠚 Object
diff --git a/docs/IDE/AddIns/Images/Help_Search.light.svg b/docs/IDE/AddIns/Images/Help_Search.light.svg
index bd500a6b5..f51798e6d 100644
--- a/docs/IDE/AddIns/Images/Help_Search.light.svg
+++ b/docs/IDE/AddIns/Images/Help_Search.light.svg
@@ -1 +1 @@
-MainMiscellaneousPackagesReferencesResourcesSourcesInventory.twinTWINBASIC HELPOpen in browserDetachformatStrings.FormatStrings.Format$Strings.FormatCurrencyStrings.FormatDateTimeStrings.FormatNumberStrings.FormatPercentOLE.FormatDataObjectFormat.FormatTypeConstants.VbDateTimeFormatfunctionfunctionfunctionfunctionfunctionfunctionpropertypropertyenum
+MainMiscellaneousPackagesReferencesResourcesSourcesInventory.twinTWINBASIC HELPOpen in browserDetachformatStrings.FormatStrings.Format$Strings.FormatCurrencyStrings.FormatDateTimeStrings.FormatNumberStrings.FormatPercentOLE.FormatDataObjectFormat.FormatTypeConstants.VbDateTimeFormatfunctionfunctionfunctionfunctionfunctionfunctionpropertypropertyenum
diff --git a/docs/IDE/AddIns/Images/Help_Search.svg b/docs/IDE/AddIns/Images/Help_Search.svg
index c71e0543f..7eae4298a 100644
--- a/docs/IDE/AddIns/Images/Help_Search.svg
+++ b/docs/IDE/AddIns/Images/Help_Search.svg
@@ -1 +1 @@
-MainMiscellaneousPackagesReferencesResourcesSourcesInventory.twinTWINBASIC HELPOpen in browserDetachformatStrings.FormatStrings.Format$Strings.FormatCurrencyStrings.FormatDateTimeStrings.FormatNumberStrings.FormatPercentOLE.FormatDataObjectFormat.FormatTypeConstants.VbDateTimeFormatfunctionfunctionfunctionfunctionfunctionfunctionpropertypropertyenum
+MainMiscellaneousPackagesReferencesResourcesSourcesInventory.twinTWINBASIC HELPOpen in browserDetachformatStrings.FormatStrings.Format$Strings.FormatCurrencyStrings.FormatDateTimeStrings.FormatNumberStrings.FormatPercentOLE.FormatDataObjectFormat.FormatTypeConstants.VbDateTimeFormatfunctionfunctionfunctionfunctionfunctionfunctionpropertypropertyenum
diff --git a/docs/IDE/Building/ActiveX-Registration.md b/docs/IDE/Building/ActiveX-Registration.md
index 8a3a1618b..b31b1a96e 100644
--- a/docs/IDE/Building/ActiveX-Registration.md
+++ b/docs/IDE/Building/ActiveX-Registration.md
@@ -63,7 +63,7 @@ Its one button is **Continue Anyway**. The box does not appear when *Register DL
 ![The warning box the IDE shows as it opens a project that registers to HKEY_LOCAL_MACHINE while the IDE is not elevated, with one button.](Images/HKLM_Warning.png){:width="541" height="249"}
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The warning opens twice each time you open the project, and also for a Standard EXE project that has *Register DLLs to HKLM* at **Yes**, although an EXE registers nothing. Choose **Continue Anyway** each time. To stop the box, set *Register DLLs to HKLM* or *Register DLL after build* to **No**.
 
 If you build anyway, the DLL is written and its registration fails:
@@ -90,7 +90,7 @@ For a DLL registered under `HKEY_LOCAL_MACHINE`, in an IDE that is not elevated,
 **Delete It And Continue** builds again and ignores the old build. The console prints `[BUILD] Starting...` again. **Cancel** stops there.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The box that opens at **Clean** has the same buttons, but **Delete It And Continue** there builds a new DLL instead of deleting the old one: the console prints `[LINKER] SUCCESS` and a failed `[REGISTER]` line. Choose **Cancel** at **Clean**: the box does not clean.
 
 If the previous file is not a DLL any more, for example because something else replaced it, the deregistration fails with `-2147467259`, the IDE asks nothing and the build goes on. The new DLL is registered normally.
diff --git a/docs/IDE/Building/Build-Output.md b/docs/IDE/Building/Build-Output.md
index 782307054..f3f6e6f15 100644
--- a/docs/IDE/Building/Build-Output.md
+++ b/docs/IDE/Building/Build-Output.md
@@ -34,7 +34,7 @@ A build makes the folders of the path when they are missing, nested ones too. Th
 - `${IdePath}`, which the samples that build an add-in use, is the folder the IDE is installed in.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > `${ProjectID}` in the path is replaced with nothing. A path of `${SourcePath}\Build\${ProjectID}_x.exe` builds a file called `_x.exe`, with no message, and two projects that use the same pattern overwrite each other's file. Do not use `${ProjectID}`; name the file with `${ProjectName}`.
 
 The other variables, `${VersionMajor}`, `${VersionMinor}`, `${VersionBuild}`, `${VersionRevision}` and `${Bitness}`, give the numbers and the bitness as the settings and the box hold them.
@@ -63,7 +63,7 @@ The *Major*, *Minor*, *Build* and *Revision* settings of the [version resource](
 The type library of an ActiveX DLL or control has its own pair of settings, [*Type Library Version*](../Project-Settings#type-library-version), and its own *Auto-Increment*. A build prints `[BUILD] Auto-incremented type-library version number to: ` for it.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The number that *Auto-Increment* raises is changed in the IDE's memory only. The project is not marked as changed, the `Settings` file is not written, and the **Version** row of the **PACKAGE PUBLISHING** pane stays as it was. **Close Project** asks nothing, and the increments are lost: the next session builds again with the old numbers, and a package is published with a number that was used already. Set the numbers by hand in Project Settings before you build a version that you release or publish, and save the project.
 
 ## What each project type produces
diff --git a/docs/IDE/Building/Build-and-Clean.md b/docs/IDE/Building/Build-and-Clean.md
index 7a0c95a6d..5ece8e6b9 100644
--- a/docs/IDE/Building/Build-and-Clean.md
+++ b/docs/IDE/Building/Build-and-Clean.md
@@ -52,7 +52,7 @@ A project made from a template, a sample or a folder, or imported from a VB6 pro
 The build does not go on after the dialog. Press **Build** again. The folder you chose is now `${SourcePath}`, so the default build path puts the file in a `Build` folder in it.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Save** in this box makes the file you choose the project's file, but writes no `.twinproj` there, and nothing is built. The project stays changed, and **File → Close Project** still asks **You've made changes to this project.  Save now?** Press Ctrl+S after the dialog to write the file.
 
 A project that you opened from a `.twinproj` file has its file, and builds with no question. [Saving and exporting](../Projects/Saving-and-Exporting#a-project-with-no-file) describes the project with no file.
diff --git a/docs/IDE/Building/Images/Console_Clean.light.png b/docs/IDE/Building/Images/Console_Clean.light.png
index 3f4cadd86..f87066836 100644
Binary files a/docs/IDE/Building/Images/Console_Clean.light.png and b/docs/IDE/Building/Images/Console_Clean.light.png differ
diff --git a/docs/IDE/Building/Images/Console_Clean.light.svg b/docs/IDE/Building/Images/Console_Clean.light.svg
index e0500348f..00ed35a2d 100644
--- a/docs/IDE/Building/Images/Console_Clean.light.svg
+++ b/docs/IDE/Building/Images/Console_Clean.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[UNREGISTER] previous type-library deregistration completed. DllUnregisterServer() returned OK16:41:58.204[BUILD-CLEAN] build cleanup completed.
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[UNREGISTER] previous type-library deregistration completed. DllUnregisterServer() returned OK16:41:58.204[BUILD-CLEAN] build cleanup completed.
diff --git a/docs/IDE/Building/Images/Console_Clean.png b/docs/IDE/Building/Images/Console_Clean.png
index 4c3f1c018..6c3695426 100644
Binary files a/docs/IDE/Building/Images/Console_Clean.png and b/docs/IDE/Building/Images/Console_Clean.png differ
diff --git a/docs/IDE/Building/Images/Console_Clean.svg b/docs/IDE/Building/Images/Console_Clean.svg
index 37a94f65d..b6666fd04 100644
--- a/docs/IDE/Building/Images/Console_Clean.svg
+++ b/docs/IDE/Building/Images/Console_Clean.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[UNREGISTER] previous type-library deregistration completed. DllUnregisterServer() returned OK16:41:58.204[BUILD-CLEAN] build cleanup completed.
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[UNREGISTER] previous type-library deregistration completed. DllUnregisterServer() returned OK16:41:58.204[BUILD-CLEAN] build cleanup completed.
diff --git a/docs/IDE/Building/Images/Console_Exe.light.png b/docs/IDE/Building/Images/Console_Exe.light.png
index b4d8634c3..901082448 100644
Binary files a/docs/IDE/Building/Images/Console_Exe.light.png and b/docs/IDE/Building/Images/Console_Exe.light.png differ
diff --git a/docs/IDE/Building/Images/Console_Exe.light.svg b/docs/IDE/Building/Images/Console_Exe.light.svg
index b0c344f2d..469bd3ebd 100644
--- a/docs/IDE/Building/Images/Console_Exe.light.svg
+++ b/docs/IDE/Building/Images/Console_Exe.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] SUCCESS created output file 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[LINKER]    Launch EXE Open Folder
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] SUCCESS created output file 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[LINKER]    Launch EXE Open Folder
diff --git a/docs/IDE/Building/Images/Console_Exe.png b/docs/IDE/Building/Images/Console_Exe.png
index abfed456f..d28ca7f56 100644
Binary files a/docs/IDE/Building/Images/Console_Exe.png and b/docs/IDE/Building/Images/Console_Exe.png differ
diff --git a/docs/IDE/Building/Images/Console_Exe.svg b/docs/IDE/Building/Images/Console_Exe.svg
index d643b353b..98bc02f27 100644
--- a/docs/IDE/Building/Images/Console_Exe.svg
+++ b/docs/IDE/Building/Images/Console_Exe.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] SUCCESS created output file 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[LINKER]    Launch EXE Open Folder
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] SUCCESS created output file 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[LINKER]    Launch EXE Open Folder
diff --git a/docs/IDE/Building/Images/Console_Failed.light.png b/docs/IDE/Building/Images/Console_Failed.light.png
index 1826f9420..6202f6af7 100644
Binary files a/docs/IDE/Building/Images/Console_Failed.light.png and b/docs/IDE/Building/Images/Console_Failed.light.png differ
diff --git a/docs/IDE/Building/Images/Console_Failed.light.svg b/docs/IDE/Building/Images/Console_Failed.light.svg
index 325df5825..a009fc82b 100644
--- a/docs/IDE/Building/Images/Console_Failed.light.svg
+++ b/docs/IDE/Building/Images/Console_Failed.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] compilation (codegen) error detected in 'MainMod.Mainrootmain' at line #116:41:58.204[LINKER] FAILED due to compilation errors 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[BUILD] failed
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] compilation (codegen) error detected in 'MainMod.Mainrootmain' at line #116:41:58.204[LINKER] FAILED due to compilation errors 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[BUILD] failed
diff --git a/docs/IDE/Building/Images/Console_Failed.png b/docs/IDE/Building/Images/Console_Failed.png
index 008dab1ab..ff8501837 100644
Binary files a/docs/IDE/Building/Images/Console_Failed.png and b/docs/IDE/Building/Images/Console_Failed.png differ
diff --git a/docs/IDE/Building/Images/Console_Failed.svg b/docs/IDE/Building/Images/Console_Failed.svg
index 9dc7b26a7..466af1acc 100644
--- a/docs/IDE/Building/Images/Console_Failed.svg
+++ b/docs/IDE/Building/Images/Console_Failed.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] compilation (codegen) error detected in 'MainMod.Mainrootmain' at line #116:41:58.204[LINKER] FAILED due to compilation errors 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[BUILD] failed
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] compilation (codegen) error detected in 'MainMod.Mainrootmain' at line #116:41:58.204[LINKER] FAILED due to compilation errors 'C:\tbshots\Building\Build\Program_win32.exe'16:41:58.204[BUILD] failed
diff --git a/docs/IDE/Building/Images/Console_Locked.light.png b/docs/IDE/Building/Images/Console_Locked.light.png
index 9e1f78b58..5785f4ec3 100644
Binary files a/docs/IDE/Building/Images/Console_Locked.light.png and b/docs/IDE/Building/Images/Console_Locked.light.png differ
diff --git a/docs/IDE/Building/Images/Console_Locked.light.svg b/docs/IDE/Building/Images/Console_Locked.light.svg
index 8dcd16926..58a8f111f 100644
--- a/docs/IDE/Building/Images/Console_Locked.light.svg
+++ b/docs/IDE/Building/Images/Console_Locked.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] FAILED to create output file 'C:\tbshots\Building\Build\Program_win32.exe' (error code 32)16:41:58.204LOCKED BY:16:41:58.204   Program_win32.exe (pid 4120) Terminate16:41:58.204[BUILD] failed
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] FAILED to create output file 'C:\tbshots\Building\Build\Program_win32.exe' (error code 32)16:41:58.204LOCKED BY:16:41:58.204   Program_win32.exe (pid 4120) Terminate16:41:58.204[BUILD] failed
diff --git a/docs/IDE/Building/Images/Console_Locked.png b/docs/IDE/Building/Images/Console_Locked.png
index c4dd27345..89695a15b 100644
Binary files a/docs/IDE/Building/Images/Console_Locked.png and b/docs/IDE/Building/Images/Console_Locked.png differ
diff --git a/docs/IDE/Building/Images/Console_Locked.svg b/docs/IDE/Building/Images/Console_Locked.svg
index c5d8e7f71..1a5f62495 100644
--- a/docs/IDE/Building/Images/Console_Locked.svg
+++ b/docs/IDE/Building/Images/Console_Locked.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] FAILED to create output file 'C:\tbshots\Building\Build\Program_win32.exe' (error code 32)16:41:58.204LOCKED BY:16:41:58.204   Program_win32.exe (pid 4120) Terminate16:41:58.204[BUILD] failed
+DEBUG CONSOLE>16:41:58.204[BUILD] Starting...16:41:58.204[LINKER] FAILED to create output file 'C:\tbshots\Building\Build\Program_win32.exe' (error code 32)16:41:58.204LOCKED BY:16:41:58.204   Program_win32.exe (pid 4120) Terminate16:41:58.204[BUILD] failed
diff --git a/docs/IDE/Building/LLVM-in-the-IDE.md b/docs/IDE/Building/LLVM-in-the-IDE.md
index a52b698c2..9d581d66b 100644
--- a/docs/IDE/Building/LLVM-in-the-IDE.md
+++ b/docs/IDE/Building/LLVM-in-the-IDE.md
@@ -43,7 +43,7 @@ When the compiler reports progress, the IDE opens a box titled **Compiling...**
 ![The Compiling... box of an LLVM build, its progress bar at the start.](Images/Compiling.png){:width="302" height="74"}
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > If another box opens while **Compiling...** is on screen, the end of the build closes that box instead of the progress box, so the other box is lost. The **Compiling...** box stays, with no button, and the IDE cannot be used. Restart the IDE.
 
 ## The cache
diff --git a/docs/IDE/Building/Package-Publishing.md b/docs/IDE/Building/Package-Publishing.md
index 780a9d8ff..b767dbd4b 100644
--- a/docs/IDE/Building/Package-Publishing.md
+++ b/docs/IDE/Building/Package-Publishing.md
@@ -75,11 +75,11 @@ The IDE saves the publisher name. It saves the password only when **Remember pas
 The password is stored in the IDE's settings in the registry with a simple obfuscation, which is not encryption. Anyone who can read your registry can recover it. Leave the box unticked on a machine that others use.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A remembered password that contains `~` comes back wrong: the form is filled in with a different password, and the login fails. Do not tick **Remember password on this device** for such a password, and type it each time.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A saved publisher name that contains a single quote, such as `O'Brien`, is cut at the quote in the pre-filled form (**USERNAME** shows `O`). A remembered password with a quote is cut in the same way. Type the whole name and password into the boxes.
 
 ## Publishing
@@ -108,7 +108,7 @@ The confirmation reads **IMPORTANT: Please check the following information befor
 | Anything else | **[PUBLISH] FAILED.  Server returned HTTPS code** and the number. |
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > After you press **OK** in a box that says **[PUBLISH] FAILED.  Server returned HTTPS code**, the IDE raises a script error (`t is not a function`) that only the IDE's developer tools show. Nothing else changes, and the failure is as the box said: check the number, then publish again.
 
 The IDE has no command that removes or overwrites a published package. A version that has been uploaded stays on TWINSERV, and the next upload needs a higher version.
diff --git a/docs/IDE/Code/Diagnostics.md b/docs/IDE/Code/Diagnostics.md
index 52c019c04..eb062ad7f 100644
--- a/docs/IDE/Code/Diagnostics.md
+++ b/docs/IDE/Code/Diagnostics.md
@@ -79,7 +79,7 @@ Right-click in the list for a menu of five items. The menu is in English whateve
 A copied row reads `{ERROR}` or `{WARNING}`, the path of the file, the position, and the code and message. **Copy All** and **Copy All Errors** begin with a line that names the IDE: `twinBASIC (` and the version, then `) compilation error report:`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Each copied message contains the HTML tag `TBnnnn` around the code, and **Copy All** labels hints and information messages `{WARNING}`. Remove the tags from the pasted text by hand.
 
 ## In the code
@@ -110,12 +110,8 @@ Most errors are explained on the page of the statement, type or feature they con
 **TB5182**, *Syntax error. No handler for this symbol*
 : A statement or an attribute where the language does not allow it. A line at the top level of a `.twin` file, outside a **Module** or **Class** block, is one case. An [attribute](../../Core/Attributes) written where it does not apply is another.
 
-
-> [!NOTE] BETA 1034
-> The error can also appear on a correct line: the next **Friend**, **ReadOnly**, **WithEvents**, **Implements** or **Inherits** after a [**Delegate**](../../Core/Delegate) statement gives it. Move the **Delegate** after that line.
-
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > For a type name, TB5079 reads *Unrecognized symbol 'Unrecognized datatype symbol 'NoSuchType''*: the message for a type is put inside the message for a name.
 
 ## See Also
diff --git a/docs/IDE/Code/Editor.md b/docs/IDE/Code/Editor.md
index 21d08a4ca..c84c36a31 100644
--- a/docs/IDE/Code/Editor.md
+++ b/docs/IDE/Code/Editor.md
@@ -27,7 +27,7 @@ Each open file has a tab. The tab shows the file's icon, its name and a close bu
 - Click the middle mouse button on a tab to close it.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A tab is tinted only when the compiler reports its file while the tab is open. A tab opened after that report stays untinted until the compiler checks the file again, for example after the next edit to it. The Project Explorer row is tinted either way.
 
 A tab in italics is a *preview tab*. When **Single-Click Preview** is on, a single click on a file in the Project Explorer opens it in a preview tab, and the next single click replaces it. A double-click, or any edit, makes the tab permanent. The **Find / Replace** panel also opens the files it visits in a preview tab. [IDE Options](../Customising/IDE-Options) describes the option.
@@ -40,21 +40,24 @@ Choose the close button, press Ctrl+W or Ctrl+<
 
 After you close the active tab, the editor selects the tab you used before it, not its neighbour.
 
-Right-click a tab for a menu of four items:
+Right-click a tab for a menu of five items:
 
 **Close**
 : Closes the tab you clicked.
 
-**Close Others**
+**Close other tabs**
 : Closes every tab except the one you clicked. It asks about each file that has unsaved changes, one after another. **Cancel** keeps that file only; the next file is still asked about.
 
+**Close tabs to the right**
+: Closes every tab after the one you clicked. The tabs whose files have no unsaved changes close at once. The files with changes are named together in one box: **Save** saves and closes them all, **Discard Changes** closes them all without saving, and **Cancel** leaves them all open.
+
 **Close Saved**
 : Closes every tab whose file has no unsaved changes, and asks nothing. The files with changes stay open.
 
 **Close All**
 : Closes every tab, and asks about each file that has unsaved changes.
 
-![The right-click menu of the tab Helpers.twin, open under the tab, with the items Close, Close Others, Close Saved and Close All.](Images/Tab_Menu.png){:width="500" height="142"}
+![The right-click menu of the tab Helpers.twin, open under the tab, with the items Close, Close other tabs, Close tabs to the right, Close Saved and Close All.](Images/Tab_Menu.png){:width="547" height="165"}
 
 The tab menu is in English whatever the [language of the IDE](../Customising/#the-language-of-the-ide) is.
 
@@ -195,7 +198,7 @@ Typing, deleting and most commands act at every cursor. One Ctrl+Ctrl+D and Ctrl+Shift+L match whole words in the current file, including words inside strings and comments. Ctrl+Shift+L and **Select All Matches** (see [Finding](Finding#select-all-matches)) both give a cursor to each match.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Esc does not remove the extra cursors. Click in the text, or run any command that places the caret, to go back to one cursor.
 
 ### Change case
@@ -271,7 +274,7 @@ Paste on a blank line, or with the caret at the end of the indent. Pasting at th
 **Rename Symbol** is on the right-click menu, which shows the key F2 beside it. F2 opens the [Object Browser](Object-Browser) instead, in the editor as everywhere else.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Rename Symbol does nothing: choosing it from the right-click menu opens no box and changes no name. To rename a name that is used in one file, use **Change All Occurrences**. For a name used in several files, use the [Find / Replace](Finding) panel with **Whole Word Only** and **Current Project**, and replace one match at a time, because **Replace All** does not work in project scope.
 
 **Change All Occurrences**, on the right-click menu only, gives a cursor to every occurrence of the word under the caret in the file. Type the new name to replace them all. The match is on text, not on meaning: the word is also changed inside strings and comments. A longer name that contains the word, such as `totalPrice` for `total`, is not changed. One Ctrl+Z restores all of them. Other files are not touched.
@@ -284,7 +287,7 @@ Paste on a blank line, or with the caret at the end of the indent. Pasting at th
 The formatter changes only the indent of each line. It trims the line and sets the indent to four spaces for each level, whatever **TAB Spaces Amount** is. It does not change the words, their case or the spacing inside the line. It adds a level after `Class`, `Module`, `Type`, `Enum`, `For`, `While`, `Do`, `With`, a block `If`, `#If`, `Sub`, `Function` and `Property`, and takes it away at the matching End. `ElseIf` and `Else` lines sit at the level of their `If`. A `Select Case` indents its `Case` lines one level and their bodies two. A continuation line is indented two levels deeper than its statement. The members of an interface get one level and no End.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **Format Selection** fails when the selection starts on a continuation line, which is a line after one that ends in ` _`. Nothing is formatted, and a box opens with the text *IDE startup failure*, followed by *JS Promise Rejection(1): Assignment to constant variable.* If the IDE was started by opening the project's `.twinproj` file, it then closes. With unsaved changes, it first asks whether to save them: choose **Save**, or **Cancel** to keep the IDE open. Save before you format, start the selection on the first line of the statement, or use **Format Document**.
 
 ## Auto Prettify
@@ -322,7 +325,7 @@ A right-click in the editor moves the caret to the point, unless you click insid
 Shift+F10 opens the same menu from the keyboard.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Shift+F10 opens the menu at the top-left corner of the IDE window, not at the caret. Right-click in the editor to open it at the pointer.
 
 ## The command palette
diff --git a/docs/IDE/Code/Finding.md b/docs/IDE/Code/Finding.md
index 8d493695e..03fd3c4ea 100644
--- a/docs/IDE/Code/Finding.md
+++ b/docs/IDE/Code/Finding.md
@@ -118,10 +118,10 @@ These keys work only while the focus is in the panel:
 
 A search that reaches the end of its scope with **Down** asks **End of search scope has been reached; do you want to continue from the beginning?** With **Up** it asks **Beginning of search scope has been reached; do you want to continue from the end?** The buttons are **Yes** and **No**.
 
-A search with **All**, a project search, and **Replace All** end with **The specified region has been searched.** After a **Replace All**, a second box says how many replacements were made: **N replacements were made.**, or **1 replacement was made.** With no scope ticked, the panel says **Scope not selected**.
+A search with **All**, a project search, and **Replace All** end with **The specified region has been searched.** After a **Replace All**, a second box says how many replacements were made: **N replacements were made.**, or **1 replacement was made.** In a project search, one box says both, and in how many files: **The specified region has been searched. N replacements were made in M files.** (see [Search the whole project](#search-the-whole-project)). With no scope ticked, the panel says **Scope not selected**.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > After a search of **Selected Text**, moving the caret leaves **Selected Text** ticked but greyed out, and **Current File** is no longer ticked. **Find Next** then says at once that the end of the search scope has been reached. Tick **Current File** again to search on.
 
 ## Match text
@@ -129,7 +129,7 @@ A search with **All**, a project search, and **Replace All** end with **The spec
 A plain search ignores case unless **Match Case** is ticked.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **Whole Word Only** never finds a match that starts at the very first character of the file. For example, searching for `Module` with **Whole Word Only** skips a `Module` on line 1, column 1. A **Replace All** with **Whole Word Only** leaves that word unchanged. Search without **Whole Word Only**, and check the first line yourself.
 
 ### Pattern matching
@@ -153,15 +153,15 @@ With **Match Regular Expressions**, **Find What** is a JavaScript regular expres
 If **Find What** is not in the `/pattern/flags` form, a box says **Invalid format. Expecting /pattern/flags**. If the pattern is not a valid expression, a box says **Invalid RegExp:**.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A regular expression that has a capital letter finds nothing unless it has the `i` flag. The search runs on the text of the file turned into small letters, and the pattern is left as written. `/End Sub/` finds nothing and reports **The specified region has been searched.**, while `/end sub/` and `/End Sub/i` find every `End Sub`. Write the pattern in small letters, or add the `i` flag.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A regular expression whose match spans a line break, such as `/^\s+end sub$/`, selects nothing. The selection is an empty one at the end of the line before the match, and **Find Next** stays there. Search for one line at a time.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The **Invalid RegExp:** box leaves out the reason. It shows the words and nothing after them.
 
 ## Search the whole project
@@ -180,7 +180,7 @@ A project search:
 - always goes down, whatever **Direction** says;
 - opens each file that holds a match in a tab. The tab is a preview tab when **Single-Click Preview** is on.
 
-**Replace All** does not work in a project search. The panel says **Sorry, Replace-All not yet supported in project-scope**. Use **Replace** and **Find Next** to go through the matches one at a time, or switch to **Current File** and repeat the replacement in each file.
+**Replace All** in a project search replaces every match in the project's `.twin`, `.bas`, `.cls` and `.md` files at once, wherever the search started. It opens each file that holds a match in a tab and makes the replacements there, so Ctrl+Z in a file's tab takes back the replacements made in that file. One box then says **The specified region has been searched.** and how many replacements were made in how many files, such as **8 replacements were made in 2 files.** A file that could not be changed is listed in the box with the reason. **Replace All** never changes the packages, even with **Inside Packages** ticked, and like the search it does not look in forms.
 
 ## Quick Find
 
diff --git a/docs/IDE/Code/Images/Tab_Menu.light.png b/docs/IDE/Code/Images/Tab_Menu.light.png
index 8a49ee173..be93f6f6d 100644
Binary files a/docs/IDE/Code/Images/Tab_Menu.light.png and b/docs/IDE/Code/Images/Tab_Menu.light.png differ
diff --git a/docs/IDE/Code/Images/Tab_Menu.light.svg b/docs/IDE/Code/Images/Tab_Menu.light.svg
index 4b7b7600f..209ae2fb1 100644
--- a/docs/IDE/Code/Images/Tab_Menu.light.svg
+++ b/docs/IDE/Code/Images/Tab_Menu.light.svg
@@ -1 +1 @@
-EDITOR 1Helpers(general)Types.twinInventory.twinHelpers.twin1234ModuleHelpersPublicEnumColourRed=1CloseClose OthersClose SavedClose All
+EDITOR 1Helpers(general)Types.twinInventory.twinHelpers.twin12345ModuleHelpersPublicEnumColourRed=1Green=2CloseClose other tabsClose tabs to the rightClose SavedClose All
diff --git a/docs/IDE/Code/Images/Tab_Menu.png b/docs/IDE/Code/Images/Tab_Menu.png
index dd1bf2eab..e47c93816 100644
Binary files a/docs/IDE/Code/Images/Tab_Menu.png and b/docs/IDE/Code/Images/Tab_Menu.png differ
diff --git a/docs/IDE/Code/Images/Tab_Menu.svg b/docs/IDE/Code/Images/Tab_Menu.svg
index d6103eec1..7f58d9db0 100644
--- a/docs/IDE/Code/Images/Tab_Menu.svg
+++ b/docs/IDE/Code/Images/Tab_Menu.svg
@@ -1 +1 @@
-EDITOR 1Helpers(general)Types.twinInventory.twinHelpers.twin1234ModuleHelpersPublicEnumColourRed=1CloseClose OthersClose SavedClose All
+EDITOR 1Helpers(general)Types.twinInventory.twinHelpers.twin123456ModuleHelpersPublicEnumColourRed=1Green=2Blue=4CloseClose other tabsClose tabs to the rightClose SavedClose All
diff --git a/docs/IDE/Code/IntelliSense.md b/docs/IDE/Code/IntelliSense.md
index f13e0d70a..cdb17e5db 100644
--- a/docs/IDE/Code/IntelliSense.md
+++ b/docs/IDE/Code/IntelliSense.md
@@ -40,7 +40,7 @@ The list holds the names that **start with** the word you have typed. The match
 A row can show `...` for a moment in place of a type. The compiler sends the types a little after the names.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > One row of a list never gets its type: a variable shows `variable` with nothing after it, and a function shows no text. Which row depends on the compile, and opening the list again does not change it. The row can be out of sight, or a kind of name that has no type, so a list often looks complete.
 
 ### Choose an entry
@@ -63,7 +63,7 @@ What an accepted entry adds:
 Esc, Left, Right and Backspace close the list. Left also moves the caret, and Backspace also deletes. Scrolling the editor with the mouse wheel closes the list too.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Typing `(` to accept a function from the list doubles the bracket: `Area` becomes `Area(()`. Accept the function with Tab or Enter instead. It gives `Area()` with the caret between the brackets, so type the arguments without the opening bracket.
 
 The Debug Console has the same list in its entry box. See [Debug Console](../Debugging/Debug-Console).
diff --git a/docs/IDE/Code/Navigating.md b/docs/IDE/Code/Navigating.md
index b63125544..feec16ac5 100644
--- a/docs/IDE/Code/Navigating.md
+++ b/docs/IDE/Code/Navigating.md
@@ -40,7 +40,7 @@ Where the caret lands:
 | A keyword, or text in a string | Nowhere. |
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Ctrl+Up and Ctrl+Down, and Go To Definition for most names, land on the line after the declaration, not on the declaration itself. Press Up once to reach it.
 
 Ctrl+click does not follow a name, and the editor has no Peek Definition.
@@ -106,7 +106,7 @@ The **OUTLINE** panel lists the symbols of the file you are editing. It is empty
 ![The Outline pane listing the two top level items of the open file, the module MainModule and the class GlobalSearchAddIn.](../Images/Outline_1.png){:width="300" height="96"}
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The Outline lists only the top-level types of a file, such as the module or the classes. The procedures, fields and properties inside them are missing, rows have no expand arrow, and the filters of the **...** menu below change nothing you can see. To go to a procedure, use the [combo boxes](Editor#the-navigation-combo-boxes).
 
 The **...** button in the header of the panel opens a menu of eleven items that you tick. The IDE keeps them for each project.
diff --git a/docs/IDE/Code/Object-Browser.md b/docs/IDE/Code/Object-Browser.md
index 6ce28020d..aa1054f41 100644
--- a/docs/IDE/Code/Object-Browser.md
+++ b/docs/IDE/Code/Object-Browser.md
@@ -89,7 +89,7 @@ A member of a package, such as VBA's **Left**, opens the package's source in a r
 In a list, Up, Down, Home and End move the selection, and typing the first letters of a name selects the next item that starts with them. Letters typed within a second of each other make one name; after a pause, a letter starts again. Enter goes to the definition. Esc closes the Object Browser from anywhere in it, as **Close** and the title bar's **X** do, and the focus goes back to where it was.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Tab moves the focus from the search box to **Aa** and no further. Shift+Tab moves it from the search box to **Project / Library**, then to the copy button of the description, and no further. To use a list from the keyboard, click it first: its keys then work.
 
 ## What it remembers
diff --git a/docs/IDE/Customising/IDE-Options.md b/docs/IDE/Customising/IDE-Options.md
index 990c6be49..8649e2e6a 100644
--- a/docs/IDE/Customising/IDE-Options.md
+++ b/docs/IDE/Customising/IDE-Options.md
@@ -25,7 +25,7 @@ Choose **Tools → IDE Options...**. The command has no default key.
 
 ![The IDE Options dialog at its default settings, on All, at the top of its list. The rail at the left holds a Filter box and the groups Appearance, Code Editor, Compiler, Project Explorer, Intellisense/Hover, Designer/Toolbox and General, each with its number of options. The Appearance group holds Colour Theme set to Dark, IDE Font Size 13px, IDE Font Segoe UI, and Show real OS titlebar and Single row of code panel tabs, both No. The Code Editor group follows with TAB Spaces Amount 4, Code Editor Font Size 13px, an empty Code Editor Font, Use Font Ligatures No and Show Code Editor Combo Selectors above. Each row has a grey description under its name, except Colour Theme. Change Licence sits at the bottom left, with a greyed-out Save Changes and a Close button at the right.](../Menu/Images/Menu_Tools_IDEOptions.png){:width="1002" height="838"}
 
-The dialog is titled **twinBASIC IDE Options**, and it works as the [Project Settings](../Project-Settings) dialog does. The rail at its left lists seven groups, each with its number of options: **Appearance**, **Code Editor**, **Compiler**, **Project Explorer**, **Intellisense/Hover**, **Designer/Toolbox** and **General**, 32 options in all. **All**, at the top of the rail, shows every group under its title, in one list that scrolls, and clicking a group shows only its options. Typing in the **(Filter)** box above them shows only the options that contain every word typed, in their name, their description or their values: `llvm` leaves the three options of **Compiler**. Esc in the filter box closes the dialog. The sections below group the options by what they change, and name each option as the dialog does.
+The dialog is titled **twinBASIC IDE Options**, and it works as the [Project Settings](../Project-Settings) dialog does. The rail at its left lists seven groups, each with its number of options: **Appearance**, **Code Editor**, **Compiler**, **Project Explorer**, **Intellisense/Hover**, **Designer/Toolbox** and **General**, 33 options in all. **All**, at the top of the rail, shows every group under its title, in one list that scrolls, and clicking a group shows only its options. Typing in the **(Filter)** box above them shows only the options that contain every word typed, in their name, their description or their values: `llvm` leaves the three options of **Compiler**. Esc in the filter box closes the dialog. The sections below group the options by what they change, and name each option as the dialog does.
 
 Each row has the option's name at the left, with a description under it for every option but **Colour Theme**, and its control at the right. Rows are one of four kinds:
 
@@ -141,6 +141,9 @@ The mode applies to the code editor and to the entry box of the Debug Console. <
 **Focus The 'Recent' Tab On IDE Startup**
 : Default off. The dialog that opens when the IDE starts opens on its **Recent** section, until the dialog has been closed once. Every closing saves the section the dialog was on, and from then on the dialog opens on that section, whatever this option says. [New Project](../Starting/New-Project#the-section-is-remembered) describes it.
 
+**Recents History Maximum Count**
+: Default 50, and no less than 0. The most projects that the IDE keeps in the list of the **Recent** section. Once the list is longer, the IDE shortens it to this many. The option is in the **General** group of the dialog.
+
 **Ask Before Delete Files**
 : Default on. Deleting files in the Project Explorer shows a confirmation box first. With the option off, the files are deleted without a question.
 
diff --git a/docs/IDE/Customising/Themes.md b/docs/IDE/Customising/Themes.md
index c8b9a1d01..6274ba846 100644
--- a/docs/IDE/Customising/Themes.md
+++ b/docs/IDE/Customising/Themes.md
@@ -78,7 +78,7 @@ SymbolClassTextDecoration:      underline;
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A file named `Dark.theme` or `Light.theme` in `%APPDATA%\twinBASIC\themes` breaks the inheritance of every custom theme. The IDE ignores the file's contents, but still counts it, and so it never links the themes to their parents. Every custom theme, and **Classic (Light)** with them, is listed as `(undefined)` in place of **Light** or **Dark**. Choosing one gives the dark base with only that theme's own properties changed, and **Reload from disk** no longer applies the edits you make. No error is shown. To change one of the shipped themes, give your file another name and inherit from the shipped theme: `inherits: dark;`.
 
 A chain of `inherits:` lines must not return to a theme in it. When `LoopA` has the line `inherits: LoopB;` and `LoopB` has `inherits: LoopA;`, **Reload from disk** shows the alert *Invalid theme file detected: LoopB.theme (recursive inheritance)*. `LoopA` is then left out of the **Theme** list, and `LoopB` is listed with the dark base.
@@ -97,17 +97,19 @@ A property becomes a CSS variable on the IDE's page, named `--theme` followed by
 
 One property is read by the IDE itself and not by CSS: `CodeBracketPairColorization: 1` colours matching pairs of brackets in the code. The shipped themes set it to 0.
 
-The shipped files `Dark.theme` and `Light.theme` define the same properties, about 500 of them, and are the list of properties you can set. They start with a comment that tells you not to modify them, so copy a property's name from them and put it in your own file. The names group by their first word:
+The shipped files `Dark.theme` and `Light.theme` define the same properties, about 550 of them, and are the list of properties you can set; `Light.theme` has one more, `DialogNavBarBackColor`. They start with a comment that tells you not to modify them, so copy a property's name from them and put it in your own file. The names group by their first word:
 
 - `Symbol`, 188 properties: the colour, font style, font weight and text decoration of each kind of code.
+- `Dialog`, 47: the dialogs. `DialogTickForeColor`, for example, is the colour of the ticks in the tree of the [**Import from twinproj...**](../Projects/Adding-Files#projects-and-packages) dialog.
 - `Toolbox`, 33.
 - `Panel` and `Status`, 25 each.
 - `Designer`, 19.
 - `Icon`, 16.
-- `Dialog` and `Tab`, 15 each.
-- `Code` and `Property`, 13 each.
+- `Tab`, 15.
+- `Property`, 14.
+- `Code`, 13.
 
-Smaller groups follow, such as `Context`, `General`, `Diagnostics`, `Debug`, `Dock`, `FrontPage` and `Menu`. The names within each shipped file are in alphabetical order.
+Smaller groups follow, such as `Diagnostics`, `Context`, `FrontPage`, `General`, `Modal`, `Dock`, `Debug` and `Menu`. The names within each shipped file are roughly, not strictly, in alphabetical order, so search the file for a name rather than looking for it by its place.
 
 Each of the 47 kinds of code has four `Symbol` properties: its name between `Symbol` and `Color`, `FontStyle`, `FontWeight` or `TextDecoration`. `SymbolClassTextDecoration` in the example above is the text decoration of the kind *Class*.
 
diff --git a/docs/IDE/Customising/index.md b/docs/IDE/Customising/index.md
index 0790c8bfd..0888e5117 100644
--- a/docs/IDE/Customising/index.md
+++ b/docs/IDE/Customising/index.md
@@ -84,7 +84,7 @@ The [FAQ](../../../FAQ#ide-data-storage) lists the other folders the IDE uses.
 
 Choose the language of the menus and dialogs under **Window → Language**. The submenu lists every language pack, and a tick marks the one in use.
 
-![The Window menu with Language highlighted and its submenu open to the right, listing nineteen languages in one tall column from Catalan and German through to Chinese Simplified and Chinese Traditional. Each is named in English with its own native spelling beside it, and English, British English, carries the tick.](../Menu/Images/Menu_Window_Language.png){:width="391" height="577"}
+![The Window menu with Language highlighted and its submenu open to the right, listing twenty languages in one tall column from Catalan and German through to Chinese Simplified and Chinese Traditional. Each is named in English with its own native spelling beside it, and English, British English, carries the tick.](../Menu/Images/Menu_Window_Language.png){:width="391" height="600"}
 
 The submenu shows these names, in this order. Each name is the one its pack gives itself, so some differ from the usual English spelling: the Indonesian entry begins *Indonesia*, and the Italian one ends in a brace. The entries for Hindi, Japanese, Malayalam, Russian and the two Chinese packs also give the language's own name, in its own script, in brackets. The table shows only their English names.
 
@@ -102,6 +102,7 @@ The submenu shows these names, in this order. Each name is the one its pack give
 | Italian (Italiano [Italy}) | `it-it.lang` |
 | Japanese | `ja-jp.lang` |
 | Malayalam | `ml-in.lang` |
+| Dutch (Nederlands NL) | `nl-nl.lang` |
 | Polish (Polski) | `pl-pl.lang` |
 | Portuguese (Português [Brasil]) | `pt-br.lang` |
 | Russian | `ru-ru.lang` |
@@ -142,7 +143,7 @@ To write a pack, copy `en-gb.lang` and translate it. The `README.txt` in the IDE
 A pack is a text file of `Name: value;` pairs, as a [theme](Themes#the-format-of-a-theme-file) is, with `/* ... */` comments. Each value is a string in double quotes. Write two double quotes for one inside a string. A line break inside the quotes is kept. In a string, `{%Name}` stands for another string and `{%1}` and `{%2}` mark the places where the IDE fills in a value.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A `;` followed by a space, a tab or a line break ends the string even inside its quotes, and the rest of the string is lost: `"Save; then close"` reads *Save*. A `;` with no space after it stays in the string. `en-gb.lang` has one such string, the warning TB0022, so the warning reads only *Suspicious array assignment*.
 
 Since BETA 1034 the compiler also takes the text of its warnings and errors from the pack: a string named after a code, such as `TB0024`, is the text of the message with that code. `en-gb.lang` holds the English text of the [warnings](../../../Features/Compiler-IDE/Compiler-Warnings) and of the error TB5079, *Unrecognized symbol*. In those strings `{0}`, `{1}` and so on mark the values the compiler fills in, such as a variable's name. A string named after any other code replaces that message too, and `{0}` in it stands for the compiler's English message.
diff --git a/docs/IDE/Debugging/Breakpoints-and-Stepping.md b/docs/IDE/Debugging/Breakpoints-and-Stepping.md
index a56d8f82d..c40ba3e72 100644
--- a/docs/IDE/Debugging/Breakpoints-and-Stepping.md
+++ b/docs/IDE/Debugging/Breakpoints-and-Stepping.md
@@ -39,7 +39,7 @@ To clear every breakpoint of the project, choose **Debug → Clear All Breakpoin
 On the line that has the arrow, a click without dragging toggles a breakpoint too. A press that lasts longer than a fifth of a second starts a drag of the arrow instead; see [Set Next Statement](#set-next-statement).
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > F9 pressed within a few tens of milliseconds after an edit can come before the compiler's answer to the edit, and that answer then puts the margin back as it was. A new breakpoint loses its red dot, but the program still stops on the line, and the next breakpoint set in that file removes it. A cleared breakpoint gets its dot back, but the program does not stop on the line. The next edit puts the margin right. Wait a moment after typing before you press F9.
 
 ### What a breakpoint does
@@ -58,7 +58,7 @@ When a stop is in a file that is not open, the IDE opens the file. With **Single
 The compiler keeps the breakpoints of each file. A breakpoint survives **Restart the compiler**, whether or not you saved the project, because the IDE sends its list to the new compiler. A breakpoint is not part of the source: **Export Project** writes no trace of one. Setting or clearing one marks the project as changed, so closing the project asks to save it.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Ctrl+S pressed less than about 10 ms after F9 can save the breakpoints as they were before that F9. The margin and the next run are right, but after **Restart the compiler** a breakpoint you cleared is back and stops the program, and one you set is gone. To put it right, set or clear the breakpoint again and save.
 
 The **Allow Breakpoints (Debuggable)** item of **Debug → Debugger Options** turns breakpoints off for the whole project. While it is off, you can still set breakpoints and the margin shows them, but none stops the program. Turn it on, and they stop it again from the next run. [Debuggable](../Project-Settings#debuggable) describes the project setting, and the [**Debuggable**](../../Core/Attributes#debuggable) attribute changes it for one module, class or procedure.
@@ -98,7 +98,7 @@ A procedure in another file opens in the editor when you step into it, as a prev
 At the `End Sub` of a procedure whose local variables hold objects, a step goes into a frame named `{class_final_destruction}` and then into the `Class_Terminate` procedures of those objects. A step off the `End Sub` of the `Click` procedure of a form lets the program run on, and the form waits for input again.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Once the program has stopped at a breakpoint, no step stops in a caller of the procedure it stopped in. Step Out, F8 at the `End Sub` and Step Over all run the caller on until the next breakpoint or the end of the program. Steps inside the procedure, and into the procedures it calls and back out to it, work. To stop in the caller, put a breakpoint there, or stop on the line of the call and step into the procedure.
 
 ## Set Next Statement
@@ -111,10 +111,13 @@ The jump works inside the paused procedure only. A blank line, a line of another
 
 ## Break On All Errors and Debuggable
 
-The two items of **Debug → Debugger Options** turn project settings on and off. Each writes its setting into the project's `Settings` file. A change to **Allow Breakpoints (Debuggable)** marks the project as changed, applies from the next run, and needs no restart of the compiler.
+The three items of **Debug → Debugger Options** turn project settings on and off. Each writes its setting into the project's `Settings` file. A change to **Allow Breakpoints (Debuggable)** marks the project as changed, applies from the next run, and needs no restart of the compiler.
 
-**Break On All Errors**
-: Off by default. Then an error that is raised while `On Error Resume Next` or `On Error GoTo` is in effect goes to that handler, as usual. When it is on, the program stops at the failing line even there, with the same error panel as [an error that nothing handles](#when-a-run-time-error-stops-the-program). **Ignore (Resume Next)** then skips the line. Under `On Error Resume Next`, `Err.Number` still holds the error afterwards, so code that checks it sees the error. F5 runs the failing line again, and the program stops on it again. Under `On Error GoTo`, the handler never runs. The project setting is [Break On All Errors](../Project-Settings#break-on-all-errors).
+**Break On All Errors (this project)**
+: Off by default. Then an error that is raised while `On Error Resume Next` or `On Error GoTo` is in effect goes to that handler, as usual. When it is on, the program stops at the failing line even there, with the same error panel as [an error that nothing handles](#when-a-run-time-error-stops-the-program). **Ignore (Resume Next)** then skips the line. Under `On Error Resume Next`, `Err.Number` still holds the error afterwards, so code that checks it sees the error. F5 runs the failing line again, and the program stops on it again. Under `On Error GoTo`, the handler never runs. It applies to errors raised in the project's own code only. The project setting is [Break On All Errors](../Project-Settings#break-on-all-errors).
+
+**Break On All Errors (inside packages)**
+: Off by default. It does the same for errors raised in the code of the packages that the project references. The project setting is [Break On All Errors (packages)](../Project-Settings#break-on-all-errors-packages).
 
 **Allow Breakpoints (Debuggable)**
 : On by default; the item shows its tick when the setting is absent from the `Settings` file. See [Where breakpoints are kept](#where-breakpoints-are-kept) and [Debuggable](../Project-Settings#debuggable).
@@ -180,7 +183,7 @@ Running any line in the console removes the error panel. The failing line stays
 - **Search Online** opens a Google search in the default browser. The search text is `twinBASIC VB6`, the header and the description of the error.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Search Online** puts the error text into the address as it is, without encoding it. An `&` in the description ends the search text at that point, so the search loses the rest, and a `"` ends the address. Copy the description from the panel and search for it in your browser instead.
 
 ### Stepping on through the rest of the loop
@@ -197,7 +200,7 @@ To run on to the end instead, correct the value and press F5, or pres
 Edit and Continue is not supported at the error panel either: when you change the code, the console writes `[EDIT & CONTINUE] not yet supported.  Aborting.`. After you change the failing line, F5 starts a new run that runs the changed line.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An edit at the error panel does not abort the program, although the console says `Aborting`. The rest of the failing procedure is skipped, and the code after its call runs: its output appears in the console, and the run then ends. At a breakpoint the same edit does abort the program. Do not edit the code while the error panel is showing. End the run first, as the **Stop** warning under [Traps](#traps) describes, and then edit.
 
 ### Traps
@@ -205,11 +208,11 @@ Edit and Continue is not supported at the error panel either: when you change th
 - **The panel disappears, and Ignore with it.** Running a line in the Debug Console, or clicking another procedure in the Call Stack, removes the panel. F5 brings it back only by running the failing line again. Set Next Statement onto the next line, then F5, does what **Ignore (Resume Next)** would have done.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A step key pressed on the failing line leaves a step waiting. After F8 on the failing line, **Ignore (Resume Next)** stops again on the next line instead of going on, and the next F5 is used up as well. Press F5 to go on, or use Set Next Statement as above instead of a step key.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **Stop** at an error ends only the procedure that failed. The procedure that called it goes on from its next line: if `Sub Main` called `FillTable`, the rest of `Sub Main` still runs. The panel's **Stop**, the toolbar's **Stop** and **Run → End** all do this. At a failed `Debug.Assert`, **Stop** ends only the check, and the test goes on past it as if the check had passed. To end the whole run, first move the arrow to a later line with Ctrl+F9, then press **Stop**. Away from an error --- at a breakpoint, after a step, or after Set Next Statement --- **Stop** ends the run.
 
 ## See Also
diff --git a/docs/IDE/Debugging/Debug-Console.md b/docs/IDE/Debugging/Debug-Console.md
index 91d921634..bd7bfaa6b 100644
--- a/docs/IDE/Debugging/Debug-Console.md
+++ b/docs/IDE/Debugging/Debug-Console.md
@@ -17,10 +17,14 @@ index_also:
 
 The **DEBUG CONSOLE** panel is a scrolling log of what a run writes, and an input row that runs one line of code at a time.
 
-![The Debug Console pane with its three header buttons outlined at the top right. Labels above the pane, with arrows, name the first two buttons Auto Scroll and Clear Debug Console. The Options menu of the third button is open below it, offering Invert Output Direction and a ticked Show Timestamps, and a label at its right, also with an arrow, names it Options. The input row is outlined along the bottom edge, and a label with an arrow names it Input.](../Images/DebugConsole.png){:width="915" height="326"}
+![The Debug Console pane with its three header buttons outlined at the top right. Labels above the pane, with arrows, name the first two buttons Auto Scroll and Clear Debug Console. The Options menu of the third button is open below it, offering Invert Output Direction, a ticked Show Timestamps and Smoother Scrolling, and a label at its right, also with an arrow, names it Options. The input row is outlined along the bottom edge, and a label with an arrow names it Input.](../Images/DebugConsole.png){:width="915" height="326"}
 
 The panel is docked at the bottom of the default layout. Ctrl+G shows it, and moves the keyboard focus to the input row.
 
+
+> [!WARNING] BETA 1042
+> The first project opened after the IDE starts empties the console twice: once as the project opens, as it should, and again a moment later, as the project's console options are applied. What was written in between is lost, the lines an add-in prints as the project loads among them. A project opened after the first one is not affected.
+
 ## What the console shows
 
 **Debug.Print**
@@ -57,7 +61,7 @@ The ![Clear Debug Console button](../Images/DebugConsole_Clear.png){:width="17"
 
 ### Options
 
-The ![Options button, three dots](../Images/DebugConsole_Options.png){:width="17" height="17"} button opens a menu of two items, each with a tick when it is on.
+The ![Options button, three dots](../Images/DebugConsole_Options.png){:width="17" height="17"} button opens a menu of three items, each with a tick when it is on.
 
 **Invert Output Direction**
 : Off by default. Puts the newest line at the top.
@@ -65,7 +69,10 @@ The ![Options button, three dots](../Images/DebugConsole_Options.png){:width="17
 **Show Timestamps**
 : On by default. It only hides the times: every line keeps its time, and **Copy All (With Timestamps)** still includes it.
 
-The IDE saves both settings with the project.
+**Smoother Scrolling**
+: Off by default. When it is on, the console measures the height of each line as the line is written, and scrolls by those heights, which keeps the scrolling smooth when lines differ in height. Turning it on or off empties the console.
+
+The IDE saves the three settings with the project.
 
 ## The input row
 
@@ -100,15 +107,15 @@ The input row is one line. There is no way to enter a multi-line construct.
 - A [keyboard shortcut](../Customising/Keyboard-Shortcuts#the-text-of-a-group) can run a line of code in the console: `tbDebugConsole_ExecuteCode('? 6*7')` is the one command that takes an argument.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The input row offers no completion for a name typed after `?` and a space, and Ctrl+Space there opens no list. Type the name without the space, as `?total`, or start the line with the name.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In the **MODERN** [Intellisense mode](../Customising/IDE-Options#intellisense-modes), a space typed while the completion list is open accepts the list's first entry, and the space is lost. Typing `Print total` gives `Printertotal`, because the list offers `Printer` but not the keyword `Print`; `Call Touch(total)` and `Set obj = items` are changed in the same way. The console refuses the changed line. Press Escape to close the list before you type the space: the text you typed stays.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > `? p`, where `p` is a variable of a user-defined type, fails with `(compile error: codegen error; check for compilation errors)`, and the console prints a `[LINKER] compilation (codegen) error` line. The [Variables](Inspecting#variables) panel and a watch show the same variable, so read it there.
 
 ## Copy the output
diff --git a/docs/IDE/Debugging/Images/CallStack_Frames.light.png b/docs/IDE/Debugging/Images/CallStack_Frames.light.png
index 9f7d77c40..700b66f1b 100644
Binary files a/docs/IDE/Debugging/Images/CallStack_Frames.light.png and b/docs/IDE/Debugging/Images/CallStack_Frames.light.png differ
diff --git a/docs/IDE/Debugging/Images/CallStack_Frames.light.svg b/docs/IDE/Debugging/Images/CallStack_Frames.light.svg
index d314d93b4..8da23cdf2 100644
--- a/docs/IDE/Debugging/Images/CallStack_Frames.light.svg
+++ b/docs/IDE/Debugging/Images/CallStack_Frames.light.svg
@@ -1 +1 @@
-EDITOR 1MainModule(general)MainInventory.twinMainModule.twin123456789101112131415ModuleMainModulePublicSubMain()DimstockAsNewInventoryDimfirstAsStockItemDimcoststock.Add"Widget",120,2.5stock.Add"Gadget",8,14.75cost=stock.Total(0.2)first=stock.ItemByIndex(stock.Find("Widget"))Debug.Printfirst.Quantity, costEndSubEndModule▶   run MainModule.MainCALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsfirst:{user defined type, 16 bytes}StockItemstock:{object: 441954992}Inventorycost:EmptyVariant [Empty]
+EDITOR 1MainModule(general)MainInventory.twinMainModule.twin123456789101112131415ModuleMainModulePublicSubMain()DimstockAsNewInventoryDimfirstAsStockItemDimcoststock.Add"Widget",120,2.5stock.Add"Gadget",8,14.75cost=stock.Total(0.2)first=stock.ItemByIndex(stock.Find("Widget"))Debug.Printfirst.Quantity, costEndSubEndModule▶   run MainModule.MainCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsfirst:{user defined type, 16 bytes}StockItemstock:{object: 441954992}Inventorycost:EmptyVariant [Empty]
diff --git a/docs/IDE/Debugging/Images/CallStack_Frames.png b/docs/IDE/Debugging/Images/CallStack_Frames.png
index aa8f9dd8b..fbac68d6d 100644
Binary files a/docs/IDE/Debugging/Images/CallStack_Frames.png and b/docs/IDE/Debugging/Images/CallStack_Frames.png differ
diff --git a/docs/IDE/Debugging/Images/CallStack_Frames.svg b/docs/IDE/Debugging/Images/CallStack_Frames.svg
index 79b8da51c..cc1060d04 100644
--- a/docs/IDE/Debugging/Images/CallStack_Frames.svg
+++ b/docs/IDE/Debugging/Images/CallStack_Frames.svg
@@ -1 +1 @@
-EDITOR 1MainModule(general)MainInventory.twinMainModule.twin123456789101112131415ModuleMainModulePublicSubMain()DimstockAsNewInventoryDimfirstAsStockItemDimcoststock.Add"Widget",120,2.5stock.Add"Gadget",8,14.75cost=stock.Total(0.2)first=stock.ItemByIndex(stock.Find("Widget"))Debug.Printfirst.Quantity, costEndSubEndModule▶   run MainModule.MainCALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsfirst:{user defined type, 16 bytes}StockItemstock:{object: 441954992}Inventorycost:EmptyVariant [Empty]
+EDITOR 1MainModule(general)MainInventory.twinMainModule.twin123456789101112131415ModuleMainModulePublicSubMain()DimstockAsNewInventoryDimfirstAsStockItemDimcoststock.Add"Widget",120,2.5stock.Add"Gadget",8,14.75cost=stock.Total(0.2)first=stock.ItemByIndex(stock.Find("Widget"))Debug.Printfirst.Quantity, costEndSubEndModule▶   run MainModule.MainCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsfirst:{user defined type, 16 bytes}StockItemstock:{object: 441954992}Inventorycost:EmptyVariant [Empty]
diff --git a/docs/IDE/Debugging/Images/Console_Menu.light.png b/docs/IDE/Debugging/Images/Console_Menu.light.png
index 25ca06462..9076f5434 100644
Binary files a/docs/IDE/Debugging/Images/Console_Menu.light.png and b/docs/IDE/Debugging/Images/Console_Menu.light.png differ
diff --git a/docs/IDE/Debugging/Images/Console_Menu.light.svg b/docs/IDE/Debugging/Images/Console_Menu.light.svg
index 806f494c6..db296b9f2 100644
--- a/docs/IDE/Debugging/Images/Console_Menu.light.svg
+++ b/docs/IDE/Debugging/Images/Console_Menu.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204120           501.6 16:41:58.204(time taken: 0.0021175s)16:41:58.204[DEBUGGER] global variables have been clearedCopy AllCopy All (With Timestamps)
+DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204120           501.6 16:41:58.204(time taken: 0.0021175s)16:41:58.204[DEBUGGER] global variables have been clearedCopy AllCopy All (With Timestamps)
diff --git a/docs/IDE/Debugging/Images/Console_Menu.png b/docs/IDE/Debugging/Images/Console_Menu.png
index de7e3a597..224ce1841 100644
Binary files a/docs/IDE/Debugging/Images/Console_Menu.png and b/docs/IDE/Debugging/Images/Console_Menu.png differ
diff --git a/docs/IDE/Debugging/Images/Console_Menu.svg b/docs/IDE/Debugging/Images/Console_Menu.svg
index 3ae452f5c..1a0df1f47 100644
--- a/docs/IDE/Debugging/Images/Console_Menu.svg
+++ b/docs/IDE/Debugging/Images/Console_Menu.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204120           501.6 16:41:58.204(time taken: 0.0021175s)16:41:58.204[DEBUGGER] global variables have been clearedCopy AllCopy All (With Timestamps)
+DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204120           501.6 16:41:58.204(time taken: 0.0021175s)16:41:58.204[DEBUGGER] global variables have been clearedCopy AllCopy All (With Timestamps)
diff --git a/docs/IDE/Debugging/Images/Console_Run.light.png b/docs/IDE/Debugging/Images/Console_Run.light.png
index 76848c5c5..90f529819 100644
Binary files a/docs/IDE/Debugging/Images/Console_Run.light.png and b/docs/IDE/Debugging/Images/Console_Run.light.png differ
diff --git a/docs/IDE/Debugging/Images/Console_Run.light.svg b/docs/IDE/Debugging/Images/Console_Run.light.svg
index d9aade05b..c7af2f8e5 100644
--- a/docs/IDE/Debugging/Images/Console_Run.light.svg
+++ b/docs/IDE/Debugging/Images/Console_Run.light.svg
@@ -1 +1 @@
-Inventory(general)Total10111213141516171819202122            .Quantity=quantity            .Price=priceEndWithcount=count+1EndSubPublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0ThenDEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204? subtotal16:41:58.204360 16:41:58.204(time taken: 0.0001023s)16:41:58.204subtotal = 516:41:58.204(time taken: 0.0001023s)
+Inventory(general)Total10111213141516171819202122            .Quantity=quantity            .Price=priceEndWithcount=count+1EndSubPublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0ThenDEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204? subtotal16:41:58.204360 16:41:58.204(time taken: 0.0001023s)16:41:58.204subtotal = 516:41:58.204(time taken: 0.0001023s)
diff --git a/docs/IDE/Debugging/Images/Console_Run.png b/docs/IDE/Debugging/Images/Console_Run.png
index 9fea85aaf..f97323507 100644
Binary files a/docs/IDE/Debugging/Images/Console_Run.png and b/docs/IDE/Debugging/Images/Console_Run.png differ
diff --git a/docs/IDE/Debugging/Images/Console_Run.svg b/docs/IDE/Debugging/Images/Console_Run.svg
index 5bc31dd87..c4be47c16 100644
--- a/docs/IDE/Debugging/Images/Console_Run.svg
+++ b/docs/IDE/Debugging/Images/Console_Run.svg
@@ -1 +1 @@
-Inventory(general)Total101112131415161718192021            .Quantity=quantity            .Price=priceEndWithcount=count+1EndSubPublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204? subtotal16:41:58.204360 16:41:58.204(time taken: 0.0001023s)16:41:58.204subtotal = 516:41:58.204(time taken: 0.0001023s)
+Inventory(general)Total101112131415161718192021            .Quantity=quantity            .Price=priceEndWithcount=count+1EndSubPublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: Widget16:41:58.204? subtotal16:41:58.204360 16:41:58.204(time taken: 0.0001023s)16:41:58.204subtotal = 516:41:58.204(time taken: 0.0001023s)
diff --git a/docs/IDE/Debugging/Images/Error_Panel.light.png b/docs/IDE/Debugging/Images/Error_Panel.light.png
index f1cb06b6d..c90bcf8cf 100644
Binary files a/docs/IDE/Debugging/Images/Error_Panel.light.png and b/docs/IDE/Debugging/Images/Error_Panel.light.png differ
diff --git a/docs/IDE/Debugging/Images/Error_Panel.light.svg b/docs/IDE/Debugging/Images/Error_Panel.light.svg
index 92d1bab4f..0ad24e500 100644
--- a/docs/IDE/Debugging/Images/Error_Panel.light.svg
+++ b/docs/IDE/Debugging/Images/Error_Panel.light.svg
@@ -1 +1 @@
-EDITOR 1Checks(general)FillTableChecks.twin5678910111213141516171819PublicSubFillTable()Dima(5)AsLongDimiAsLongDimidxAsLongDimtotalAsLongFori=1To6idx=Choose(i,1,3,5,7,2,4)a(idx)=i*10total=total+iDebug.Print"i = "&i&", idx = "&idx&", total = "&totalNextiDebug.Print"loop finished, i = "&i&", total = "&totalEndSub' A program that the program starts, short-lived and with no window: the PROCESS box.Run-time error 9 (00000009)DESCRIPTION:Subscript out of rangeTry Again (Resume)Ignore (Resume Next)StopSearch OnlineCALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]12:1FillTableChecks.twinVARIABLESLocalsa:{array of 6 elements}Long()i:4Longidx:7Longtotal:6Long
+EDITOR 1Checks(general)FillTableChecks.twin5678910111213141516171819PublicSubFillTable()Dima(5)AsLongDimiAsLongDimidxAsLongDimtotalAsLongFori=1To6idx=Choose(i,1,3,5,7,2,4)a(idx)=i*10total=total+iDebug.Print"i = "&i&", idx = "&idx&", total = "&totalNextiDebug.Print"loop finished, i = "&i&", total = "&totalEndSub' A program that the program starts, short-lived and with no window: the PROCESS box.Run-time error 9 (00000009)DESCRIPTION:Subscript out of rangeTry Again (Resume)Ignore (Resume Next)StopSearch OnlineCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]12:1FillTableChecks.twinVARIABLESLocalsa:{array of 6 elements}Long()i:4Longidx:7Longtotal:6Long
diff --git a/docs/IDE/Debugging/Images/Error_Panel.png b/docs/IDE/Debugging/Images/Error_Panel.png
index 04e7419c3..13491ff28 100644
Binary files a/docs/IDE/Debugging/Images/Error_Panel.png and b/docs/IDE/Debugging/Images/Error_Panel.png differ
diff --git a/docs/IDE/Debugging/Images/Error_Panel.svg b/docs/IDE/Debugging/Images/Error_Panel.svg
index 7337eb4cc..0634277b4 100644
--- a/docs/IDE/Debugging/Images/Error_Panel.svg
+++ b/docs/IDE/Debugging/Images/Error_Panel.svg
@@ -1 +1 @@
-EDITOR 1Checks(general)FillTableChecks.twin5678910111213141516171819PublicSubFillTable()Dima(5)AsLongDimiAsLongDimidxAsLongDimtotalAsLongFori=1To6idx=Choose(i,1,3,5,7,2,4)a(idx)=i*10total=total+iDebug.Print"i = "&i&", idx = "&idx&", total = "&totalNextiDebug.Print"loop finished, i = "&i&", total = "&totalEndSub' A program that the program starts, short-lived and with no window: the PROCESS box.Run-time error 9 (00000009)DESCRIPTION:Subscript out of rangeTry Again (Resume)Ignore (Resume Next)StopSearch OnlineCALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]12:1FillTableChecks.twinVARIABLESLocalsa:{array of 6 elements}Long()i:4Longidx:7Longtotal:6Long
+EDITOR 1Checks(general)FillTableChecks.twin5678910111213141516171819PublicSubFillTable()Dima(5)AsLongDimiAsLongDimidxAsLongDimtotalAsLongFori=1To6idx=Choose(i,1,3,5,7,2,4)a(idx)=i*10total=total+iDebug.Print"i = "&i&", idx = "&idx&", total = "&totalNextiDebug.Print"loop finished, i = "&i&", total = "&totalEndSub' A program that the program starts, short-lived and with no window: the PROCESS box.Run-time error 9 (00000009)DESCRIPTION:Subscript out of rangeTry Again (Resume)Ignore (Resume Next)StopSearch OnlineCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]12:1FillTableChecks.twinVARIABLESLocalsa:{array of 6 elements}Long()i:4Longidx:7Longtotal:6Long
diff --git a/docs/IDE/Debugging/Images/Paused_Line.light.png b/docs/IDE/Debugging/Images/Paused_Line.light.png
index 06487aff2..fc4fdd436 100644
Binary files a/docs/IDE/Debugging/Images/Paused_Line.light.png and b/docs/IDE/Debugging/Images/Paused_Line.light.png differ
diff --git a/docs/IDE/Debugging/Images/Paused_Line.light.svg b/docs/IDE/Debugging/Images/Paused_Line.light.svg
index 2c7ff33cd..5c13c4a15 100644
--- a/docs/IDE/Debugging/Images/Paused_Line.light.svg
+++ b/docs/IDE/Debugging/Images/Paused_Line.light.svg
@@ -1 +1 @@
-EDITOR 1Inventory(general)TotalInventory.twin222324252627282930313233343536161718192021Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:0Longnote:EmptyVariant [Empty]price:3Double
+EDITOR 1Inventory(general)TotalInventory.twin222324252627282930313233343536161718192021Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:0Longnote:EmptyVariant [Empty]price:3Double
diff --git a/docs/IDE/Debugging/Images/Paused_Line.png b/docs/IDE/Debugging/Images/Paused_Line.png
index 6a04266a2..c6dc5dd63 100644
Binary files a/docs/IDE/Debugging/Images/Paused_Line.png and b/docs/IDE/Debugging/Images/Paused_Line.png differ
diff --git a/docs/IDE/Debugging/Images/Paused_Line.svg b/docs/IDE/Debugging/Images/Paused_Line.svg
index 688f2f3c7..b96ff5221 100644
--- a/docs/IDE/Debugging/Images/Paused_Line.svg
+++ b/docs/IDE/Debugging/Images/Paused_Line.svg
@@ -1 +1 @@
-EDITOR 1Inventory(general)TotalInventory.twin222324252627282930313233343536161718192021Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:0Longnote:EmptyVariant [Empty]price:3Double
+EDITOR 1Inventory(general)TotalInventory.twin222324252627282930313233343536161718192021Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:0Longnote:EmptyVariant [Empty]price:3Double
diff --git a/docs/IDE/Debugging/Images/Paused_Panels.light.png b/docs/IDE/Debugging/Images/Paused_Panels.light.png
index b1b3de349..2e54e9863 100644
Binary files a/docs/IDE/Debugging/Images/Paused_Panels.light.png and b/docs/IDE/Debugging/Images/Paused_Panels.light.png differ
diff --git a/docs/IDE/Debugging/Images/Paused_Panels.light.svg b/docs/IDE/Debugging/Images/Paused_Panels.light.svg
index 8a475d9a0..011b958f8 100644
--- a/docs/IDE/Debugging/Images/Paused_Panels.light.svg
+++ b/docs/IDE/Debugging/Images/Paused_Panels.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWEDITOR 1Inventory(general)TotalInventory.twin1617181920212223242526272829303132333435363738PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: WidgetCALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:1Longnote:"Grüße 👋 こんにちは"Variant [String]price:17.7Doublesubtotal:360Variant [Double]taxRate:0.2DoubleWATCHESitems(i).Quantity:8Longsubtotal:360Variant [Double]
+tB Services: OPERATIONALULTIMATE EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWEDITOR 1Inventory(general)TotalInventory.twin1617181920212223242526272829303132333435363738PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1DEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: WidgetCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:1Longnote:"Grüße 👋 こんにちは"Variant [String]price:17.7Doublesubtotal:360Variant [Double]taxRate:0.2DoubleWATCHESitems(i).Quantity:8Longsubtotal:360Variant [Double]
diff --git a/docs/IDE/Debugging/Images/Paused_Panels.png b/docs/IDE/Debugging/Images/Paused_Panels.png
index 4c154040e..056daa5ac 100644
Binary files a/docs/IDE/Debugging/Images/Paused_Panels.png and b/docs/IDE/Debugging/Images/Paused_Panels.png differ
diff --git a/docs/IDE/Debugging/Images/Paused_Panels.svg b/docs/IDE/Debugging/Images/Paused_Panels.svg
index 39dd224c8..7bd73b819 100644
--- a/docs/IDE/Debugging/Images/Paused_Panels.svg
+++ b/docs/IDE/Debugging/Images/Paused_Panels.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWEDITOR 1Inventory(general)TotalInventory.twin161718192021222324252627282930313233343536373839PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1Ifitems(i).Name=nameThenDEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: WidgetCALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:1Longnote:"Grüße 👋 こんにちは"Variant [String]price:17.7Doublesubtotal:360Variant [Double]taxRate:0.2DoubleWATCHESitems(i).Quantity:8Longsubtotal:360Variant [Double]
+tB Services: OPERATIONALULTIMATE EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWEDITOR 1Inventory(general)TotalInventory.twin161718192021222324252627282930313233343536373839PublicFunctionTotal(ByValtaxRateAsDouble)AsDoubleDimiAsLongDimsubtotalDimnoteDimpriceAsDoubleFori=0Tocount-1Ifitems(i).Quantity>0Thenprice=Round(items(i).Price*(1+taxRate),2)subtotal=subtotal+items(i).Quantity*priceIfitems(i).Quantity>100Thennote="Grüße 👋 こんにちは"Debug.Printnote&": "&items(i).NameEndIfEndIfNextTotal=subtotalEndFunctionPublicFunctionFind(ByValnameAsString)AsLongFind=-1DimiAsLongFori=0Tocount-1Ifitems(i).Name=nameThenDEBUG CONSOLE>16:41:58.204Executing 'Main'...16:41:58.204Grüße 👋 こんにちは: WidgetCALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [EXECUTING]24:1TotalInventory.twin9:1MainMainModule.twinVARIABLESLocalsMe:{object: 441954992}InventoryTotal:0Doublei:1Longnote:"Grüße 👋 こんにちは"Variant [String]price:17.7Doublesubtotal:360Variant [Double]taxRate:0.2DoubleWATCHESitems(i).Quantity:8Longsubtotal:360Variant [Double]
diff --git a/docs/IDE/Debugging/Inspecting.md b/docs/IDE/Debugging/Inspecting.md
index 50e501328..c5bfdcb3b 100644
--- a/docs/IDE/Debugging/Inspecting.md
+++ b/docs/IDE/Debugging/Inspecting.md
@@ -64,11 +64,11 @@ Double-click a value to edit it. A text box replaces the value. Enter
 - A line typed in the Debug Console, such as `s = "it's"`, changes a variable too, and the panel shows the change.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The edit box cuts a string at an apostrophe, and leaving the box changes the variable. With `s` holding `it's`, double-click `s`, and the box holds only `"it`. A click on another row, or Enter, with nothing typed, then makes `s` the empty string. Escape leaves it as it was. Do not edit a string that contains an apostrophe in the panel. Assign it in the [Debug Console](Debug-Console) instead.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A **Date** or **Double** row shows a wrong value for a while after you edit it. A **Date** edited to `#1/2/2020#` shows `#12:00:00 AM#`, and a **Double** edited to `7.25` shows `0`. The variable holds the value you typed. The row shows it correctly after the next line you run in the console, or at the next stop. To check the value now, run `? d` in the console, where `d` is the variable.
 
 ### What the tooltip shows
@@ -149,7 +149,7 @@ A user-defined type shows `{user defined type, 8 bytes}` and one line for each f
 Pointing at a function call or at a property runs it, so a function with side effects changes the state of the program.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Pointing at a call to a **Sub** runs the Sub, and the popup shows `t.Bump:   0`, a value that means nothing. The Sub, and any event handlers it raises, runs once for each hover. Do not point at the name of a procedure that changes the program's state while the program is paused. To read a variable that such a procedure uses, point at the variable.
 
 When the program is not paused, the same pointing shows the compiler's usual hover text, which [IntelliSense](../Code/IntelliSense#hover) describes.
diff --git a/docs/IDE/Debugging/Memory.md b/docs/IDE/Debugging/Memory.md
index b3992c209..f397a0043 100644
--- a/docs/IDE/Debugging/Memory.md
+++ b/docs/IDE/Debugging/Memory.md
@@ -41,13 +41,13 @@ The debugger evaluates the expression in the box as it does a watch, so the box
 - Any other result is a number, and **the number itself is the address**. The name of a **Long** variable therefore shows the memory at the address the variable *holds*, not the memory of the variable. That is what a **LongPtr** holding an address needs. For a variable's own bytes, enter `VarPtr(`*name*`)`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A result that is not a whole number --- the name of a **Double**, a **Boolean** or a variable of a user-defined type --- gives no address and does not turn the box red. The rows stay as they were, and the DEBUG CONSOLE prints an *IDE internal error* such as `Uncaught SyntaxError: Cannot convert 1.5 to a BigInt`. Enter `VarPtr(`*name*`)` for such a variable.
 
 The pane starts its first row at that address exactly, and the cell at the address takes the keyboard focus. An expression that cannot be evaluated --- an unknown name, an empty box, anything entered while the program is not paused --- turns the box red and leaves the rows as they were.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A negative number is taken as an address too. With -8, the first row is labelled `&HFFFFFFF8` and the rows after it `&H00000008`, `&H00000018` and so on. None of them can be read.
 
 The table shows what each kind of expression gives in a 32-bit program paused after these lines:
@@ -91,7 +91,7 @@ Below, `s` holds "Hello twinBASIC". After `s` is entered, the box reads `StrPtr(
 `??` in the value cells, and `·` in the text column, mark memory the program cannot read.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > `??` and `·` are also what a cell shows while its bytes are still being read, so unreadable memory looks the same as memory not read yet. Memory that keeps showing `??` cannot be read.
 
 ## Display formats and columns
@@ -112,7 +112,7 @@ The formats of two and four bytes show each value as a number, so the hexadecima
 The second list, **Cols 8**, **Cols 12**, **Cols 16**, **Cols 24** or **Cols 32**, sets the number of values in a row. A row therefore covers more bytes in the larger formats: 16 in **Byte (Hex)** at **Cols 16**, 32 in an **Integer** format and 64 in a **Long** format. The address column steps by the same amount, and is written as `&H` and eight hexadecimal digits.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The address column of a 64-bit program shows only the low 32 bits of each address. The bytes shown are those at the whole address, but an address of `&H4232CFF438` is labelled `&H32CFF438`, which is another address. Do not copy an address from the column in a 64-bit program; print it with `Hex(VarPtr(`*name*`))` instead.
 
 The text column on the right always shows every byte of the row, one character each. A byte from 32 to 126 shows as its ASCII character, and any other byte as a dot.
diff --git a/docs/IDE/Debugging/Running.md b/docs/IDE/Debugging/Running.md
index 6496a1ae8..a84812cb9 100644
--- a/docs/IDE/Debugging/Running.md
+++ b/docs/IDE/Debugging/Running.md
@@ -47,7 +47,7 @@ At a run-time error, **End** ends only the procedure that failed; see [Traps](Br
 In a form that is waiting for input, and in a loop that holds only `DoEvents`, there is no line of yours to stop at. The IDE opens a file of the VB package, `IdleMessageLoopBreak.twin`, and stops in its procedure `IdleMessageLoopBreakpoint`. With a form waiting for input, a line typed in the console works there. Press F5 and the program stops again in the same file. Press it once more to run on.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A program that is stopped by **Break** in a loop that holds only `DoEvents` ends with a native access violation as soon as the IDE evaluates anything. A line typed in the console does it, even `? 1`, and so does any watch, because the IDE evaluates every watch at every stop. The DEBUG CONSOLE prints `NATIVE EXCEPTION: ACCESS_VIOLATION`, and the IDE stays in the paused state, with the arrow on the VB package's line and **Stop** and the step commands enabled, although the program has ended. Do not use **Break** on a loop that holds only `DoEvents`. Put a statement in the loop and a [breakpoint](Breakpoints-and-Stepping#breakpoints) on it instead. If the IDE is already in that state, **Restart the compiler** in the toolbar puts it right.
 
 ## What Start runs
@@ -63,11 +63,11 @@ What runs first is the project's [Startup Object](../Project-Settings#startup-ob
 **Sub Main** with no procedure called `Main` in the project writes a compile error to the console, with no dialog. [Runtime Command Line Args](../Project-Settings#runtime-command-line-args) sets the text that **Command$** returns in the run.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The compile error reads `(compile error: Main)`, which does not say that the project has no procedure called `Main`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A project whose `Settings` file names no startup object runs `Main` whatever it builds, although [Project Settings](../Project-Settings#startup-object) shows **Default: (none)** for a DLL. The templates for a DLL and a control name none, so **Start** on a new project of those kinds ends with this compile error. Choose **(none)** in the list to have **Start** say that there is nothing to run.
 
 Every run that ends writes `(time taken: s)`, followed by `[DEBUGGER] global variables have been cleared`. A run that you stop at a pause writes `aborted` in place of the time.
@@ -82,7 +82,7 @@ Start shows no dialog for a compile error, and it opens no panel. The [DIAGNOSTI
 - **In a procedure that nothing calls.** The program runs and ends as usual. The error is in the DIAGNOSTICS panel only.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The panel for a syntax error in a procedure that `Main` calls gives the description `COMPILATION (CODEGEN) ERROR AT LINE #42.  PLEASE REPORT THIS ERROR TO https://git.io/JMh6S`, and the line it names is the line of the call, not the line of the error. A compile error in your code is not a defect to report. Read the real error in the DIAGNOSTICS panel and fix it.
 
 ## Run Or Preview
@@ -104,7 +104,7 @@ A preview is also a debug session. A breakpoint in `Form_Load` stops it, and a c
 - With no editor active: `runCodeUnderCursor failed: no active text editor.`
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > F6 also gives `failed to identify the procedure at the cursor position.` when the caret is on the procedure's `End Sub` or `End Function` line, or on another of its lines at or past the column where that `End` line ends. A comment at the end of the `End` line moves that limit to where the comment starts. Nothing runs. Put the caret nearer the start of a line of the procedure.
 
 The CodeLens **▶ run** link above a procedure runs it by another route: [CodeLens](../Code/IntelliSense#codelens) describes it. [Testing with Assert](../../../Tutorials/Testing-with-Assert) uses both.
@@ -135,7 +135,7 @@ A `Shell` that runs from a line you type in the console makes a box too, with no
 - **Editing the code.** See the next section.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > An `End` statement in a procedure that LLVM compiles ends the run, and then the console shows `restarting from MEMORY []`: the IDE restarts the compiler and compiles the project again. The IDE recovers by itself. Remove the `End` statement, or compile the procedure without LLVM, to avoid the restart.
 
 ## Editing while the program runs
diff --git a/docs/IDE/Forms/Arranging.md b/docs/IDE/Forms/Arranging.md
index 2170d5cbb..f58d67f00 100644
--- a/docs/IDE/Forms/Arranging.md
+++ b/docs/IDE/Forms/Arranging.md
@@ -51,11 +51,11 @@ None of the controls is the reference. The first control you clicked has no spec
 **Center (Horizontal)** and **Center (Vertical)** have no keys. **To Grid** has none either. It rounds the **Left** and **Top** of each selected control down to the grid, and rounds the size down too: a control 24 pixels high becomes 20 with a 10-pixel grid. It acts at once, even when **Align Controls To Grid** is off.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Center (Horizontal)** and **Center (Vertical)** do not centre the controls on the middle of the selection. They centre each control on the left edge, or the top edge, of the selection. Three controls 100 pixels wide at **Left** 10, 140 and 250 all end at **Left** -40, their middles on 10, and may end outside their container. To line up the middles of a group, align the edges and then type the **Left** or **Top** values in [PROPERTIES](Properties). **Center In Container** centres a group in its container correctly at a zoom of 100 %.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Each Alt+arrow also opens the IDE's menu bar when you release the keys. The controls are aligned all the same, and nothing is lost. If the menu bar is in the way, align with the **Format → Align** commands or the toolbar buttons instead.
 
 ## Make the controls the same size
@@ -74,7 +74,7 @@ None of the controls is the reference. The first control you clicked has no spec
 A command changes nothing when the controls already have the same size.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **Make Same Size** changes the controls on the surface and marks the form changed, but it does not reach the saved form. If you press Ctrl+S, close the tab and open the form again, the controls have their old sizes. A later change, such as moving a control with an arrow key, saves the new sizes with it. After you use **Make Same Size**, make such a change before you save, or type the **Width** and **Height** values in [PROPERTIES](Properties) instead.
 
 ## Space the controls evenly
@@ -104,7 +104,7 @@ For example, take three controls 100 pixels wide with **Left** 10, 140 and 250,
 The spacing commands compare positions that count from each control's own parent. Controls in different containers therefore give odd results. For example, **Remove** on a text box in a frame and a button on the form places the button at the text box's right edge as counted from the frame's corner, not from the form's.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **Horizontal Spacing** and **Vertical Spacing** move the controls on the surface, but do not mark the form changed and do not make an undo step. Ctrl+Z does not undo them. If you close the tab, the IDE asks no question, and the form opens again with the old positions. The new positions are saved only when a later real change follows, for example moving a control with an arrow key, because that change saves the whole surface. After you use these commands, make such a change before you save, and check the positions in [PROPERTIES](Properties). To go back, type the old **Left** or **Top** values there.
 
 ## Center in the container
@@ -112,7 +112,7 @@ The spacing commands compare positions that count from each control's own parent
 **Center In Container (Horizontally)** and **Center In Container (Vertically)** move the selection as a group, so that the group's bounding box is centred in the container the controls share. The controls keep their positions relative to one another. They work for one control or for many, and need all of them to have the same parent. If they do not, nothing moves and a notification says so.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Center In Container** reads the width of the container as it is drawn, so at a zoom other than 100 % it moves the controls to the wrong place. At 50 %, a text box in a frame ended at **Left** -9.98 instead of 40, and the group on the form moved by -80 instead of 20. Set the zoom to 100 % before you use the command.
 
 ## Bring to front and send to back
diff --git a/docs/IDE/Forms/Controls.md b/docs/IDE/Forms/Controls.md
index 9cd9ba0d1..f0b9963a2 100644
--- a/docs/IDE/Forms/Controls.md
+++ b/docs/IDE/Forms/Controls.md
@@ -126,7 +126,7 @@ There are three ways to make an array:
 The last two give the new controls the highest **Index** plus one, and turn a lone original with **Index** -1 into index 0. Choosing an event of a member in the [EVENTS tab](Properties#events) inserts a handler with an `Index As Integer` argument, such as `Private Sub Command2_GotFocus(Index As Integer)`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The box that asks about the control array comes twice when you give a control the name of a single control. The first **YES** sets the other control's **Index** to 0 and leaves the renamed control's name unchanged, and the same box comes again. The second **YES** renames the control to `X(1)`. Answer **YES** both times. **NO** puts the old name back.
 
 ## Names and code
diff --git a/docs/IDE/Forms/Designer.md b/docs/IDE/Forms/Designer.md
index 2cedfd171..2a8c8046d 100644
--- a/docs/IDE/Forms/Designer.md
+++ b/docs/IDE/Forms/Designer.md
@@ -41,7 +41,7 @@ The new files go into the folder that the Project Explorer has selected. The Pro
 Enter creates both files at once and opens the designer in a normal tab, not a preview tab. Esc, or an empty name, creates nothing. A name with a space is written in square brackets, such as `Class [My Form]`, both in the class and in the form's **Name** property. A Windows form, an MDI form and a report are bracketed for a punctuation mark too, such as the dot in `a.b`. A user control, a property page and a CustomControls form are bracketed for a space only.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The name box accepts a name that is not an identifier, such as `1bad`, and creates the files without a message. The class is then `Class 1bad`.
 
 What the new files hold depends on the kind:
@@ -84,11 +84,11 @@ A file that the designer cannot use opens in one of three ways:
 - A file without a `FormDesignerId` opens normally. The designer makes a new id for the session and does not write it to the file.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A read-only designer file still gets a tab, which is empty and selected. Close it.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A form file with a JSON error opens an empty designer with no controls, and PROPERTIES is empty. An edit there is refused, and Ctrl+S leaves the file as it was, so nothing is lost. Correct the JSON in a text editor outside the IDE, and open the form again.
 
 ### The two files of a form
@@ -114,7 +114,7 @@ From the code file, **View → Object Designer** and Shift+F7
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A folder whose name contains `.twin`, such as `v1.twin.forms`, breaks the switch from the code to the designer, and the notification above appears. The switch from the designer to the code still works. Open the designer from the Project Explorer, or rename the folder.
 
 ## The parts of the window
@@ -182,11 +182,11 @@ With a designer focused, the **View** menu shows **Zoom In** and **Zoom Out** in
 
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Zoom Out** stops at 50 %, although the box offers 25 %. Choose 25 % in the box.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The arrow keys also move the selected controls while the zoom box has the focus. With a control selected, Up pressed twice there changes the zoom by two steps and moves the control up by two steps. The form is marked changed, each press is an undo step, and a save keeps the new position. Nothing on the screen says the control moved. Check the positions of the controls before you save.
 
 ## Lock controls
@@ -200,7 +200,7 @@ The lock is stored under the control's name, so it follows a rename, and it cove
 ![A form with Show Outlines on, so that a dashed outline surrounds every control. The command button Command1 is selected and locked: a grey lock icon shows on it and its grabbers are grey. The other buttons are unlocked.](Images/Designer_Locked.png){:width="387" height="333"}
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Locking or unlocking controls does not mark the form changed. If you lock a control and close the tab, the IDE asks no question, and the lock is gone when you open the form again. The lock is saved only with the next real change. After you lock a control, make another change to the form, such as moving a control, before you save.
 
 ## Tab order
@@ -225,11 +225,11 @@ A designer tab shows the dot for unsaved changes as soon as the form changes. 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The tooltip of a form's entry in **HISTORY** ends with `[line: undefined]`, because a form change has no line. Nothing is lost.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A designer can be marked changed with no edit. Click a control, press Esc to select the form, and then click another control or only move the pointer over the form: the tab gets the dot, and closing asks to save. It does not happen every time. Every control is where it was, so saving or discarding gives the same form. Ctrl+Z then steps through two empty steps before it reaches your last real change.
 
 ## See Also
diff --git a/docs/IDE/Forms/Images/Designer_Locked.light.png b/docs/IDE/Forms/Images/Designer_Locked.light.png
index 91a026011..1198c862d 100644
Binary files a/docs/IDE/Forms/Images/Designer_Locked.light.png and b/docs/IDE/Forms/Images/Designer_Locked.light.png differ
diff --git a/docs/IDE/Forms/Images/Designer_TabIndex.png b/docs/IDE/Forms/Images/Designer_TabIndex.png
index 483430cb1..b14ddb4bf 100644
Binary files a/docs/IDE/Forms/Images/Designer_TabIndex.png and b/docs/IDE/Forms/Images/Designer_TabIndex.png differ
diff --git a/docs/IDE/Forms/Images/Designer_TabIndex.svg b/docs/IDE/Forms/Images/Designer_TabIndex.svg
index 98ded2eec..5b327f31a 100644
--- a/docs/IDE/Forms/Images/Designer_TabIndex.svg
+++ b/docs/IDE/Forms/Images/Designer_TabIndex.svg
@@ -1 +1 @@
-File+ menu023567x:300 y:245380 x 270
+File+ menu023567x:300 y:245380 x 270
diff --git a/docs/IDE/Forms/Images/Properties_ColourPicker.light.png b/docs/IDE/Forms/Images/Properties_ColourPicker.light.png
index d421f5e3e..c02503c60 100644
Binary files a/docs/IDE/Forms/Images/Properties_ColourPicker.light.png and b/docs/IDE/Forms/Images/Properties_ColourPicker.light.png differ
diff --git a/docs/IDE/Forms/Images/Properties_ColourPicker.light.svg b/docs/IDE/Forms/Images/Properties_ColourPicker.light.svg
index 3d79c3e71..492400810 100644
--- a/docs/IDE/Forms/Images/Properties_ColourPicker.light.svg
+++ b/docs/IDE/Forms/Images/Properties_ColourPicker.light.svg
@@ -1 +1 @@
-PROPERTIESDESIGNAPPEARANCEDRAWINGBEHAVIOURNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueCommand1    CommandButtonCancelChoose
+PROPERTIESAzDESIGNAPPEARANCEDRAWINGBEHAVIOURNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueCommand1    CommandButtonCancelChoose
diff --git a/docs/IDE/Forms/Images/Properties_ColourPicker.png b/docs/IDE/Forms/Images/Properties_ColourPicker.png
index 454801d9b..ab295beb3 100644
Binary files a/docs/IDE/Forms/Images/Properties_ColourPicker.png and b/docs/IDE/Forms/Images/Properties_ColourPicker.png differ
diff --git a/docs/IDE/Forms/Images/Properties_ColourPicker.svg b/docs/IDE/Forms/Images/Properties_ColourPicker.svg
index 03446698b..e09ab76bc 100644
--- a/docs/IDE/Forms/Images/Properties_ColourPicker.svg
+++ b/docs/IDE/Forms/Images/Properties_ColourPicker.svg
@@ -1 +1 @@
-PROPERTIESDESIGNAPPEARANCEDRAWINGBEHAVIOURNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueCommand1    CommandButtonCancelChoose
+PROPERTIESAzAzDESIGNAPPEARANCEDRAWINGBEHAVIOURNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueCommand1    CommandButtonCancelChoose
diff --git a/docs/IDE/Forms/Images/Properties_Control.light.png b/docs/IDE/Forms/Images/Properties_Control.light.png
index 821a34186..a03f612e8 100644
Binary files a/docs/IDE/Forms/Images/Properties_Control.light.png and b/docs/IDE/Forms/Images/Properties_Control.light.png differ
diff --git a/docs/IDE/Forms/Images/Properties_Control.light.svg b/docs/IDE/Forms/Images/Properties_Control.light.svg
index e7edddc8f..3931f9496 100644
--- a/docs/IDE/Forms/Images/Properties_Control.light.svg
+++ b/docs/IDE/Forms/Images/Properties_Control.light.svg
@@ -1 +1 @@
-ImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESPROPERTIESEVENTSDESIGNAPPEARANCEDRAWINGNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopCommand1    CommandButtonTabsObject drop-downCategory
+ImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESAzPROPERTIESEVENTSDESIGNAPPEARANCEDRAWINGNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopCommand1    CommandButtonTabsObject drop-downCategory
diff --git a/docs/IDE/Forms/Images/Properties_Control.png b/docs/IDE/Forms/Images/Properties_Control.png
index e1c3b0397..7e3ed5c72 100644
Binary files a/docs/IDE/Forms/Images/Properties_Control.png and b/docs/IDE/Forms/Images/Properties_Control.png differ
diff --git a/docs/IDE/Forms/Images/Properties_Control.svg b/docs/IDE/Forms/Images/Properties_Control.svg
index 6d18003b9..883b210c6 100644
--- a/docs/IDE/Forms/Images/Properties_Control.svg
+++ b/docs/IDE/Forms/Images/Properties_Control.svg
@@ -1 +1 @@
-ImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESPROPERTIESEVENTSDESIGNAPPEARANCEDRAWINGNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...Command1    CommandButtonTabsObject drop-downCategory
+ImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESAzAzPROPERTIESEVENTSDESIGNAPPEARANCEDRAWINGNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...Command1    CommandButtonTabsObject drop-downCategory
diff --git a/docs/IDE/Forms/Images/Properties_Events.light.png b/docs/IDE/Forms/Images/Properties_Events.light.png
index 4d186b982..ba2021aa0 100644
Binary files a/docs/IDE/Forms/Images/Properties_Events.light.png and b/docs/IDE/Forms/Images/Properties_Events.light.png differ
diff --git a/docs/IDE/Forms/Images/Properties_Events.light.svg b/docs/IDE/Forms/Images/Properties_Events.light.svg
index 1db2f1315..bc27c5424 100644
--- a/docs/IDE/Forms/Images/Properties_Events.light.svg
+++ b/docs/IDE/Forms/Images/Properties_Events.light.svg
@@ -1 +1 @@
-380 x 270+-PROPERTIESPROPERTIESEVENTSGENERALClick...Command1_Click() ...DragDrop...DragOver...GotFocus...Initialize...KeyDown...KeyPress...KeyUp...LostFocus...MouseDown...MouseMove...MouseUp...OLECompleteDrag...OLEDragDrop...OLEDragOver...OLEGiveFeedback...OLESetData...OLEStartDrag...Command1    CommandButton
+380 x 270+-PROPERTIESAzPROPERTIESEVENTSGENERALClick...Command1_Click() ...DragDrop...DragOver...GotFocus...Initialize...KeyDown...KeyPress...KeyUp...LostFocus...MouseDown...MouseMove...MouseUp...OLECompleteDrag...OLEDragDrop...OLEDragOver...OLEGiveFeedback...OLESetData...OLEStartDrag...Command1    CommandButton
diff --git a/docs/IDE/Forms/Images/Properties_Events.png b/docs/IDE/Forms/Images/Properties_Events.png
index 6a188a635..bd59c9d9f 100644
Binary files a/docs/IDE/Forms/Images/Properties_Events.png and b/docs/IDE/Forms/Images/Properties_Events.png differ
diff --git a/docs/IDE/Forms/Images/Properties_Events.svg b/docs/IDE/Forms/Images/Properties_Events.svg
index ff8ea1a92..5ea5541eb 100644
--- a/docs/IDE/Forms/Images/Properties_Events.svg
+++ b/docs/IDE/Forms/Images/Properties_Events.svg
@@ -1 +1 @@
-380 x 270-PROPERTIESPROPERTIESEVENTSGENERALClick...Command1_Click() ...DragDrop...DragOver...GotFocus...Initialize...KeyDown...KeyPress...KeyUp...LostFocus...MouseDown...MouseMove...MouseUp...OLECompleteDrag...OLEDragDrop...OLEDragOver...OLEGiveFeedback...OLESetData...OLEStartDrag...Command1    CommandButton
+380 x 270-PROPERTIESAzAzPROPERTIESEVENTSGENERALClick...Command1_Click() ...DragDrop...DragOver...GotFocus...Initialize...KeyDown...KeyPress...KeyUp...LostFocus...MouseDown...MouseMove...MouseUp...OLECompleteDrag...OLEDragDrop...OLEDragOver...OLEGiveFeedback...OLESetData...OLEStartDrag...Command1    CommandButton
diff --git a/docs/IDE/Forms/Images/Properties_SystemColours.light.png b/docs/IDE/Forms/Images/Properties_SystemColours.light.png
index 26c1f3511..07b036f5a 100644
Binary files a/docs/IDE/Forms/Images/Properties_SystemColours.light.png and b/docs/IDE/Forms/Images/Properties_SystemColours.light.png differ
diff --git a/docs/IDE/Forms/Images/Properties_SystemColours.light.svg b/docs/IDE/Forms/Images/Properties_SystemColours.light.svg
index 78f842be6..25d685393 100644
--- a/docs/IDE/Forms/Images/Properties_SystemColours.light.svg
+++ b/docs/IDE/Forms/Images/Properties_SystemColours.light.svg
@@ -1 +1 @@
-PROPERTIESDESIGNAPPEARANCEDRAWINGBEHAVIOURMOUSEWINDOWNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueRightToLeftFalseCausesValidationTrueCancelFalseDefaultFalseMouseIcon{0 bytes}...MousePointer0 - vbDefaultDragMode0 - vbManualDragIcon{0 bytes}...OLEDropMode0 - vbOLEDropNoneCommand1    CommandButtonCopyPasteCopy '-2147483633' To...SYSTEM COLORSvbScrollBarsvbDesktopvbActiveTitleBarvbInactiveTitleBarvbMenuBarvbWindowBackgroundvbWindowFramevbMenuTextvbWindowTextvbActiveTitleBarTextvbActiveBordervbInactiveBordervbApplicationWorkspacevbHighlightvbHighlightTextvbButtonFacevbButtonShadowvbGrayTextvbButtonTextvbInactiveTitleBarTextvb3DHighlightvb3DDKShadowvb3DLightvbInfoTextvbInfoBackgroundvbHotTrackTextvbActiveTitleBarGradientvbInactiveTitleBarGradientvbMenuHighlightvbMenuBarFlat
+PROPERTIESAzDESIGNAPPEARANCEDRAWINGBEHAVIOURMOUSEWINDOWNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueRightToLeftFalseCausesValidationTrueCancelFalseDefaultFalseMouseIcon{0 bytes}...MousePointer0 - vbDefaultDragMode0 - vbManualDragIcon{0 bytes}...OLEDropMode0 - vbOLEDropNoneCommand1    CommandButtonCopyPasteCopy '-2147483633' To...SYSTEM COLORSvbScrollBarsvbDesktopvbActiveTitleBarvbInactiveTitleBarvbMenuBarvbWindowBackgroundvbWindowFramevbMenuTextvbWindowTextvbActiveTitleBarTextvbActiveBordervbInactiveBordervbApplicationWorkspacevbHighlightvbHighlightTextvbButtonFacevbButtonShadowvbGrayTextvbButtonTextvbInactiveTitleBarTextvb3DHighlightvb3DDKShadowvb3DLightvbInfoTextvbInfoBackgroundvbHotTrackTextvbActiveTitleBarGradientvbInactiveTitleBarGradientvbMenuHighlightvbMenuBarFlat
diff --git a/docs/IDE/Forms/Images/Properties_SystemColours.png b/docs/IDE/Forms/Images/Properties_SystemColours.png
index d39ba803c..075fb6c68 100644
Binary files a/docs/IDE/Forms/Images/Properties_SystemColours.png and b/docs/IDE/Forms/Images/Properties_SystemColours.png differ
diff --git a/docs/IDE/Forms/Images/Properties_SystemColours.svg b/docs/IDE/Forms/Images/Properties_SystemColours.svg
index a050d75fd..35f1c7124 100644
--- a/docs/IDE/Forms/Images/Properties_SystemColours.svg
+++ b/docs/IDE/Forms/Images/Properties_SystemColours.svg
@@ -1 +1 @@
-PROPERTIESDESIGNAPPEARANCEDRAWINGBEHAVIOURMOUSEWINDOWNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueRightToLeftFalseCausesValidationTrueCancelFalseDefaultFalseMouseIcon{0 bytes}...MousePointer0 - vbDefaultDragMode0 - vbManualDragIcon{0 bytes}...OLEDropMode0 - vbOLEDropNoneCommand1    CommandButtonCopyPasteCopy '-2147483633' To...SYSTEM COLORSvbScrollBarsvbDesktopvbActiveTitleBarvbInactiveTitleBarvbMenuBarvbWindowBackgroundvbWindowFramevbMenuTextvbWindowTextvbActiveTitleBarTextvbActiveBordervbInactiveBordervbApplicationWorkspacevbHighlightvbHighlightTextvbButtonFacevbButtonShadowvbGrayTextvbButtonTextvbInactiveTitleBarTextvb3DHighlightvb3DDKShadowvb3DLightvbInfoTextvbInfoBackgroundvbHotTrackTextvbActiveTitleBarGradientvbInactiveTitleBarGradientvbMenuHighlightvbMenuBarFlat
+PROPERTIESAzAzDESIGNAPPEARANCEDRAWINGBEHAVIOURMOUSEWINDOWNameCommand1IndexCaption...Command1ToolTipText...VisualStylesTrueAppearance1 - vbAppear3dBackColor&H(BGR)8000000FForeColor&H(BGR)80000012Style0 - vbButtonStandardFontNameSegoe UIFontSize8FontBoldFalseFontItalicFalseFontStrikethruFalseFontUnderlineFalsePicture{0 bytes}...PictureDpiScalingFalseDownPicture{0 bytes}...DisabledPicture{0 bytes}...PictureAlignment1 - vbAlignTopMaskColor&H(BGR)C0C0C0UseMaskColorFalseEnabledTrueRightToLeftFalseCausesValidationTrueCancelFalseDefaultFalseMouseIcon{0 bytes}...MousePointer0 - vbDefaultDragMode0 - vbManualDragIcon{0 bytes}...OLEDropMode0 - vbOLEDropNoneCommand1    CommandButtonCopyPasteCopy '-2147483633' To...SYSTEM COLORSvbScrollBarsvbDesktopvbActiveTitleBarvbInactiveTitleBarvbMenuBarvbWindowBackgroundvbWindowFramevbMenuTextvbWindowTextvbActiveTitleBarTextvbActiveBordervbInactiveBordervbApplicationWorkspacevbHighlightvbHighlightTextvbButtonFacevbButtonShadowvbGrayTextvbButtonTextvbInactiveTitleBarTextvb3DHighlightvb3DDKShadowvb3DLightvbInfoTextvbInfoBackgroundvbHotTrackTextvbActiveTitleBarGradientvbInactiveTitleBarGradientvbMenuHighlightvbMenuBarFlat
diff --git a/docs/IDE/Forms/Properties.md b/docs/IDE/Forms/Properties.md
index a20834bc7..d50580e73 100644
--- a/docs/IDE/Forms/Properties.md
+++ b/docs/IDE/Forms/Properties.md
@@ -26,7 +26,7 @@ Each open designer has a property sheet of its own, and the pane shows the one o
 
 ![The PROPERTIES pane with Command1 selected. Under its title bar are the PROPERTIES and EVENTS tabs, then the object drop-down showing Command1 and CommandButton, then the list of properties under the category headers DESIGN, APPEARANCE and DRAWING. Labels with arrows on the left name the tabs, the drop-down and a category header.](Images/Properties_Control.png){:width="573" height="520"}
 
-From the top, the pane holds the **PROPERTIES** and **EVENTS** tabs, the object drop-down and the list of properties. The magnifier in the title bar searches the list.
+From the top, the pane holds the **PROPERTIES** and **EVENTS** tabs, the object drop-down and the list of properties. In the title bar, the magnifier searches the list and the **Az** button sorts it alphabetically.
 
 ## Choose what to edit
 
@@ -40,7 +40,9 @@ With several controls selected, the list merges their properties. A property tha
 
 ## Find a property
 
-The list is grouped by category, not alphabetically, and there is no alphabetical view. The groups are **DESIGN**, **BINDINGS**, **DATA**, **APPEARANCE**, **DRAWING**, **BEHAVIOUR**, **MOUSE**, **WINDOW**, **HELP**, **KEYBOARD**, **SCALE**, **LAYOUT**, **GENERAL** and **DDE**. A property the IDE does not know goes into **GENERAL**. Within a group the order is not strictly alphabetical: **Name** comes first under **DESIGN**, and **Caption** or **Text** comes before **ToolTipText**. The **Index** property is not listed for a form, a user control, a property page or a report.
+By default the list is grouped by category. The groups are **DESIGN**, **BINDINGS**, **DATA**, **APPEARANCE**, **DRAWING**, **BEHAVIOUR**, **MOUSE**, **WINDOW**, **HELP**, **KEYBOARD**, **SCALE**, **LAYOUT**, **GENERAL** and **DDE**. A property the IDE does not know goes into **GENERAL**. Within a group the order is not strictly alphabetical: **Name** comes first under **DESIGN**, and **Caption** or **Text** comes before **ToolTipText**. The **Index** property is not listed for a form, a user control, a property page or a report.
+
+The **Az** button in the title bar, **Alphabetic Sort Order**, lists the properties by name instead, with no category headers. **Name** still comes first, and the order ignores case. The button is highlighted while it is on. The choice applies to every designer, and the IDE keeps it for the next session.
 
 The magnifier opens a search box. The text is a list of parts of property names, separated by commas, and a property matches when its name contains any of them, in either case. The search looks at names, not at values.
 
@@ -73,7 +75,7 @@ A property has the editor that suits its type. A value is committed as the table
 If the compiler is busy when you open a property page, the IDE says *Backend compiler seems to be busy. Check there isn't a modal dialog box open behind the IDE window.*
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Ctrl+A does nothing in a property box. It does not select the text, and the selection of the controls on the form is unchanged. Text that you type is added to the text already in the box.
 
 ### Colours
@@ -88,7 +90,8 @@ The text box beside the swatch holds the colour as `&H` and hexadecimal digits f
 
 Right-click a value to open a menu with:
 
-- **Copy**, which puts the value on the clipboard as JSON, and **Paste**, which is live when the clipboard holds a value of a compatible type.
+- **Copy**, which puts the value's text on the clipboard as it is shown, with no quotes added: the selected part when some of the text in the value's box is selected, or else all of it. A value chosen from a drop-down list is copied as the text the list shows, and a **True** or **False** value as `True` or `False`. A value that is an object or a list is copied as JSON.
+- **Paste**, which is live when the clipboard holds a value of a compatible type. While the value's text box has the focus, it inserts the clipboard's text at the caret, in place of any selected text. Otherwise it sets the property to the clipboard's value.
 - **Copy** *value* **To...**, a submenu that lists every control on the form with a property of the same name and type, as `Control.Property`, or `{ no matches }`. Choosing an entry copies the value to that control.
 - **SYSTEM COLORS**, for a colour property: a submenu of the thirty system colour constants, from **vbScrollBars** to **vbMenuBarFlat**.
 
@@ -113,7 +116,7 @@ Some properties change others when you set them:
 Pointing at a property's value shows a short description of the property as a tooltip. The compiler supplies the text for some properties only. For example, the description of **Left** reads *Adjusts the left position of this control, in pixels, relative to the container*. **Top**, **Width**, **Height**, **Enabled**, **ToolTipText** and **TabIndex** have one too. **Caption**, **Style**, **BackColor** and **Index** have none.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The tooltip is the only place the description shows. The IDE also writes it to a line for the foot of the pane when a property's box takes the focus, but that line is out of sight, so the foot of the pane stays empty.
 
 ## Events
@@ -133,7 +136,7 @@ For example, a button at **Left** 10 and **Top** 50 pixels, 100 pixels wide and
 A value you type is taken in the same unit. Typing **Left** 450 on that form moves the button to 30 pixels. A font size, **Opacity**, **DrawWidth** and other properties that are not positions show as they are.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The pane shows **Left**, **Top**, **Width** and **Height** of a control on a CustomControls form multiplied by 15, as if the form were in twips, but takes the value you type as pixels. A button at **Left** 20 pixels shows 300. Typing 40 moves it to 40 pixels, and the box then shows 600. Do not type the value the pane shows. Type pixels, as the readouts on the surface show them.
 
 ## See Also
diff --git a/docs/IDE/Forms/Toolbox.md b/docs/IDE/Forms/Toolbox.md
index cb60e4dee..613048b9b 100644
--- a/docs/IDE/Forms/Toolbox.md
+++ b/docs/IDE/Forms/Toolbox.md
@@ -53,7 +53,7 @@ The magnifier in the title bar opens a search box under it. Typing a printable c
 ![The Toolbox with its search box holding Command, Text, beside three tool icons, the pointer, a text box and a command button, and More components below them. The menu of the ... button is open at the right, holding Show Control Names.](Images/Toolbox_Search.png){:width="377" height="129"}
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A **floating** Toolbox lists every tool when a report is open, 24 controls and **More components**, where the docked Toolbox lists seven. A tool that a report does not allow is refused when you use it, so nothing is lost. Dock the Toolbox, or choose only the seven tools that a report allows.
 
 ## Add ActiveX controls and components
diff --git a/docs/IDE/Images/CallStack.light.png b/docs/IDE/Images/CallStack.light.png
index f167e43f7..abcc4bb05 100644
Binary files a/docs/IDE/Images/CallStack.light.png and b/docs/IDE/Images/CallStack.light.png differ
diff --git a/docs/IDE/Images/CallStack.light.svg b/docs/IDE/Images/CallStack.light.svg
index 8ca184058..1ef23e66f 100644
--- a/docs/IDE/Images/CallStack.light.svg
+++ b/docs/IDE/Images/CallStack.light.svg
@@ -1 +1 @@
-CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [IDLE]Active Threads
+CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]Active Threads
diff --git a/docs/IDE/Images/CallStack.png b/docs/IDE/Images/CallStack.png
index 571c36ec0..5a72d9331 100644
Binary files a/docs/IDE/Images/CallStack.png and b/docs/IDE/Images/CallStack.png differ
diff --git a/docs/IDE/Images/CallStack.svg b/docs/IDE/Images/CallStack.svg
index 820d507df..c7a6c2c90 100644
--- a/docs/IDE/Images/CallStack.svg
+++ b/docs/IDE/Images/CallStack.svg
@@ -1 +1 @@
-CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [IDLE]Active Threads
+CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]Active Threads
diff --git a/docs/IDE/Images/DebugConsole.light.png b/docs/IDE/Images/DebugConsole.light.png
index c93787620..e1599b76b 100644
Binary files a/docs/IDE/Images/DebugConsole.light.png and b/docs/IDE/Images/DebugConsole.light.png differ
diff --git a/docs/IDE/Images/DebugConsole.light.svg b/docs/IDE/Images/DebugConsole.light.svg
index d34fb1c79..f7f1b594b 100644
--- a/docs/IDE/Images/DebugConsole.light.svg
+++ b/docs/IDE/Images/DebugConsole.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>Invert Output DirectionShow TimestampsAuto ScrollClear Debug ConsoleOptionsInput
+DEBUG CONSOLE>Invert Output DirectionShow TimestampsSmoother ScrollingAuto ScrollClear Debug ConsoleOptionsInput
diff --git a/docs/IDE/Images/DebugConsole.png b/docs/IDE/Images/DebugConsole.png
index 1538cccb4..ab32f561a 100644
Binary files a/docs/IDE/Images/DebugConsole.png and b/docs/IDE/Images/DebugConsole.png differ
diff --git a/docs/IDE/Images/DebugConsole.svg b/docs/IDE/Images/DebugConsole.svg
index f8840047e..03194a32d 100644
--- a/docs/IDE/Images/DebugConsole.svg
+++ b/docs/IDE/Images/DebugConsole.svg
@@ -1 +1 @@
-DEBUG CONSOLE>Invert Output DirectionShow TimestampsAuto ScrollClear Debug ConsoleOptionsInput
+DEBUG CONSOLE>Invert Output DirectionShow TimestampsSmoother ScrollingAuto ScrollClear Debug ConsoleOptionsInput
diff --git a/docs/IDE/Images/IDE_Tour.light.png b/docs/IDE/Images/IDE_Tour.light.png
index 6293a441b..76d710585 100644
Binary files a/docs/IDE/Images/IDE_Tour.light.png and b/docs/IDE/Images/IDE_Tour.light.png differ
diff --git a/docs/IDE/Images/IDE_Tour.light.svg b/docs/IDE/Images/IDE_Tour.light.svg
index 90dd73352..a8a0a735c 100644
--- a/docs/IDE/Images/IDE_Tour.light.svg
+++ b/docs/IDE/Images/IDE_Tour.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1frmMain.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERFormsDemoImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESPROPERTIESEVENTSDESIGNAPPEARANCENamefrmMainFormDesignerId{F0A3F101-3B2E-4D69-8A14-7E91C2D4C615}MDIChildFalseCaptionfrmMainAppearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize9FontBoldFalsefrmMain    FormFile+ menu380 x 270Menu barToolbarToolboxEditorPropertiesProject ExplorerDebug ConsoleDiagnosticsCall StackVariablesStatus bar
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1frmMain.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERFormsDemoImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESAzPROPERTIESEVENTSDESIGNAPPEARANCENamefrmMainFormDesignerId{F0A3F101-3B2E-4D69-8A14-7E91C2D4C615}MDIChildFalseCaptionfrmMainAppearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize9FontBoldFalsefrmMain    FormFile+ menu380 x 270Menu barToolbarToolboxEditorPropertiesProject ExplorerDebug ConsoleDiagnosticsCall StackVariablesStatus bar
diff --git a/docs/IDE/Images/IDE_Tour.png b/docs/IDE/Images/IDE_Tour.png
index 3fe103418..a112724c8 100644
Binary files a/docs/IDE/Images/IDE_Tour.png and b/docs/IDE/Images/IDE_Tour.png differ
diff --git a/docs/IDE/Images/IDE_Tour.svg b/docs/IDE/Images/IDE_Tour.svg
index 7c2817e0a..d54417285 100644
--- a/docs/IDE/Images/IDE_Tour.svg
+++ b/docs/IDE/Images/IDE_Tour.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1frmMain.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERFormsDemoImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESPROPERTIESEVENTSDESIGNAPPEARANCENamefrmMainFormDesignerId{F0A3F101-3B2E-4D69-8A14-7E91C2D4C615}MDIChildFalseCaptionfrmMainAppearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize9FontBoldFalsefrmMain    FormFile+ menu380 x 270Menu barToolbarToolboxEditorPropertiesProject ExplorerDebug ConsoleDiagnosticsCall StackVariablesStatus bar
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1frmMain.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERFormsDemoImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesfrmMain.tbformfrmMain.twinMyReport.tbreportMyReport.twinStartup.twinPROPERTIESAzAzPROPERTIESEVENTSDESIGNAPPEARANCENamefrmMainFormDesignerId{F0A3F101-3B2E-4D69-8A14-7E91C2D4C615}MDIChildFalseCaptionfrmMainAppearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize9FontBoldFalsefrmMain    FormFile+ menu380 x 270Menu barToolbarToolboxEditorPropertiesProject ExplorerDebug ConsoleDiagnosticsCall StackVariablesStatus bar
diff --git a/docs/IDE/Images/New_Project.light.png b/docs/IDE/Images/New_Project.light.png
index ed444896b..bbf11eaa8 100644
Binary files a/docs/IDE/Images/New_Project.light.png and b/docs/IDE/Images/New_Project.light.png differ
diff --git a/docs/IDE/Images/New_Project.light.svg b/docs/IDE/Images/New_Project.light.svg
index fe5a5720b..77d05a7e1 100644
--- a/docs/IDE/Images/New_Project.light.svg
+++ b/docs/IDE/Images/New_Project.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
diff --git a/docs/IDE/Images/New_Project.png b/docs/IDE/Images/New_Project.png
index 4f1be06bb..0864bebfa 100644
Binary files a/docs/IDE/Images/New_Project.png and b/docs/IDE/Images/New_Project.png differ
diff --git a/docs/IDE/Images/New_Project.svg b/docs/IDE/Images/New_Project.svg
index e4e3d6d4d..524026dc2 100644
--- a/docs/IDE/Images/New_Project.svg
+++ b/docs/IDE/Images/New_Project.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
diff --git a/docs/IDE/Images/New_Project_Recent_1.light.png b/docs/IDE/Images/New_Project_Recent_1.light.png
index fefedf22a..50c6f350d 100644
Binary files a/docs/IDE/Images/New_Project_Recent_1.light.png and b/docs/IDE/Images/New_Project_Recent_1.light.png differ
diff --git a/docs/IDE/Images/New_Project_Recent_1.light.svg b/docs/IDE/Images/New_Project_Recent_1.light.svg
index df082ec56..d00f9e86a 100644
--- a/docs/IDE/Images/New_Project_Recent_1.light.svg
+++ b/docs/IDE/Images/New_Project_Recent_1.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...CancelNewSamplesRecentNothing here yet.Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.Open a project and it will appear here.Open
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...CancelNewSamplesRecentNothing here yet.Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.Open a project and it will appear here.Open
diff --git a/docs/IDE/Images/New_Project_Recent_1.png b/docs/IDE/Images/New_Project_Recent_1.png
index 92d38e8f7..6daa992cf 100644
Binary files a/docs/IDE/Images/New_Project_Recent_1.png and b/docs/IDE/Images/New_Project_Recent_1.png differ
diff --git a/docs/IDE/Images/New_Project_Recent_1.svg b/docs/IDE/Images/New_Project_Recent_1.svg
index 53802969a..654f77645 100644
--- a/docs/IDE/Images/New_Project_Recent_1.svg
+++ b/docs/IDE/Images/New_Project_Recent_1.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...CancelNewSamplesRecentNothing here yet.Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.Open a project and it will appear here.Open
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...CancelNewSamplesRecentNothing here yet.Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.Open a project and it will appear here.Open
diff --git a/docs/IDE/Images/New_Project_Recent_2.light.png b/docs/IDE/Images/New_Project_Recent_2.light.png
index 57b2e077e..dd443801f 100644
Binary files a/docs/IDE/Images/New_Project_Recent_2.light.png and b/docs/IDE/Images/New_Project_Recent_2.light.png differ
diff --git a/docs/IDE/Images/New_Project_Recent_2.light.svg b/docs/IDE/Images/New_Project_Recent_2.light.svg
index 2ee7da1d1..46fc5b5de 100644
--- a/docs/IDE/Images/New_Project_Recent_2.light.svg
+++ b/docs/IDE/Images/New_Project_Recent_2.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentC:\Projects\InvoiceManager\InvoiceManager.twinprojD:\Work\ImageViewer\ImageViewer.twinprojSearch projects, samples, recent...BETA 10348262Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentC:\Projects\InvoiceManager\InvoiceManager.twinprojD:\Work\ImageViewer\ImageViewer.twinprojSearch projects, samples, recent...BETA 10428262Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.
diff --git a/docs/IDE/Images/New_Project_Recent_2.png b/docs/IDE/Images/New_Project_Recent_2.png
index 9c703e23b..08194c75a 100644
Binary files a/docs/IDE/Images/New_Project_Recent_2.png and b/docs/IDE/Images/New_Project_Recent_2.png differ
diff --git a/docs/IDE/Images/New_Project_Recent_2.svg b/docs/IDE/Images/New_Project_Recent_2.svg
index 810b860de..3459111df 100644
--- a/docs/IDE/Images/New_Project_Recent_2.svg
+++ b/docs/IDE/Images/New_Project_Recent_2.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentC:\Projects\InvoiceManager\InvoiceManager.twinprojD:\Work\ImageViewer\ImageViewer.twinprojSearch projects, samples, recent...BETA 10348262Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentC:\Projects\InvoiceManager\InvoiceManager.twinprojD:\Work\ImageViewer\ImageViewer.twinprojSearch projects, samples, recent...BETA 10428262Double-click an item or press Enterto open it.Projects you have opened recently. Click the X to remove an entry.
diff --git a/docs/IDE/Images/New_Project_Samples.light.png b/docs/IDE/Images/New_Project_Samples.light.png
index cfadc1154..b1dcb83a0 100644
Binary files a/docs/IDE/Images/New_Project_Samples.light.png and b/docs/IDE/Images/New_Project_Samples.light.png differ
diff --git a/docs/IDE/Images/New_Project_Samples.light.svg b/docs/IDE/Images/New_Project_Samples.light.svg
index 0acced744..623fdbebb 100644
--- a/docs/IDE/Images/New_Project_Samples.light.svg
+++ b/docs/IDE/Images/New_Project_Samples.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE.
diff --git a/docs/IDE/Images/New_Project_Samples.png b/docs/IDE/Images/New_Project_Samples.png
index 155a483e1..e348984ab 100644
Binary files a/docs/IDE/Images/New_Project_Samples.png and b/docs/IDE/Images/New_Project_Samples.png differ
diff --git a/docs/IDE/Images/New_Project_Samples.svg b/docs/IDE/Images/New_Project_Samples.svg
index b72a86c20..8bc325ccb 100644
--- a/docs/IDE/Images/New_Project_Samples.svg
+++ b/docs/IDE/Images/New_Project_Samples.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE.
diff --git a/docs/IDE/Images/Splash_Screen.light.png b/docs/IDE/Images/Splash_Screen.light.png
index 7fa5200cd..93c4ee3fc 100644
Binary files a/docs/IDE/Images/Splash_Screen.light.png and b/docs/IDE/Images/Splash_Screen.light.png differ
diff --git a/docs/IDE/Images/Splash_Screen.light.svg b/docs/IDE/Images/Splash_Screen.light.svg
index 0272c26b0..a406b2ab1 100644
--- a/docs/IDE/Images/Splash_Screen.light.svg
+++ b/docs/IDE/Images/Splash_Screen.light.svg
@@ -1 +1 @@
-"Sprocket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleDoubleprices.KeysLoading, please wait...Extending our thanks to our VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporter© 2026 TWINBASIC LTD
+"Sprocket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleDoubleprices.KeysLoading, please wait...Extending our thanks to our VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporter© 2026 TWINBASIC LTD
diff --git a/docs/IDE/Images/Splash_Screen.png b/docs/IDE/Images/Splash_Screen.png
index 3c6a3cfeb..018d36012 100644
Binary files a/docs/IDE/Images/Splash_Screen.png and b/docs/IDE/Images/Splash_Screen.png differ
diff --git a/docs/IDE/Images/Splash_Screen.svg b/docs/IDE/Images/Splash_Screen.svg
index 262982003..23d776c96 100644
--- a/docs/IDE/Images/Splash_Screen.svg
+++ b/docs/IDE/Images/Splash_Screen.svg
@@ -1 +1 @@
-"Sprocket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleDoubleLoading, please wait...Extending our thanks to our VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporter© 2026 TWINBASIC LTD
+"Sprocket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleDoubleLoading, please wait...Extending our thanks to our VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporter© 2026 TWINBASIC LTD
diff --git a/docs/IDE/Menu/Debug.md b/docs/IDE/Menu/Debug.md
index 8c71f053d..88d33fda7 100644
--- a/docs/IDE/Menu/Debug.md
+++ b/docs/IDE/Menu/Debug.md
@@ -40,12 +40,15 @@ The Debug menu holds the commands for stepping through a paused program, for wat
 
 ## Debugger Options
 
-![The Debug menu with no project open, its other entries greyed out, Debugger Options highlighted and its submenu open to the right, holding two entries: Break On All Errors, unticked, and Allow Breakpoints (Debuggable), ticked.](Images/Menu_Debug_DebuggerOptions.png){:width="535" height="285"}
+![The Debug menu with no project open, its other entries greyed out, Debugger Options highlighted and its submenu open to the right, holding three entries: Break On All Errors (this project) and Break On All Errors (inside packages), both unticked, and Allow Breakpoints (Debuggable), ticked.](Images/Menu_Debug_DebuggerOptions.png){:width="556" height="308"}
 
-![A close-up of that submenu on its own: a tick against Allow Breakpoints (Debuggable) and none against Break On All Errors.](Images/Menu_Debug_DebuggerOptions_2.png){:width="252" height="56"}
+![A close-up of that submenu on its own: no tick against the two Break On All Errors entries, and a tick against Allow Breakpoints (Debuggable).](Images/Menu_Debug_DebuggerOptions_2.png){:width="274" height="79"}
 
-**Break On All Errors**
-: Turns the project setting of the [same name](../../Project-Settings#break-on-all-errors) on and off. It is off by default. When it is on, the program stops at an error that an `On Error` statement would handle. See [Break On All Errors and Debuggable](../../Debugging/Breakpoints-and-Stepping#break-on-all-errors-and-debuggable).
+**Break On All Errors (this project)**
+: Turns the project setting [Break On All Errors](../../Project-Settings#break-on-all-errors) on and off. It is off by default. When it is on, the program stops at an error that an `On Error` statement would handle, in the project's own code. See [Break On All Errors and Debuggable](../../Debugging/Breakpoints-and-Stepping#break-on-all-errors-and-debuggable).
+
+**Break On All Errors (inside packages)**
+: Turns the project setting [Break On All Errors (packages)](../../Project-Settings#break-on-all-errors-packages) on and off. It does the same for errors raised in the code of the packages that the project references, and is off by default.
 
 **Allow Breakpoints (Debuggable)**
 : Turns the project setting [Debuggable](../../Project-Settings#debuggable) on and off. It is on by default. While it is off, no breakpoint stops the program.
diff --git a/docs/IDE/Menu/Format.md b/docs/IDE/Menu/Format.md
index ca9419153..a2c50c170 100644
--- a/docs/IDE/Menu/Format.md
+++ b/docs/IDE/Menu/Format.md
@@ -17,7 +17,7 @@ The Format menu holds the commands that line up and order the controls selected
 Every command acts on the selection in a form designer, so every command is greyed out until a designer is open with a selection. The commands need different numbers of controls: **Align**, **Make Same Size** and the two spacing submenus need two or more, **Make Equal** three or more, and the other commands one or more. The same commands are in the designer's [right-click menu](../../Forms/Controls#the-right-click-menu).
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The spacing commands and **Make Same Size** can leave the new positions or sizes out of the saved form. [Arranging controls](../../Forms/Arranging) says what to do instead.
 
 ![The Format menu with no control selected, every command greyed out.](Images/Menu_Format.png){:width="233" height="281"}
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.png b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.png
index 99f57388d..80d45e5cf 100644
Binary files a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.png and b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.svg b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.svg
index c80e566e0..5150c5fe0 100644
--- a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.svg
+++ b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.light.svg
@@ -1 +1 @@
-DebugStep IntoF8 / F11Step OverSHIFT+F8 / F10Add Watch...SHIFT+F9Clear WatchesToggle BreakpointF9Clear All BreakpointsCTRL+SHIFT+F9Set Next Statement (Jump To Line)CTRL+F9Debugger OptionsBreak On All ErrorsAllow Breakpoints (Debuggable)
+DebugStep IntoF8 / F11Step OverSHIFT+F8 / F10Add Watch...SHIFT+F9Clear WatchesToggle BreakpointF9Clear All BreakpointsCTRL+SHIFT+F9Set Next Statement (Jump To Line)CTRL+F9Debugger OptionsBreak On All Errors (this project)Break On All Errors (inside packages)Allow Breakpoints (Debuggable)
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.png b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.png
index 74401b2ee..6a6b02ce7 100644
Binary files a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.png and b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.svg b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.svg
index 8cd909fe3..2ab6532fa 100644
--- a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.svg
+++ b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions.svg
@@ -1 +1 @@
-DebugStep IntoF8 / F11Step OverSHIFT+F8 / F10Add Watch...SHIFT+F9Clear WatchesToggle BreakpointF9Clear All BreakpointsCTRL+SHIFT+F9Set Next Statement (Jump To Line)CTRL+F9Debugger OptionsBreak On All ErrorsAllow Breakpoints (Debuggable)
+DebugStep IntoF8 / F11Step OverSHIFT+F8 / F10Add Watch...SHIFT+F9Clear WatchesToggle BreakpointF9Clear All BreakpointsCTRL+SHIFT+F9Set Next Statement (Jump To Line)CTRL+F9Debugger OptionsBreak On All Errors (this project)Break On All Errors (inside packages)Allow Breakpoints (Debuggable)
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.png b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.png
index 07a9b46d9..d995e7bb2 100644
Binary files a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.png and b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.svg b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.svg
index 8c2aeddf5..20c8034bb 100644
--- a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.svg
+++ b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.light.svg
@@ -1 +1 @@
-Break On All ErrorsAllow Breakpoints (Debuggable)
+Break On All Errors (this project)Break On All Errors (inside packages)Allow Breakpoints (Debuggable)
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.png b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.png
index 4d24dde0a..8558718bd 100644
Binary files a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.png and b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.svg b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.svg
index ec2117307..3a9afa62a 100644
--- a/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.svg
+++ b/docs/IDE/Menu/Images/Menu_Debug_DebuggerOptions_2.svg
@@ -1 +1 @@
-Break On All ErrorsAllow Breakpoints (Debuggable)
+Break On All Errors (this project)Break On All Errors (inside packages)Allow Breakpoints (Debuggable)
diff --git a/docs/IDE/Menu/Images/Menu_Help_About.light.png b/docs/IDE/Menu/Images/Menu_Help_About.light.png
index 378b03f6f..c4646b813 100644
Binary files a/docs/IDE/Menu/Images/Menu_Help_About.light.png and b/docs/IDE/Menu/Images/Menu_Help_About.light.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Help_About.light.svg b/docs/IDE/Menu/Images/Menu_Help_About.light.svg
index 2c5efbd9d..757ff0533 100644
--- a/docs/IDE/Menu/Images/Menu_Help_About.light.svg
+++ b/docs/IDE/Menu/Images/Menu_Help_About.light.svg
@@ -1 +1 @@
-Add-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)Inventory(general)(declaration)Collection"Widget""Sprocket""Gasket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)&TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleVariantDoubleprices.KeysDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [IDLE]VARIABLESAbout twinBASIC...Closeversion: twinBASIC IDE BETA 1034© 2026 TWINBASIC LTDIn the development of twinBASIC, the essence of community support has been thecornerstone of our progress and success. This project thrives not just on code andtechnology, but on the invaluable contributions, insights, and feedback provided by adiverse and active community of developers, users, and enthusiasts.SPECIAL THANKS: ... coming soon :)VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporterPortions of this software utilize third-party open-source libraries. Namely:MONACO - CODE EDITOR (see file ide\licences\monaco.txt)CODICON - ICONS (see file ide\licences\codicon.txt)LLVM - OPTIMIZING BACKEND COMPILER (see file ide\licences\llvm.txt)LODEPNG - PNG DECODER (see file ide\licences\lodepng.txt)SPECTRUM - JS COLOR PICKER (see file ide\licences\spectrum.txt)GRAPICK - JS GRADIENT PICKER (see file ide\licences\grapick.txt)CHARTJS - JS CHARTS (see file ide\licences\chartjs.txt)JQUERY - JS HELPER (see file ide\licences\jquery.txt)VBQRCODEGEN - QRCODE library by wqweto (see file ide\licences\VbQRCodegen.txt)LZ4 - LZ4 COMPRESSION LIBRARY (see file ide\licences\lz4.txt)LICENCE: ULTIMATE EDITION
+Add-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)Inventory(general)(declaration)Collection"Widget""Sprocket""Gasket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)&TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleVariantDoubleprices.KeysDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESAbout twinBASIC...Closeversion: twinBASIC IDE BETA 1042© 2026 TWINBASIC LTDIn the development of twinBASIC, the essence of community support has been thecornerstone of our progress and success. This project thrives not just on code andtechnology, but on the invaluable contributions, insights, and feedback provided by adiverse and active community of developers, users, and enthusiasts.SPECIAL THANKS: ... coming soon :)VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporterPortions of this software utilize third-party open-source libraries. Namely:MONACO - CODE EDITOR (see file ide\licences\monaco.txt)CODICON - ICONS (see file ide\licences\codicon.txt)LLVM - OPTIMIZING BACKEND COMPILER (see file ide\licences\llvm.txt)LODEPNG - PNG DECODER (see file ide\licences\lodepng.txt)SPECTRUM - JS COLOR PICKER (see file ide\licences\spectrum.txt)GRAPICK - JS GRADIENT PICKER (see file ide\licences\grapick.txt)CHARTJS - JS CHARTS (see file ide\licences\chartjs.txt)JQUERY - JS HELPER (see file ide\licences\jquery.txt)VBQRCODEGEN - QRCODE library by wqweto (see file ide\licences\VbQRCodegen.txt)LZ4 - LZ4 COMPRESSION LIBRARY (see file ide\licences\lz4.txt)LICENCE: ULTIMATE EDITION
diff --git a/docs/IDE/Menu/Images/Menu_Help_About.png b/docs/IDE/Menu/Images/Menu_Help_About.png
index 090db5683..9dea8644d 100644
Binary files a/docs/IDE/Menu/Images/Menu_Help_About.png and b/docs/IDE/Menu/Images/Menu_Help_About.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Help_About.svg b/docs/IDE/Menu/Images/Menu_Help_About.svg
index 0efa31fbc..e87d21a1a 100644
--- a/docs/IDE/Menu/Images/Menu_Help_About.svg
+++ b/docs/IDE/Menu/Images/Menu_Help_About.svg
@@ -1 +1 @@
-Add-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)Inventory(general)(declaration)Collection"Widget""Sprocket""Gasket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)&TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleVariantDoubleprices.KeysDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034MAIN_THREAD [IDLE]VARIABLESAbout twinBASIC...Closeversion: twinBASIC IDE BETA 1034© 2026 TWINBASIC LTDIn the development of twinBASIC, the essence of community support has been thecornerstone of our progress and success. This project thrives not just on code andtechnology, but on the invaluable contributions, insights, and feedback provided by adiverse and active community of developers, users, and enthusiasts.SPECIAL THANKS: ... coming soon :)VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporterPortions of this software utilize third-party open-source libraries. Namely:MONACO - CODE EDITOR (see file ide\licences\monaco.txt)CODICON - ICONS (see file ide\licences\codicon.txt)LLVM - OPTIMIZING BACKEND COMPILER (see file ide\licences\llvm.txt)LODEPNG - PNG DECODER (see file ide\licences\lodepng.txt)SPECTRUM - JS COLOR PICKER (see file ide\licences\spectrum.txt)GRAPICK - JS GRADIENT PICKER (see file ide\licences\grapick.txt)CHARTJS - JS CHARTS (see file ide\licences\chartjs.txt)JQUERY - JS HELPER (see file ide\licences\jquery.txt)VBQRCODEGEN - QRCODE library by wqweto (see file ide\licences\VbQRCodegen.txt)LZ4 - LZ4 COMPRESSION LIBRARY (see file ide\licences\lz4.txt)LICENCE: ULTIMATE EDITION
+Add-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)Inventory(general)(declaration)Collection"Widget""Sprocket""Gasket"ObjectCreateObject("Scripting.Dictionary")"Widget",4.5"Sprocket",12"Gasket",0.75Variantnamesitem,prices(item)&TotalPrice(prices),vbInformation[Description("Adds up the prices held in a Dictionary.")]TotalPrice(ByValpricesAsObject)AsDoubleVariantDoubleprices.KeysDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESAbout twinBASIC...Closeversion: twinBASIC IDE BETA 1042© 2026 TWINBASIC LTDIn the development of twinBASIC, the essence of community support has been thecornerstone of our progress and success. This project thrives not just on code andtechnology, but on the invaluable contributions, insights, and feedback provided by adiverse and active community of developers, users, and enthusiasts.SPECIAL THANKS: ... coming soon :)VIP Gold SupportersSee your logo here!Become a VIP Gold supporterSee your logo here!Become a VIP Gold supporterPortions of this software utilize third-party open-source libraries. Namely:MONACO - CODE EDITOR (see file ide\licences\monaco.txt)CODICON - ICONS (see file ide\licences\codicon.txt)LLVM - OPTIMIZING BACKEND COMPILER (see file ide\licences\llvm.txt)LODEPNG - PNG DECODER (see file ide\licences\lodepng.txt)SPECTRUM - JS COLOR PICKER (see file ide\licences\spectrum.txt)GRAPICK - JS GRADIENT PICKER (see file ide\licences\grapick.txt)CHARTJS - JS CHARTS (see file ide\licences\chartjs.txt)JQUERY - JS HELPER (see file ide\licences\jquery.txt)VBQRCODEGEN - QRCODE library by wqweto (see file ide\licences\VbQRCodegen.txt)LZ4 - LZ4 COMPRESSION LIBRARY (see file ide\licences\lz4.txt)LICENCE: ULTIMATE EDITION
diff --git a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.png b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.png
index 8ba1c1c4f..84445e73a 100644
Binary files a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.png and b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.svg b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.svg
index 76cde2ffa..60b1c091b 100644
--- a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.svg
+++ b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin1234567891011121314151617181920212223242526ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75DimitemAsVariantForEachitemInnamesDebug.Printitem,prices(item)NextMsgBox"Total: "&TotalPrice(prices),vbInformationEndSub[Description("Adds up the prices held in a Dictionary.")]PublicFunctionTotalPrice(ByValpricesAsObject)AsDoubleDimkeyAsVariantDimtotalAsDoubleForEachkeyInprices.Keys▶   run Inventory.MainDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1033MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinPROPERTIEStwinBASIC IDE OptionsChange Licence...CloseAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE FontShow real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor FontUse Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceLight13pxSegoe UINoYesNoYes413pxNoYesabovenone(Filter)3251032534The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causeSave Changes
+tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin1234567891011121314151617181920212223242526ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75DimitemAsVariantForEachitemInnamesDebug.Printitem,prices(item)NextMsgBox"Total: "&TotalPrice(prices),vbInformationEndSub[Description("Adds up the prices held in a Dictionary.")]PublicFunctionTotalPrice(ByValpricesAsObject)AsDoubleDimkeyAsVariantDimtotalAsDoubleForEachkeyInprices.Keys▶   run Inventory.MainDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinPROPERTIEStwinBASIC IDE OptionsChange Licence...CloseAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE FontShow real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor FontUse Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceLight13pxSegoe UINoYesNoYes▲▼413pxNoYesabovenone(Filter)3351032535The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causeSave Changes
diff --git a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.png b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.png
index 4f816df37..f9db63c13 100644
Binary files a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.png and b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.svg b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.svg
index 26c317367..aaaab282a 100644
--- a/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.svg
+++ b/docs/IDE/Menu/Images/Menu_Tools_IDEOptions.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin1234567891011121314151617181920212223242526ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75DimitemAsVariantForEachitemInnamesDebug.Printitem,prices(item)NextMsgBox"Total: "&TotalPrice(prices),vbInformationEndSub[Description("Adds up the prices held in a Dictionary.")]PublicFunctionTotalPrice(ByValpricesAsObject)AsDoubleDimkeyAsVariantDimtotalAsDoubleForEachkeyInprices.Keys▶   run Inventory.MainDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1033MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinPROPERTIEStwinBASIC IDE OptionsChange Licence...CloseAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE FontShow real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor FontUse Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceDark13pxSegoe UINoYesNoYes413pxNoYesabovenone(Filter)3251032534The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causeSave Changes
+tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin1234567891011121314151617181920212223242526ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75DimitemAsVariantForEachitemInnamesDebug.Printitem,prices(item)NextMsgBox"Total: "&TotalPrice(prices),vbInformationEndSub[Description("Adds up the prices held in a Dictionary.")]PublicFunctionTotalPrice(ByValpricesAsObject)AsDoubleDimkeyAsVariantDimtotalAsDoubleForEachkeyInprices.Keys▶   run Inventory.MainDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twinPROPERTIEStwinBASIC IDE OptionsChange Licence...CloseAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE FontShow real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor FontUse Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceDark13pxSegoe UINoYesNoYes▲▼413pxNoYesabovenone(Filter)3351032535The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causeSave Changes
diff --git a/docs/IDE/Menu/Images/Menu_Window_Language.light.png b/docs/IDE/Menu/Images/Menu_Window_Language.light.png
index 0e5db0d1c..0058e349b 100644
Binary files a/docs/IDE/Menu/Images/Menu_Window_Language.light.png and b/docs/IDE/Menu/Images/Menu_Window_Language.light.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Window_Language.light.svg b/docs/IDE/Menu/Images/Menu_Window_Language.light.svg
index 5d194ad02..48046e506 100644
--- a/docs/IDE/Menu/Images/Menu_Window_Language.light.svg
+++ b/docs/IDE/Menu/Images/Menu_Window_Language.light.svg
@@ -1 +1 @@
-WindowPanel LayoutsPanel FeaturesKeyboard ShortcutsThemeLanguageCatalan (Català [Espanya])German (Deutsch [Deutschland])Greek (Ελληνικά Ελλάδος)English (British English)Spanish (Español [España])French (Français [France])Hindi (हिन्दी [भारत])Hungarian (Magyar)Indonesia (bahasa [Indonesia])Italian (Italiano [Italy})Japanese (日本語 [Japan])Malayalam (മലയാളം [ഇന്ത്യ])Polish (Polski)Portuguese (Português [Brasil])Russian (Русский [Россия])Swedish (Svenska)Turkish (Türkçe [Turkey])Chinese Simplified (中文 [简体])Chinese Traditional (中文 [繁体])
+WindowPanel LayoutsPanel FeaturesKeyboard ShortcutsThemeLanguageCatalan (Català [Espanya])German (Deutsch [Deutschland])Greek (Ελληνικά Ελλάδος)English (British English)Spanish (Español [España])French (Français [France])Hindi (हिन्दी [भारत])Hungarian (Magyar)Indonesia (bahasa [Indonesia])Italian (Italiano [Italy})Japanese (日本語 [Japan])Malayalam (മലയാളം [ഇന്ത്യ])Dutch (Nederlands NL)Polish (Polski)Portuguese (Português [Brasil])Russian (Русский [Россия])Swedish (Svenska)Turkish (Türkçe [Turkey])Chinese Simplified (中文 [简体])Chinese Traditional (中文 [繁体])
diff --git a/docs/IDE/Menu/Images/Menu_Window_Language.png b/docs/IDE/Menu/Images/Menu_Window_Language.png
index a1cca278c..31dd7a1e8 100644
Binary files a/docs/IDE/Menu/Images/Menu_Window_Language.png and b/docs/IDE/Menu/Images/Menu_Window_Language.png differ
diff --git a/docs/IDE/Menu/Images/Menu_Window_Language.svg b/docs/IDE/Menu/Images/Menu_Window_Language.svg
index a93e0d346..1608e4ec2 100644
--- a/docs/IDE/Menu/Images/Menu_Window_Language.svg
+++ b/docs/IDE/Menu/Images/Menu_Window_Language.svg
@@ -1 +1 @@
-WindowPanel LayoutsPanel FeaturesKeyboard ShortcutsThemeLanguageCatalan (Català [Espanya])German (Deutsch [Deutschland])Greek (Ελληνικά Ελλάδος)English (British English)Spanish (Español [España])French (Français [France])Hindi (हिन्दी [भारत])Hungarian (Magyar)Indonesia (bahasa [Indonesia])Italian (Italiano [Italy})Japanese (日本語 [Japan])Malayalam (മലയാളം [ഇന്ത്യ])Polish (Polski)Portuguese (Português [Brasil])Russian (Русский [Россия])Swedish (Svenska)Turkish (Türkçe [Turkey])Chinese Simplified (中文 [简体])Chinese Traditional (中文 [繁体])
+WindowPanel LayoutsPanel FeaturesKeyboard ShortcutsThemeLanguageCatalan (Català [Espanya])German (Deutsch [Deutschland])Greek (Ελληνικά Ελλάδος)English (British English)Spanish (Español [España])French (Français [France])Hindi (हिन्दी [भारत])Hungarian (Magyar)Indonesia (bahasa [Indonesia])Italian (Italiano [Italy})Japanese (日本語 [Japan])Malayalam (മലയാളം [ഇന്ത്യ])Dutch (Nederlands NL)Polish (Polski)Portuguese (Português [Brasil])Russian (Русский [Россия])Swedish (Svenska)Turkish (Türkçe [Turkey])Chinese Simplified (中文 [简体])Chinese Traditional (中文 [繁体])
diff --git a/docs/IDE/Project Settings.md b/docs/IDE/Project Settings.md
index a2e19d59b..0da6750c6 100644
--- a/docs/IDE/Project Settings.md	
+++ b/docs/IDE/Project Settings.md	
@@ -221,10 +221,14 @@ When set to **Yes**, the memory of a **String**, **Variant** or array is overwri
 
 ### Break On All Errors
 
-When set to **Yes**, a run-time error stops the program at the failing line even while an `On Error Resume Next` or `On Error GoTo` statement is in effect, with the same error panel as an error that nothing handles. It is **No** by default, and then the handler gets the error. **Debug → Debugger Options → Break On All Errors** turns the same setting on and off. In the `Settings` file it is `debugger.breakOnAllErrors`.
+When set to **Yes**, a run-time error stops the program at the failing line even while an `On Error Resume Next` or `On Error GoTo` statement is in effect, with the same error panel as an error that nothing handles. It is **No** by default, and then the handler gets the error. It applies to errors raised in the project's own code only, and the dialog shows it as **Break On All Errors (this project)**. **Debug → Debugger Options → Break On All Errors (this project)** turns the same setting on and off. In the `Settings` file it is `debugger.breakOnAllErrors`.
 
 [When a run-time error stops the program](Debugging/Breakpoints-and-Stepping#when-a-run-time-error-stops-the-program) describes the panel. [Break On All Errors and Debuggable](Debugging/Breakpoints-and-Stepping#break-on-all-errors-and-debuggable) says what **Ignore (Resume Next)** does when this setting is on.
 
+### Break On All Errors (packages)
+
+When set to **Yes**, the setting above applies to errors raised in the code of the packages that the project references as well. It is **No** by default. **Debug → Debugger Options → Break On All Errors (inside packages)** turns the same setting on and off. In the `Settings` file it is `debugger.breakOnAllErrorsInPackages`.
+
 ### Debuggable
 
 When set to **Yes**, breakpoints can be set in the project's procedures, and stepping into them works as usual. It is **Yes** by default. **No** is mainly useful in a package, to keep the projects that use the package from stepping into its code. The [**Debuggable**](../Core/Attributes#debuggable) attribute changes it for a module, a class or a procedure. In the `Settings` file it is `project.debuggable`.
diff --git a/docs/IDE/Projects/Adding-Files.md b/docs/IDE/Projects/Adding-Files.md
index bdde4ebf2..6601fbe6c 100644
--- a/docs/IDE/Projects/Adding-Files.md
+++ b/docs/IDE/Projects/Adding-Files.md
@@ -69,7 +69,7 @@ The new file goes into the selected folder, or into the folder of the selected f
 **Add Folder** and **Add Other File** are not moved to `Sources`: a file made with **Add Other File** while a file in `Resources/CUSTOM` is selected is made in `Resources/CUSTOM`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Add Other File**, and **Paste**, in the `Packages` folder create nothing. The notification says *cannot create files inside the root resources folder*, which names the wrong folder. A file that was cut and then pasted there is deleted: see [Cut, copy and paste](Files-and-Folders#cut-copy-and-paste).
 
 ## What the new files hold
@@ -106,7 +106,7 @@ The `.twin` files are written as UTF-8 with Windows line endings. The `.bas` and
 A file with any extension but the three below is copied into the project unchanged. It goes into the selected folder, or the folder of the selected file, or `Sources` if nothing is selected. The IDE does not ask when a file of the same name is there already: the new file replaces it.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Importing a file with the name of a file already in the project crashes the compiler, whether or not the file is open. The Debug Console prints `NATIVE EXCEPTION: ACCESS_VIOLATION`, and the IDE restarts the compiler. When the file is open in a tab, the project then holds the imported text, but the tab keeps the old text. If you edit the tab and press Ctrl+S, the old text with your edit is saved over the import. Close the tab of a file before you import a file with its name.
 
 ### Projects and packages
@@ -120,7 +120,7 @@ The tree shows the project's folders and files but not its `Packages`, `Settings
 **Import** writes each ticked file at the same path in the current project, and makes the folders for it. A file already at that path is replaced with no question. If the import fails, a box says **Import failed. Please check the DEBUG CONSOLE for details of the errors that occurred.**
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Importing a project's files replaces a file of the same path without a question, and closes the tab open on it first. Unsaved changes in that tab are lost, and so is the saved copy of the file, because the import also saves the project. Do not tick a file whose path is already in your project.
 
 This is for taking files from another project. To open a whole VB6 project as a new twinBASIC project, use **File → Open Project...** on its `.vbp`, or the **Import from VBP...** card of the [New Project](../Starting/New-Project) dialog. [Importing a VB6 project](../Starting/Importing-VB6) describes the import. The **Import from folder...** card opens the folder of a twinBASIC project, such as an export, not a VB6 one. A package is added as a package in [Project Settings](References-and-Packages#available-packages), not here.
@@ -130,7 +130,7 @@ This is for taking files from another project. To open a whole VB6 project as a
 When every file of the command is done, the IDE saves the project, as if you had pressed Ctrl+S. For a project with no file yet, the **Save As** dialog opens instead. Cancelling it leaves the file imported and the project unsaved.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > An import saves the project, with the unsaved changes of every open editor, although you did not ask for a save. **Cancel** in the **Import from twinproj...** dialog does the same, and then the IDE restarts its compiler.
 ## Resources
 
diff --git a/docs/IDE/Projects/Files-and-Folders.md b/docs/IDE/Projects/Files-and-Folders.md
index 987029167..b2e4afa1e 100644
--- a/docs/IDE/Projects/Files-and-Folders.md
+++ b/docs/IDE/Projects/Files-and-Folders.md
@@ -67,7 +67,7 @@ A name is refused, with a notification in the corner of the window, when it:
 The notification reads **Cannot rename: the new name entered is invalid.** The seven special folders, `Settings`, `Sources`, `Resources`, `References`, `Packages`, `Miscellaneous` and `ImportedTypeLibraries`, cannot be renamed at all: the notification is **Cannot rename: permission denied.**
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A rename that changes only the case of a name, or nothing, is refused with the same message as an invalid name, so `legacy.bas` cannot be changed to `Legacy.bas` in the tree.
 
 If the file is open in a tab with changes you have not saved, the IDE refuses the rename and shows a box, **Rename/Move failed. Please close the following editors that are preventing the operation:**, with the paths of the files. The same box appears for a folder that holds such a file. Save the file, or close its tab, and rename again. A tab on a file with no unsaved changes does not stop the rename. The tab closes, and the IDE does not open it again under the new name. Bookmarks move with the file.
@@ -83,7 +83,7 @@ A form's designer file and its `.twin` file belong together. After you rename on
 The top row of the tree is the project. Renaming it changes the **Project Name** setting in the `Settings` file. The row, the title bar and the `.twinproj` file keep their names. A name that is not a valid project name gives **Cannot rename the project: the new name entered is invalid.**
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Renaming the project also saves it, with the unsaved edits of the open editors, and the title bar's changed mark goes.
 
 ## Move a file or folder by dragging
@@ -96,11 +96,11 @@ Drag a row, or the selected rows, onto a folder. The folder under the pointer is
 - A file dragged in from Windows is not accepted.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Dragging a folder onto one of its own files, or onto one of its own subfolders, is accepted with no message. The tree then nests the folder inside itself, about fifty levels deep. The next Ctrl+S prints the green `[DONE]` line in the Debug Console, and then an error, and it writes a project file that the IDE cannot open: opening it stops at *Please wait... 25.0%*. Never drop a folder onto anything inside it. If you did, do not save. Close the project with **Discard Changes** in the question that follows, and open it again.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Nothing stops a drag of a special folder. Dragging `Sources` onto `Miscellaneous` moves it there with no message, and the next save keeps it there. Do not drag the special folders. A drop of a file on `Packages` does nothing.
 
 ## Cut, copy and paste
@@ -114,11 +114,11 @@ Drag a row, or the selected rows, onto a folder. The folder under the pointer is
 - The menu greys out **Cut** and **Copy** for a folder. Ctrl+C on a folder still puts its path on the clipboard.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A file that you cut and paste onto the `Resources` folder itself, or onto `Packages`, is deleted. The IDE shows the notification *cannot create files inside the root resources folder*, which does not say so. The file is gone from the whole tree, and the next save writes the project without it. Do not cut a file into either folder. If a file went, close the project with **Discard Changes** before you save, and the saved project still has it.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Pasting a file with no extension into a folder whose own name contains a period, such as `v1.2`, creates nothing and gives no message, when a file of that name is in the folder already. The IDE takes the file's extension from the last period of the whole path.
 
 ## Export a file
@@ -163,15 +163,15 @@ With the option off, the rows are deleted at once.
 Some folders cannot be deleted. For `Sources`, `References`, `Miscellaneous`, `ImportedTypeLibraries` and the compiler packages under `Packages`, the box is shown, but nothing is deleted and no message follows.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A file with unsaved changes in an open tab is deleted without a word about the changes. The box is the plain one, the tab closes, and the changes go with the file. A folder that holds such a file is the same. Look for the dot on a tab before you delete its file. The saved copy stays in the `.twinproj` file until the next save, so closing the project with **Discard Changes** brings the file back.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Deleting the project's own row, the top row of the tree, deletes every file in the project. The box reads like a file's: *Are you sure you want to delete* the project's path. After you confirm, the tree is empty, and the only message is an *IDE internal error* line in the Debug Console. The next Ctrl+S prints the green `[DONE]` line and writes a project with no files over the project file. Never delete the top row. If you did, do not save: close the project with **Discard Changes** and open it again.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Delete with nothing selected shows the box **Are you sure you want to delete the selected items?**, and deletes nothing. Choose **Cancel**. Deleting an entry under `References` removes its row from the tree, but not the reference: it stays in the project's settings. Remove a reference in [Project Settings](References-and-Packages#the-enabled-libraries-list).
 
 ## See Also
diff --git a/docs/IDE/Projects/Images/Export_Console.light.png b/docs/IDE/Projects/Images/Export_Console.light.png
index d97585335..47bebdd2d 100644
Binary files a/docs/IDE/Projects/Images/Export_Console.light.png and b/docs/IDE/Projects/Images/Export_Console.light.png differ
diff --git a/docs/IDE/Projects/Images/Export_Console.light.svg b/docs/IDE/Projects/Images/Export_Console.light.svg
index 462984d2b..dd5ba8181 100644
--- a/docs/IDE/Projects/Images/Export_Console.light.svg
+++ b/docs/IDE/Projects/Images/Export_Console.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[EXPORT] exporting current project to "\\?\C:\tbshots\Export\"...16:41:58.204[EXPORT] COMPLETED (68 folders, 479 files)
+DEBUG CONSOLE>16:41:58.204[EXPORT] exporting current project to "\\?\C:\tbshots\Export\"...16:41:58.204[EXPORT] COMPLETED (68 folders, 479 files)
diff --git a/docs/IDE/Projects/Images/Export_Console.png b/docs/IDE/Projects/Images/Export_Console.png
index dcec18682..54a4d9285 100644
Binary files a/docs/IDE/Projects/Images/Export_Console.png and b/docs/IDE/Projects/Images/Export_Console.png differ
diff --git a/docs/IDE/Projects/Images/Export_Console.svg b/docs/IDE/Projects/Images/Export_Console.svg
index 9774d6b88..779e10396 100644
--- a/docs/IDE/Projects/Images/Export_Console.svg
+++ b/docs/IDE/Projects/Images/Export_Console.svg
@@ -1 +1 @@
-DEBUG CONSOLE>16:41:58.204[EXPORT] exporting current project to "\\?\C:\tbshots\Export\"...16:41:58.204[EXPORT] COMPLETED (68 folders, 479 files)
+DEBUG CONSOLE>16:41:58.204[EXPORT] exporting current project to "\\?\C:\tbshots\Export\"...16:41:58.204[EXPORT] COMPLETED (68 folders, 479 files)
diff --git a/docs/IDE/Projects/Images/References_Detail.light.png b/docs/IDE/Projects/Images/References_Detail.light.png
index 0874fb8a9..d0d0a935f 100644
Binary files a/docs/IDE/Projects/Images/References_Detail.light.png and b/docs/IDE/Projects/Images/References_Detail.light.png differ
diff --git a/docs/IDE/Projects/Images/References_Detail.light.svg b/docs/IDE/Projects/Images/References_Detail.light.svg
index c87087d5e..aa2320c33 100644
--- a/docs/IDE/Projects/Images/References_Detail.light.svg
+++ b/docs/IDE/Projects/Images/References_Detail.light.svg
@@ -1 +1 @@
-win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinProject SettingsLibrary ReferencesLibrary ReferencesLibrary ReferencesEnabled Libraries⠿VBA⠿VBRUN⠿VB⠿stdole⠿ScriptingSR⠿<MISSING>twinBASIC - VBA Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBAtwinBASIC - VBRUN Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBRUNtwinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN]/Packages/WindowsControlsPackageOLE Automation2.0win32: win64: Microsoft Scripting Runtime1.0win32: win64: Charts Library⚠ ERROR unable to load this reference    FIX1.0C:\Libraries\Charts.tlbproject.references1Select references that will be used during compilation of this projectAvailable COM ReferencesAvailable Packages🖉🖉🖉🖉🖉🖉Library SymbolNamein order of priorityVersionPublisherPath
+win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinProject SettingsLibrary ReferencesLibrary ReferencesLibrary ReferencesEnabled Libraries⠿VBA⠿VBRUN⠿VB⠿stdole⠿ScriptingSR⠿<MISSING>twinBASIC - VBA Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBAtwinBASIC - VBRUN Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBRUNtwinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN]/Packages/WindowsControlsPackageOLE Automation2.0win32: win64: Microsoft Scripting Runtime1.0win32: win64: Charts Library⚠ ERROR unable to load this reference    AUTO-FIX1.0C:\Libraries\Charts.tlbproject.references1Select references that will be used during compilation of this projectAvailable COM ReferencesAvailable Packages🖉🖉🖉🖉🖉🖉Library SymbolNamein order of priorityVersionPublisherPath
diff --git a/docs/IDE/Projects/Images/References_Detail.png b/docs/IDE/Projects/Images/References_Detail.png
index a35fc8a92..51c65b68b 100644
Binary files a/docs/IDE/Projects/Images/References_Detail.png and b/docs/IDE/Projects/Images/References_Detail.png differ
diff --git a/docs/IDE/Projects/Images/References_Detail.svg b/docs/IDE/Projects/Images/References_Detail.svg
index 688f71863..ba47d5b4d 100644
--- a/docs/IDE/Projects/Images/References_Detail.svg
+++ b/docs/IDE/Projects/Images/References_Detail.svg
@@ -1 +1 @@
-win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinProject SettingsLibrary ReferencesLibrary ReferencesLibrary ReferencesEnabled Libraries⠿VBA⠿VBRUN⠿VB⠿stdole⠿ScriptingSR⠿<MISSING>twinBASIC - VBA Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBAtwinBASIC - VBRUN Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBRUNtwinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN]/Packages/WindowsControlsPackageOLE Automation2.0win32: win64: Microsoft Scripting Runtime1.0win32: win64: Charts Library⚠ ERROR unable to load this reference    FIX1.0C:\Libraries\Charts.tlbproject.references1Select references that will be used during compilation of this projectAvailable COM ReferencesAvailable Packages🖉🖉🖉🖉🖉🖉Library SymbolNamein order of priorityVersionPublisherPath
+win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinProject SettingsLibrary ReferencesLibrary ReferencesLibrary ReferencesEnabled Libraries⠿VBA⠿VBRUN⠿VB⠿stdole⠿ScriptingSR⠿<MISSING>twinBASIC - VBA Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBAtwinBASIC - VBRUN Compatibility Package0.0.0.1[BUILT-IN]/Packages/VBRUNtwinBASIC - VB Compatibility Package (Forms)0.0.0.31[BUILT-IN]/Packages/WindowsControlsPackageOLE Automation2.0win32: win64: Microsoft Scripting Runtime1.0win32: win64: Charts Library⚠ ERROR unable to load this reference    AUTO-FIX1.0C:\Libraries\Charts.tlbproject.references1Select references that will be used during compilation of this projectAvailable COM ReferencesAvailable Packages🖉🖉🖉🖉🖉🖉Library SymbolNamein order of priorityVersionPublisherPath
diff --git a/docs/IDE/Projects/Images/Settings_Close.light.png b/docs/IDE/Projects/Images/Settings_Close.light.png
index 9a55af66e..10d9378d0 100644
Binary files a/docs/IDE/Projects/Images/Settings_Close.light.png and b/docs/IDE/Projects/Images/Settings_Close.light.png differ
diff --git a/docs/IDE/Projects/Images/Settings_Close.light.svg b/docs/IDE/Projects/Images/Settings_Close.light.svg
index 1d68af2cc..0cdea6868 100644
--- a/docs/IDE/Projects/Images/Settings_Close.light.svg
+++ b/docs/IDE/Projects/Images/Settings_Close.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1033MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinPROPERTIESProject SettingsApply ChangesCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingGeneralProject NameProject DescriptionApplication TitleApplication HelpFileProject ID↻Use Project ID for type library IDMyProjectA small sample project. Updated.MyProject(unset){D0C5D0C5-0000-4000-8000-00000000D0C5}NoYes(Filter)73611635644143222122This is the namespace symbol used to represent the project via code. If a type library is generated, this isthe type library nameIf a type library is generated, this is the type library description. You can include compiler variables here,such as ${Bitness}, ${Architecture}, ${VersionMajor}, ${VersionMinor}, ${VersionBuild}, ${VersionRevision}This is used for the default title caption of MsgBox and InputBox, and also is the value returned from theApp.Title propertyThis is accesible at runtime via the App.HelpFile property, and is used in the Forms runtime help system(F1 / WhatsThis)A unique GUID that represents this project.If YES, the compiler will use the project ID for the type library ID. If NO, a unique type library ID will begenerated during the build process.Default: No2 changedtwinBASICYes, closeNo, keep editingWARNING: you made changes but haven't saved them.Close without saving?
+tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinPROPERTIESAzProject SettingsApply ChangesCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingGeneralProject NameProject DescriptionApplication TitleApplication HelpFileProject ID↻Use Project ID for type library IDMyProjectA small sample project. Updated.MyProject(unset){D0C5D0C5-0000-4000-8000-00000000D0C5}NoYes(Filter)74611635654143222122This is the namespace symbol used to represent the project via code. If a type library is generated, this isthe type library nameIf a type library is generated, this is the type library description. You can include compiler variables here,such as ${Bitness}, ${Architecture}, ${VersionMajor}, ${VersionMinor}, ${VersionBuild}, ${VersionRevision}This is used for the default title caption of MsgBox and InputBox, and also is the value returned from theApp.Title propertyThis is accesible at runtime via the App.HelpFile property, and is used in the Forms runtime help system(F1 / WhatsThis)A unique GUID that represents this project.If YES, the compiler will use the project ID for the type library ID. If NO, a unique type library ID will begenerated during the build process.Default: No2 changedtwinBASICYes, closeNo, keep editingWARNING: you made changes but haven't saved them.Close without saving?
diff --git a/docs/IDE/Projects/Images/Settings_Close.png b/docs/IDE/Projects/Images/Settings_Close.png
index b1c075401..ab4c81ac4 100644
Binary files a/docs/IDE/Projects/Images/Settings_Close.png and b/docs/IDE/Projects/Images/Settings_Close.png differ
diff --git a/docs/IDE/Projects/Images/Settings_Close.svg b/docs/IDE/Projects/Images/Settings_Close.svg
index b059c9edb..5cb5d91ac 100644
--- a/docs/IDE/Projects/Images/Settings_Close.svg
+++ b/docs/IDE/Projects/Images/Settings_Close.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1033MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinPROPERTIESProject SettingsApply ChangesCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingGeneralProject NameProject DescriptionApplication TitleApplication HelpFileProject ID↻Use Project ID for type library IDMyProjectA small sample project. Updated.MyProject(unset){D0C5D0C5-0000-4000-8000-00000000D0C5}NoYes(Filter)73611635644143222122This is the namespace symbol used to represent the project via code. If a type library is generated, this isthe type library nameIf a type library is generated, this is the type library description. You can include compiler variables here,such as ${Bitness}, ${Architecture}, ${VersionMajor}, ${VersionMinor}, ${VersionBuild}, ${VersionRevision}This is used for the default title caption of MsgBox and InputBox, and also is the value returned from theApp.Title propertyThis is accesible at runtime via the App.HelpFile property, and is used in the Forms runtime help system(F1 / WhatsThis)A unique GUID that represents this project.If YES, the compiler will use the project ID for the type library ID. If NO, a unique type library ID will begenerated during the build process.Default: No2 changedtwinBASICYes, closeNo, keep editingWARNING: you made changes but haven't saved them.Close without saving?
+tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERMyProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesHelpersfrmMain.tbformfrmMain.twinLegacy.basStartup.twinPROPERTIESAzAzProject SettingsApply ChangesCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingGeneralProject NameProject DescriptionApplication TitleApplication HelpFileProject ID↻Use Project ID for type library IDMyProjectA small sample project. Updated.MyProject(unset){D0C5D0C5-0000-4000-8000-00000000D0C5}NoYes(Filter)74611635654143222122This is the namespace symbol used to represent the project via code. If a type library is generated, this isthe type library nameIf a type library is generated, this is the type library description. You can include compiler variables here,such as ${Bitness}, ${Architecture}, ${VersionMajor}, ${VersionMinor}, ${VersionBuild}, ${VersionRevision}This is used for the default title caption of MsgBox and InputBox, and also is the value returned from theApp.Title propertyThis is accesible at runtime via the App.HelpFile property, and is used in the Forms runtime help system(F1 / WhatsThis)A unique GUID that represents this project.If YES, the compiler will use the project ID for the type library ID. If NO, a unique type library ID will begenerated during the build process.Default: No2 changedtwinBASICYes, closeNo, keep editingWARNING: you made changes but haven't saved them.Close without saving?
diff --git a/docs/IDE/Projects/Images/Title_Changed.light.png b/docs/IDE/Projects/Images/Title_Changed.light.png
index 089a9ee44..56a4faaa0 100644
Binary files a/docs/IDE/Projects/Images/Title_Changed.light.png and b/docs/IDE/Projects/Images/Title_Changed.light.png differ
diff --git a/docs/IDE/Projects/Images/Title_Changed.light.svg b/docs/IDE/Projects/Images/Title_Changed.light.svg
index 0ec39f2f1..28ccf715c 100644
--- a/docs/IDE/Projects/Images/Title_Changed.light.svg
+++ b/docs/IDE/Projects/Images/Title_Changed.light.svg
@@ -1 +1 @@
-• project.twinproj - twinBASIC (twinBASIC IDE BETA 1034)
+• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)
diff --git a/docs/IDE/Projects/Images/Title_Changed.png b/docs/IDE/Projects/Images/Title_Changed.png
index 4d40051c1..f3a9079f3 100644
Binary files a/docs/IDE/Projects/Images/Title_Changed.png and b/docs/IDE/Projects/Images/Title_Changed.png differ
diff --git a/docs/IDE/Projects/Images/Title_Changed.svg b/docs/IDE/Projects/Images/Title_Changed.svg
index 4cc498a9c..4a6d481cc 100644
--- a/docs/IDE/Projects/Images/Title_Changed.svg
+++ b/docs/IDE/Projects/Images/Title_Changed.svg
@@ -1 +1 @@
-• project.twinproj - twinBASIC (twinBASIC IDE BETA 1034)
+• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)
diff --git a/docs/IDE/Projects/Project-Explorer.md b/docs/IDE/Projects/Project-Explorer.md
index bb0a3dc93..549617255 100644
--- a/docs/IDE/Projects/Project-Explorer.md
+++ b/docs/IDE/Projects/Project-Explorer.md
@@ -102,7 +102,7 @@ These keys work while the tree has the focus.
 The tree scrolls to keep the selected row in view. Page Up, Page Down, Home and End do not move the selection.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Several keys of the tree do not work as they should.
 >
 > - Space does not open or close a folder. Click the folder's plus or minus box.
@@ -150,7 +150,7 @@ The **Search** button, or the first letter you type with a row selected, opens a
 ![The Project Explorer in its object view, with the search bar open at the top right of the list and Util typed in it. Under MyProject the Modules group lists only Util, beside its file Util.twin, and the Classes and Forms groups list nothing. The VBA, VBRUN and VB packages below are drawn open, and every group shows its full count.](Images/ObjectView_Search.png){:width="267" height="478"}
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The object view has some defects.
 >
 > - A right click on a row opens no menu, so the menu's **View Object**, **View Code**, **Add**, **Rename** and **Delete** cannot be reached. To rename or delete an object's file, press Ctrl+R to return to the file view.
diff --git a/docs/IDE/Projects/References-and-Packages.md b/docs/IDE/Projects/References-and-Packages.md
index 5596195f5..f4672dceb 100644
--- a/docs/IDE/Projects/References-and-Packages.md
+++ b/docs/IDE/Projects/References-and-Packages.md
@@ -72,9 +72,11 @@ A library's *symbol* is the name its components are qualified with in code. It i
 
 ### A reference that fails
 
-A reference that the compiler cannot load shows **ERROR unable to load this reference** and a **FIX** link. About a second after the project loads, the dialog opens by itself to show it. It opened again after an **Apply Changes** that restarted the compiler. **FIX** does nothing but say that the feature is not implemented yet, and that you should remove the reference and add it again from **Available COM References**. A library listed twice shows **ERROR duplicate reference** on both rows.
+A reference that the compiler cannot load shows **ERROR unable to load this reference** and an **AUTO-FIX** link. About a second after the project loads, the dialog opens by itself to show it. It opened again after an **Apply Changes** that restarted the compiler.
 
-![The Enabled Libraries tab of Project Settings, each row with a drag handle at its left. The Microsoft Scripting Runtime row shows its two arrows at the right of its name, and its symbol Scripting is struck through with the override SR under it. The last row, Charts Library, has a yellow band reading ERROR unable to load this reference with a FIX link.](Images/References_Detail.png){:width="1202" height="446"}
+**AUTO-FIX** repairs a reference to a package, embedded or linked. If the package is in your local packages folder, the reference becomes a link to it, and the compiler restarts. If it is not, the IDE downloads the newest version of the package from TWINSERV, saves it in the local packages folder, removes any copy the project embeds, links the reference to the saved package and restarts the compiler. A package that TWINSERV does not have gives *Unable to find package on the TWINSERV package server*. For any other reference, **AUTO-FIX** only says that the feature is not implemented yet, and that you should remove the reference and add it again from **Available COM References**. A library listed twice shows **ERROR duplicate reference** on both rows.
+
+![The Enabled Libraries tab of Project Settings, each row with a drag handle at its left. The Microsoft Scripting Runtime row shows its two arrows at the right of its name, and its symbol Scripting is struck through with the override SR under it. The last row, Charts Library, has a yellow band reading ERROR unable to load this reference with an AUTO-FIX link.](Images/References_Detail.png){:width="1202" height="446"}
 
 ## Available COM References
 
@@ -113,15 +115,15 @@ The **Import from file...** button under the lists opens the Windows **Open** di
 - On **Available Packages**, it asks for a `.twinpack` file. The package is added to the **Available Packages** list. [Importing a Package from a TWINPACK File](../../../Features/Packages/Importing-TWINPACK) gives the steps.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A package imported with **Import from file...** is listed but not ticked, so the project does not use it. Tick it yourself after the import.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Import from file...** puts a copy of the package under the project's `Packages` folder. Closing the dialog with **Cancel** leaves the copy there, and the project is not marked as changed.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A type library added with **Import from file...** is drawn on the **Enabled Libraries** list as `[LINKED-PACKAGE]`, and on **Available COM References** it is listed twice, once from the project and once from the registered library, both ticked. Clearing the tick of either row removes the reference.
 
 ## Package needed
@@ -131,7 +133,7 @@ Choosing an **Add** item for a Windows form without the **WinNativeForms** packa
 The reference is listed under the package's own name, `WinNativeForms` or `CustomControlsPackage`, until the compiler has answered, and then under the name of the library, such as `twinBASIC - VB Compatibility Package (Forms)`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In a project that has a file, the button also saves the project, although the box speaks only of restarting the compiler. A project with no file yet is not saved, and restarts from memory.
 
 ## Apply Changes and closing the dialog
@@ -145,7 +147,7 @@ The foot of the dialog has, at the right, the number of settings changed, such a
 ![Project Settings on its General group, with a word added to its Project Description, and the box that its title bar's close button opened over it: WARNING: you made changes but haven't saved them. Close without saving?, with Yes, close and No, keep editing. The foot of the dialog behind it reads 2 changed, beside Apply Changes and Cancel.](Images/Settings_Close.png){:width="1202" height="838"}
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The close button of the title bar does not ask when the only change is to the references. The dialog closes, the change is dropped, and nothing says so. The code that compares the settings leaves out the compiler warnings as well. Press **Apply Changes** before you close the dialog.
 
 ## The References folder
@@ -155,7 +157,7 @@ The `References` folder of the Project Explorer has one entry for each library t
 **Cut**, **Rename** and **Delete Permanently** are greyed out on the right-click menu for these entries.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The Delete key removes a `References` entry from the tree, although its menu item is greyed out. The reference itself stays in the project. To remove a reference, untick it in the **Enabled Libraries** list.
 
 ## Where the project keeps them
diff --git a/docs/IDE/Projects/Saving-and-Exporting.md b/docs/IDE/Projects/Saving-and-Exporting.md
index b8fbfba26..2bfcc1874 100644
--- a/docs/IDE/Projects/Saving-and-Exporting.md
+++ b/docs/IDE/Projects/Saving-and-Exporting.md
@@ -51,7 +51,7 @@ If the compiler can write no file, an alert says **save project failed**, with a
 Some commands save the project besides **Save Project**: **Save Project As** saves after it chooses the path, and **Apply Changes** in [Project Settings](References-and-Packages#apply-changes-and-closing-the-dialog) saves when the compiler restarts. With the setting [Export After Save](../Project-Settings#export-after-save), a save runs **Export Project** first.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Several actions save the project although you did not ask. They are [**Import...**](Adding-Files#the-project-is-saved) of ordinary files; the **Import** and **Cancel** buttons of the **Import from twinproj...** dialog; [renaming the project](Files-and-Folders#the-project); and the button of a [Package needed](References-and-Packages#package-needed) box in a project that has a file. Importing ordinary files, **Cancel** in the import dialog and renaming the project write the unsaved changes of the open editors into the file as well.
 
 ## Save Project As
@@ -121,7 +121,7 @@ To write only some of the files, use [**Export...**](Files-and-Folders#export-a-
 With [*Export After Save*](../Project-Settings#export-after-save) set, every save runs the export again before it writes the project, into *Export Path*, and empties that folder again.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > When the `Settings` file has an *Export Path* but no `project.exportPathIsV2` entry, the project's name is joined to the path with no separator: `${SourcePath}\exp2` exports into `exp2ProjTry\` for a project named `ProjTry`.
 
 ### When a file cannot be deleted
diff --git a/docs/IDE/Reference/Keyboard-Shortcuts.md b/docs/IDE/Reference/Keyboard-Shortcuts.md
index 355b7e0ec..f994ebf10 100644
--- a/docs/IDE/Reference/Keyboard-Shortcuts.md
+++ b/docs/IDE/Reference/Keyboard-Shortcuts.md
@@ -64,7 +64,8 @@ A command with no default key runs from a menu, a button or another command. Any
 | tbDebug_StepOut | Ctrl+Shift+F8, Shift+F11 | At a breakpoint, runs on until the current procedure ends and stops in its caller. |
 | tbDebug_StepOver | Shift+F8, F10 | At a breakpoint, runs the current statement and stops at the next, without entering any procedure it calls. |
 | tbDebug_Stop |  | Ends the running program. |
-| tbDebug_ToggleBreakOnAllErrors |  | Turns the project's Break On All Errors setting on or off. |
+| tbDebug_ToggleBreakOnAllErrors |  | Turns the project's Break On All Errors (this project) setting on or off. |
+| tbDebug_ToggleBreakOnAllErrorsInPackages |  | Turns the project's Break On All Errors (inside packages) setting on or off. |
 | tbDebug_ToggleBreakpoint | F9 | Sets a breakpoint on the cursor's line, or removes the one that is there. |
 | tbDebug_ToggleDebuggable |  | Turns the project's Allow Breakpoints (Debuggable) setting on or off. |
 
@@ -87,6 +88,7 @@ A command with no default key runs from a menu, a button or another command. Any
 | tbDebugConsole_ToggleAutoScroll |  | Turns the Debug Console's Auto Scroll on or off. |
 | tbDebugConsole_ToggleInvertOutputDirection |  | Turns the Debug Console's Invert Output Direction option on or off. |
 | tbDebugConsole_ToggleShowTimestamps |  | Turns the Debug Console's Show Timestamps option on or off. |
+| tbDebugConsole_ToggleSmoothScrolling |  | Turns the Debug Console's Smoother Scrolling option on or off. |
 | tbDebugConsole_TurnAutoScrollOff |  | Turns the Debug Console's Auto Scroll off. |
 | tbDebugConsole_TurnAutoScrollOn |  | Turns the Debug Console's Auto Scroll on. |
 | tbDebugConsole_TurnInvertOutputDirectionOff |  | Turns the Debug Console's Invert Output Direction option off. |
@@ -650,6 +652,7 @@ A command with no default key runs from a menu, a button or another command. Any
 | tbProperties_HidePanel | Closes the Properties panel. |
 | tbProperties_Search | Opens the search box of the Properties panel, or moves the focus to it. |
 | tbProperties_ShowPanel | Shows the Properties panel. |
+| tbProperties_ToggleAlphabeticSort | Turns the alphabetic sort order of the Properties panel on or off. |
 
 ## `tbTheme_`
 
diff --git a/docs/IDE/Reports/index.md b/docs/IDE/Reports/index.md
index ff756d95b..3cc03a80b 100644
--- a/docs/IDE/Reports/index.md
+++ b/docs/IDE/Reports/index.md
@@ -66,7 +66,7 @@ A report holds windowless controls only. Its Toolbox lists seven tools: **Pointe
 A control belongs to the section where you draw it. A double-click on a tool places the control in the current section, and a control that you paste goes into the section that is shown. Drawing or pasting any other control gives the notification *Can't add* the control's type *to a report. Only windowless controls allowed.*, and adds nothing.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A floating Toolbox lists all 24 controls and **More components** when a report is open. A control that a report does not allow is refused when you use it, so nothing is lost. Dock the Toolbox, or use only the seven tools above.
 
 A report has no **Form Menu** bar and no control arrays, and its controls have no **Index** property. The other designer features work: selection, moving and sizing, the grid, copy and paste, locks, undo, zoom, the right-click menu and the [Format](../Forms/Arranging) commands.
diff --git a/docs/IDE/Starting/Images/First_Run_Options.light.png b/docs/IDE/Starting/Images/First_Run_Options.light.png
index 407dd1e50..db8bb24b5 100644
Binary files a/docs/IDE/Starting/Images/First_Run_Options.light.png and b/docs/IDE/Starting/Images/First_Run_Options.light.png differ
diff --git a/docs/IDE/Starting/Images/First_Run_Options.light.svg b/docs/IDE/Starting/Images/First_Run_Options.light.svg
index 88069b4ab..20019aec7 100644
--- a/docs/IDE/Starting/Images/First_Run_Options.light.svg
+++ b/docs/IDE/Starting/Images/First_Run_Options.light.svg
@@ -1 +1 @@
-twinBASIC IDE OptionsSave ChangesAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE Font<font list unavailable: load a project first>Show real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor Font<font list unavailable: load a project first>Use Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceLight13pxNoYesNoYes413pxNoYesabovenone(Filter)3251032534The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causewhitespace to be rendered as faint dots in the code editor.
+twinBASIC IDE OptionsSave ChangesAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE Font<font list unavailable: load a project first>Show real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor Font<font list unavailable: load a project first>Use Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceLight13pxNoYesNoYes▲▼413pxNoYesabovenone(Filter)3351032535The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causewhitespace to be rendered as faint dots in the code editor.
diff --git a/docs/IDE/Starting/Images/First_Run_Options.png b/docs/IDE/Starting/Images/First_Run_Options.png
index 720ee3f23..c707aa35b 100644
Binary files a/docs/IDE/Starting/Images/First_Run_Options.png and b/docs/IDE/Starting/Images/First_Run_Options.png differ
diff --git a/docs/IDE/Starting/Images/First_Run_Options.svg b/docs/IDE/Starting/Images/First_Run_Options.svg
index 56d430d79..7295ab413 100644
--- a/docs/IDE/Starting/Images/First_Run_Options.svg
+++ b/docs/IDE/Starting/Images/First_Run_Options.svg
@@ -1 +1 @@
-twinBASIC IDE OptionsSave ChangesAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE Font<font list unavailable: load a project first>Show real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor Font<font list unavailable: load a project first>Use Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceDark13pxNoYesNoYes413pxNoYesabovenone(Filter)3251032534The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causewhitespace to be rendered as faint dots in the code editor.
+twinBASIC IDE OptionsSave ChangesAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralAppearanceColour ThemeIDE Font SizeIDE Font<font list unavailable: load a project first>Show real OS titlebarSingle row of code panel tabsCode EditorTAB Spaces AmountCode Editor Font SizeCode Editor Font<font list unavailable: load a project first>Use Font LigaturesShow Code Editor Combo SelectorsRender WhitespaceDark13pxNoYesNoYes▲▼413pxNoYesabovenone(Filter)3351032535The general IDE font size. NOTE: this is *not* the font size used for the code editor.The general IDE font name. NOTE: this is *not* the font name used for the code editor.By default, the IDE uses a simulated titlebar so that it can collapse the Menu bar intothe titlebar area of the IDE, giving more usable vertical space in the IDE. Set to YES touse a real OS titlebar instead.Controls whether IDE code pane tabs display on a single line with scrolling, or splitover multiple lines.The number of space characters that each TAB key inserts.The code editor font size.The code editor font name. A monospace font is usually preferred, such as CourierNew.With font ligatures ON, operators such as >= might render as ≥, dependant on fontsupport. Fonts such as Cascadia Code support this feature.The combo selectors give you drop down lists of components and procedures,allowing you to quickly jump to them. Usually shown ABOVE the code editor.By default whitespace is not rendered in the code editor. Change this option to causewhitespace to be rendered as faint dots in the code editor.
diff --git a/docs/IDE/Starting/Images/Import_Log.light.png b/docs/IDE/Starting/Images/Import_Log.light.png
index 084ea5456..a7c1600cd 100644
Binary files a/docs/IDE/Starting/Images/Import_Log.light.png and b/docs/IDE/Starting/Images/Import_Log.light.png differ
diff --git a/docs/IDE/Starting/Images/Import_Log.light.svg b/docs/IDE/Starting/Images/Import_Log.light.svg
index 63ec606c2..7c9b141c3 100644
--- a/docs/IDE/Starting/Images/Import_Log.light.svg
+++ b/docs/IDE/Starting/Images/Import_Log.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• Unsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWTOOLBOXEDITOR 1MD: '__IMPORT_LOG.md':Import VBP fileStarted: 02-11-26 09:30:00File: C:\tbshots\starting-new\Ledger\Ledger.vbpActions takenVBP line #1   set project.buildType to 'Standard EXE'VBP line #2   added project.reference 'OLE Automation'VBP line #4   imported module 'Module1.bas'VBP line #5   imported class 'Class1.cls'VBP line #6   set project.startupObject to 'Form1'VBP line #7   set project.iconForm to 'Form1'VBP line #8   set project.buildPath to '${SourcePath}\Ledger.exe'VBP line #9   set project.name to 'Ledger'VBP line #3   imported form 'Form1.frm'IMPORT FINISHED WITH 0 ERRORS/WARNINGSPlease check the DIAGNOSTICS PANEL for any potential compilation errors. You can delete this log file.DEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERLedgerImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSources__IMPORT_LOG.mdClass1.clsForm1.frm.tbformForm1.frm.twinModule1.basPROPERTIES
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• Unsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWTOOLBOXEDITOR 1MD: '__IMPORT_LOG.md':Import VBP fileStarted: 02-11-26 09:30:00File: C:\tbshots\starting-new\Ledger\Ledger.vbpActions takenVBP line #1   set project.buildType to 'Standard EXE'VBP line #2   added project.reference 'OLE Automation'VBP line #4   imported module 'Module1.bas'VBP line #5   imported class 'Class1.cls'VBP line #6   set project.startupObject to 'Form1'VBP line #7   set project.iconForm to 'Form1'VBP line #8   set project.buildPath to '${SourcePath}\Ledger.exe'VBP line #9   set project.name to 'Ledger'VBP line #3   imported form 'Form1.frm'IMPORT FINISHED WITH 0 ERRORS/WARNINGSPlease check the DIAGNOSTICS PANEL for any potential compilation errors. You can delete this log file.DEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERLedgerImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSources__IMPORT_LOG.mdClass1.clsForm1.frm.tbformForm1.frm.twinModule1.basPROPERTIESAz
diff --git a/docs/IDE/Starting/Images/Import_Log.png b/docs/IDE/Starting/Images/Import_Log.png
index 681754894..cc836b9d6 100644
Binary files a/docs/IDE/Starting/Images/Import_Log.png and b/docs/IDE/Starting/Images/Import_Log.png differ
diff --git a/docs/IDE/Starting/Images/Import_Log.svg b/docs/IDE/Starting/Images/Import_Log.svg
index 118916501..f6da095fb 100644
--- a/docs/IDE/Starting/Images/Import_Log.svg
+++ b/docs/IDE/Starting/Images/Import_Log.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• Unsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWTOOLBOXEDITOR 1MD: '__IMPORT_LOG.md':Import VBP fileStarted: 02-11-26 09:30:00File: C:\tbshots\starting-new\Ledger\Ledger.vbpActions takenVBP line #1   set project.buildType to 'Standard EXE'VBP line #2   added project.reference 'OLE Automation'VBP line #4   imported module 'Module1.bas'VBP line #5   imported class 'Class1.cls'VBP line #6   set project.startupObject to 'Form1'VBP line #7   set project.iconForm to 'Form1'VBP line #8   set project.buildPath to '${SourcePath}\Ledger.exe'VBP line #9   set project.name to 'Ledger'VBP line #3   imported form 'Form1.frm'IMPORT FINISHED WITH 0 ERRORS/WARNINGSPlease check the DIAGNOSTICS PANEL for any potential compilation errors. You can delete this log file.DEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERLedgerImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSources__IMPORT_LOG.mdClass1.clsForm1.frm.tbformForm1.frm.twinModule1.basPROPERTIES
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• Unsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWTOOLBOXEDITOR 1MD: '__IMPORT_LOG.md':Import VBP fileStarted: 02-11-26 09:30:00File: C:\tbshots\starting-new\Ledger\Ledger.vbpActions takenVBP line #1   set project.buildType to 'Standard EXE'VBP line #2   added project.reference 'OLE Automation'VBP line #4   imported module 'Module1.bas'VBP line #5   imported class 'Class1.cls'VBP line #6   set project.startupObject to 'Form1'VBP line #7   set project.iconForm to 'Form1'VBP line #8   set project.buildPath to '${SourcePath}\Ledger.exe'VBP line #9   set project.name to 'Ledger'VBP line #3   imported form 'Form1.frm'IMPORT FINISHED WITH 0 ERRORS/WARNINGSPlease check the DIAGNOSTICS PANEL for any potential compilation errors. You can delete this log file.DEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERLedgerImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSources__IMPORT_LOG.mdClass1.clsForm1.frm.tbformForm1.frm.twinModule1.basPROPERTIESAzAz
diff --git a/docs/IDE/Starting/Images/New_Standard_EXE.light.png b/docs/IDE/Starting/Images/New_Standard_EXE.light.png
index 1a66abb5b..633467e6a 100644
Binary files a/docs/IDE/Starting/Images/New_Standard_EXE.light.png and b/docs/IDE/Starting/Images/New_Standard_EXE.light.png differ
diff --git a/docs/IDE/Starting/Images/New_Standard_EXE.light.svg b/docs/IDE/Starting/Images/New_Standard_EXE.light.svg
index 834e07141..f5fde65e1 100644
--- a/docs/IDE/Starting/Images/New_Standard_EXE.light.svg
+++ b/docs/IDE/Starting/Images/New_Standard_EXE.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpUnsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1Form1.twinForm1.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERNewProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesForm1.tbformForm1.twinPROPERTIESPROPERTIESEVENTSDESIGNAPPEARANCENameForm1FormDesignerId{D0C5D0C5-3DAD-4000-8000-00000000D0C5}MDIChildFalseCaptionForm1Appearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize8FontBoldFalseForm1    Form+ menu300 x 300
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpUnsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1Form1.twinForm1.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERNewProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesForm1.tbformForm1.twinPROPERTIESAzPROPERTIESEVENTSDESIGNAPPEARANCENameForm1FormDesignerId{D0C5D0C5-3DAD-4000-8000-00000000D0C5}MDIChildFalseCaptionForm1Appearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize8FontBoldFalseForm1    Form+ menu300 x 300
diff --git a/docs/IDE/Starting/Images/New_Standard_EXE.png b/docs/IDE/Starting/Images/New_Standard_EXE.png
index 6f681648a..92b5fbe62 100644
Binary files a/docs/IDE/Starting/Images/New_Standard_EXE.png and b/docs/IDE/Starting/Images/New_Standard_EXE.png differ
diff --git a/docs/IDE/Starting/Images/New_Standard_EXE.svg b/docs/IDE/Starting/Images/New_Standard_EXE.svg
index 16c659d4e..378f8fec4 100644
--- a/docs/IDE/Starting/Images/New_Standard_EXE.svg
+++ b/docs/IDE/Starting/Images/New_Standard_EXE.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpUnsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1Form1.twinForm1.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERNewProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesForm1.tbformForm1.twinPROPERTIESPROPERTIESEVENTSDESIGNAPPEARANCENameForm1FormDesignerId{D0C5D0C5-3DAD-4000-8000-00000000D0C5}MDIChildFalseCaptionForm1Appearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize8FontBoldFalseForm1    Form+ menu300 x 300
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpUnsaved.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWTOOLBOXCOMMONCONTROLSMorecomponents...EDITOR 1Form1.twinForm1.tbformDEBUG CONSOLE>DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042 LAAMAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERNewProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesForm1.tbformForm1.twinPROPERTIESAzAzPROPERTIESEVENTSDESIGNAPPEARANCENameForm1FormDesignerId{D0C5D0C5-3DAD-4000-8000-00000000D0C5}MDIChildFalseCaptionForm1Appearance1 - vbAppear3dBorderStyle2 - vbSizableBackColor&H(BGR)8000000FForeColor&H(BGR)000000FontNameSegoe UIFontSize8FontBoldFalseForm1    Form+ menu300 x 300
diff --git a/docs/IDE/Starting/Images/Recent_VB6.light.png b/docs/IDE/Starting/Images/Recent_VB6.light.png
index ba7dc4ea9..123483666 100644
Binary files a/docs/IDE/Starting/Images/Recent_VB6.light.png and b/docs/IDE/Starting/Images/Recent_VB6.light.png differ
diff --git a/docs/IDE/Starting/Images/Recent_VB6.light.svg b/docs/IDE/Starting/Images/Recent_VB6.light.svg
index 95161cf69..bc3be6d65 100644
--- a/docs/IDE/Starting/Images/Recent_VB6.light.svg
+++ b/docs/IDE/Starting/Images/Recent_VB6.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentRecent (VB6)C:\Old\Thing.vbpC:\Old\Other.VBPSearch projects, samples, recent...BETA 103482602Double-click an item or press Enterto open it.VB6 project files (VBP) you opened recently.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentRecent (VB6)C:\Old\Thing.vbpC:\Old\Other.VBPSearch projects, samples, recent...BETA 104282602Double-click an item or press Enterto open it.VB6 project files (VBP) you opened recently.
diff --git a/docs/IDE/Starting/Images/Recent_VB6.png b/docs/IDE/Starting/Images/Recent_VB6.png
index a7f77f917..fda67a09f 100644
Binary files a/docs/IDE/Starting/Images/Recent_VB6.png and b/docs/IDE/Starting/Images/Recent_VB6.png differ
diff --git a/docs/IDE/Starting/Images/Recent_VB6.svg b/docs/IDE/Starting/Images/Recent_VB6.svg
index 0dff013c1..3d32ecbc3 100644
--- a/docs/IDE/Starting/Images/Recent_VB6.svg
+++ b/docs/IDE/Starting/Images/Recent_VB6.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentRecent (VB6)C:\Old\Thing.vbpC:\Old\Other.VBPSearch projects, samples, recent...BETA 103482602Double-click an item or press Enterto open it.VB6 project files (VBP) you opened recently.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentRecent (VB6)C:\Old\Thing.vbpC:\Old\Other.VBPSearch projects, samples, recent...BETA 104282602Double-click an item or press Enterto open it.VB6 project files (VBP) you opened recently.
diff --git a/docs/IDE/Starting/Images/Search_Results.light.png b/docs/IDE/Starting/Images/Search_Results.light.png
index 1aa744f68..6f0afedea 100644
Binary files a/docs/IDE/Starting/Images/Search_Results.light.png and b/docs/IDE/Starting/Images/Search_Results.light.png differ
diff --git a/docs/IDE/Starting/Images/Search_Results.light.svg b/docs/IDE/Starting/Images/Search_Results.light.svg
index d9f79265b..be1d26aa4 100644
--- a/docs/IDE/Starting/Images/Search_Results.light.svg
+++ b/docs/IDE/Starting/Images/Search_Results.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEStandard DLLStandard EXE (+VBCCR)Standard EXEstandardBETA 10348260Double-click an item or press Enterto open it.NEW$\_Standard EXE(non-ActiveX)$\_Standard DLL#(non-ActiveX)(experimental)$\_Standard EXE (+VBCCR)#(experimental)(Console App)$\_Standard EXE#(Console App)
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEStandard DLLStandard EXE (+VBCCR)Standard EXEstandardBETA 10428260Double-click an item or press Enterto open it.NEW$\_Standard EXE(non-ActiveX)$\_Standard DLL#(non-ActiveX)(experimental)$\_Standard EXE (+VBCCR)#(experimental)(Console App)$\_Standard EXE#(Console App)
diff --git a/docs/IDE/Starting/Images/Search_Results.png b/docs/IDE/Starting/Images/Search_Results.png
index 2ca73fa51..592277f66 100644
Binary files a/docs/IDE/Starting/Images/Search_Results.png and b/docs/IDE/Starting/Images/Search_Results.png differ
diff --git a/docs/IDE/Starting/Images/Search_Results.svg b/docs/IDE/Starting/Images/Search_Results.svg
index d58b619e9..da54cb9c3 100644
--- a/docs/IDE/Starting/Images/Search_Results.svg
+++ b/docs/IDE/Starting/Images/Search_Results.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEStandard DLLStandard EXE (+VBCCR)Standard EXEstandardBETA 10348260Double-click an item or press Enterto open it.NEW$\_Standard EXE(non-ActiveX)$\_Standard DLL#(non-ActiveX)(experimental)$\_Standard EXE (+VBCCR)#(experimental)(Console App)$\_Standard EXE#(Console App)
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEStandard DLLStandard EXE (+VBCCR)Standard EXEstandardBETA 10428260Double-click an item or press Enterto open it.NEW$\_Standard EXE(non-ActiveX)$\_Standard DLL#(non-ActiveX)(experimental)$\_Standard EXE (+VBCCR)#(experimental)(Console App)$\_Standard EXE#(Console App)
diff --git a/docs/IDE/Starting/Images/Title_Unsaved.light.png b/docs/IDE/Starting/Images/Title_Unsaved.light.png
index 37db75a08..1e6b521dd 100644
Binary files a/docs/IDE/Starting/Images/Title_Unsaved.light.png and b/docs/IDE/Starting/Images/Title_Unsaved.light.png differ
diff --git a/docs/IDE/Starting/Images/Title_Unsaved.light.svg b/docs/IDE/Starting/Images/Title_Unsaved.light.svg
index db1322ebe..16fae3568 100644
--- a/docs/IDE/Starting/Images/Title_Unsaved.light.svg
+++ b/docs/IDE/Starting/Images/Title_Unsaved.light.svg
@@ -1 +1 @@
-FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32
+FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32
diff --git a/docs/IDE/Starting/Images/Title_Unsaved.png b/docs/IDE/Starting/Images/Title_Unsaved.png
index 3adbb6274..418490c3d 100644
Binary files a/docs/IDE/Starting/Images/Title_Unsaved.png and b/docs/IDE/Starting/Images/Title_Unsaved.png differ
diff --git a/docs/IDE/Starting/Images/Title_Unsaved.svg b/docs/IDE/Starting/Images/Title_Unsaved.svg
index e241fd0a7..ac593b64d 100644
--- a/docs/IDE/Starting/Images/Title_Unsaved.svg
+++ b/docs/IDE/Starting/Images/Title_Unsaved.svg
@@ -1 +1 @@
-FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32
+FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32
diff --git a/docs/IDE/Starting/Importing-VB6.md b/docs/IDE/Starting/Importing-VB6.md
index 026904cf7..fddd097cc 100644
--- a/docs/IDE/Starting/Importing-VB6.md
+++ b/docs/IDE/Starting/Importing-VB6.md
@@ -83,7 +83,7 @@ How the `Attribute` lines are kept, and which of them have an effect in a built
 A `.res` file named by `ResFile32=` is imported as the project's resources, and the log says *imported resource file*. Its manifest becomes `Resources\MANIFEST\#1.xml`. A string table becomes `Resources\STRING\Strings.json`. A resource of a numeric type keeps its type and its id: `RT_RCDATA` with id 201 is `Resources\RCDATA\#201`, and a name stays a name. The [FAQ](../../../FAQ#resources) lists the resource folders.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A resource whose type is a name, such as `CUSTOM` or `MYDATA`, is imported with an empty name. The folder `Resources\` holds one blank row, however many resources of that type the `.res` file holds, and the log still reports `0 ERRORS/WARNINGS`. A saved project keeps the bytes of each resource under an empty name, and the IDE shows the row as empty. A build then ends with `NATIVE EXCEPTION: ACCESS_VIOLATION` and makes no executable. Resources whose type is a number are right, `RT_RCDATA` included. Take the resources of a named type out of the `.res` file before the import, and add them to the project afterwards, as [Resources](../Projects/Adding-Files#resources) describes.
 
 ## What the importer leaves
diff --git a/docs/IDE/Starting/New-Project.md b/docs/IDE/Starting/New-Project.md
index a49e75c90..03a020273 100644
--- a/docs/IDE/Starting/New-Project.md
+++ b/docs/IDE/Starting/New-Project.md
@@ -74,11 +74,11 @@ The search box looks in every section at once. A word matches an item when it is
 - With a card focused, Tab, Left and Right do not move the focus. They move a highlight through **Browse...**, **Open** and **Cancel**.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Up and Down do nothing while the search box has the focus, which it has when the dialog opens, and no key reaches the sections of the rail. In **Recent**, the search box is the only element that can take the focus: Tab moves it to the page behind the dialog, a second Tab to a panel behind that, and then Esc, Enter and the arrow keys do nothing until you click. To use the arrow keys in **New** or **Samples**, press Tab once, or click blank space in the dialog. Choose a section with the mouse, and in **Recent** double-click the row.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > After Tab has moved the highlight to a button, Enter presses that button and also opens the selected item. **Open** opens the item twice. **Browse...** opens the Windows box and the item. **Cancel** closes the dialog and then opens the selected item: a saved project with no unsaved change is closed with no question, and **New Project Options** opens for the selected card. Enter on a card that has the focus opens the selected card, not the focused one. Select the card you want with a click or the arrow keys, and press the buttons with the mouse. To cancel from the keyboard, press Esc.
 
 ## What each template makes
@@ -126,7 +126,7 @@ Choosing a template, a sample or an imported `.vbp` opens a small box, **twinBAS
 The **Project Name** box takes letters, digits and the underscore, and ignores every other key you type. A leading underscore is removed.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The box filters the keys you type, not its text. A name that you paste keeps its spaces, dots and other characters, and becomes the project's name, its description and its application title. With `My Project.x` pasted, the project's root folder has that name, and the build writes `Build\My Project.x_win32.exe`. Type the name, or paste only letters, digits and underscores.
 
 A few more things about the rows:
@@ -140,7 +140,7 @@ A few more things about the rows:
 **Cancel** closes the box, the progress indicator and the project. Nothing is opened, and the IDE is left with no project, because the one that was open was closed before the box appeared.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > After **Cancel** in this box for an imported `.vbp`, the next template or sample shows the box with an import's rows: **Unicode Common Control Notifications** is there, and **Include Common Controls** is not. **Continue** then makes a project with no reference to WinNativeCommonCtls, with [*Unicode Control Notifications*](../Project-Settings#unicode-control-notifications) on, and with the description and the application title left as they were, `New project` for a template, in place of the project's name. The box is right again after that **Continue**, and in a new IDE. Cancelling the Windows picker of **Import from VBP...** does not do this. In a project made this way, add the package under [Available Packages](../Projects/References-and-Packages#available-packages), and set the [*Project Description*](../Project-Settings#project-description) and the [*Application Title*](../Project-Settings#application-title).
 
 ![The box for a .vbp import: the project's name from the .vbp, DPI Awareness set to NONE, the row for Unicode notifications, and no row for the common controls.](Images/Options_VBP.png){:width="529" height="279"}
@@ -207,7 +207,7 @@ The project opens with no `.twinproj` file behind it: it is unsaved, and marked
 If the folder holds the compiler packages under `Packages`, as an export by the IDE does, delete their folders first: imported with them, the project gets a copy of them that the compiler does not use. See [Packing the export back into a project](../Projects/Saving-and-Exporting#packing-the-export-back-into-a-project). [Keeping a project in Git from the IDE](../../../Features/Packages/Import-Export-Tool#keeping-a-project-in-git-from-the-ide) uses this command to open a fresh clone.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Import from VBP...** and **Import from folder...** close the open project before the Windows picker opens. If you cancel the picker, the IDE is left with no project and no dialog. The project's file is as it was, and its path is in **Recent**. A project with unsaved changes is asked about first, and **Cancel** in that question keeps the project. **File → Open Project...** and **Browse...** close the project only after you have chosen a file, so cancelling them loses nothing. Open a `.vbp` with **File → Open Project...**, which imports it as the card does. For a folder there is no such command: save the project first, and open it again from **Recent** if you cancel.
 
 ## See Also
diff --git a/docs/IDE/Starting/Opening-Projects.md b/docs/IDE/Starting/Opening-Projects.md
index 911535ac6..0bc701273 100644
--- a/docs/IDE/Starting/Opening-Projects.md
+++ b/docs/IDE/Starting/Opening-Projects.md
@@ -79,7 +79,7 @@ The IDE starts a compiler with DEP off and the large-address flag on. A project
 A project from the **Standard EXE** template sets neither flag, so a saved default project opened first in an IDE loads twice. A new project made from a card does not: **Continue** turns *Large Address Aware* on, which matches.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > After the IDE has loaded a project twice for its flags, and you have then pressed **Continue** in **New Project Options**, the next project you open can take the whole *Settings* of the project before it, with no message. Its sources stay its own. This happens to a saved `.twinproj`, to a `.vbp` opened from **Recent (VB6)**, and to **Import from folder...**, but not to a `.vbp` chosen through the **Import from VBP...** card.
 >
 > For example, open a saved project with *Large Address Aware* off, import any `.vbp` with **Import from VBP...** and press **Continue**, then open another project and choose **Discard Changes** for the import. A template does the same in place of the import, if you first open a saved project with *Large Address Aware* on.
@@ -87,7 +87,7 @@ A project from the **Standard EXE** template sets neither flag, so a saved defau
 > The opened project is not marked as changed, and the title bar shows its own file name, but the top of the Project Explorer tree shows the earlier project's name. **File → Save Project** (Ctrl+S) then writes the earlier project's name, application title, project ID, startup object, build path and references into the file, and the file's own settings are lost. If the top of the tree shows a name that is not your project's, do not save: close the project without saving, which leaves the file as it was, and open it again.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In an IDE that has not yet loaded a project twice, a saved project with *Large Address Aware* off fails to open if it is the first project opened after a **Continue** in **New Project Options** and a **File → Close Project**. The box reads *Failed to load the project (error code MISMATCHED LAA OR DEP AWARENESS)*. The file is not changed. Choose **Keep It**, and open the project again: the second open works.
 
 ## What the IDE remembers of a project
@@ -130,11 +130,11 @@ The project then opens with what the compiler could read. It is not marked as ch
 - **With the `Settings` entry read**, the project keeps its own name and settings, even when its sources are gone.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A project that opens after the *bad file format* box is not marked as changed, and the next save writes only what was recovered over the damaged file, with no question and no backup. **File → Save Project** (Ctrl+S), **Project → Add → Import...** and **Apply Changes** in Project Settings, when the change restarts the compiler, all save it. Save a damaged project only with **File → Save Project As...** under a new name: the new file holds what was recovered, and the damaged file stays as it was. Closing without saving leaves it as it was too. Copy the damaged file before you open it.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A `.twinproj` file damaged inside its `Settings` entry shows the *bad file format* box again after every **OK**, without end. The IDE's window stays on *Please wait...*, with no project and no close box, and the file is not changed. End the IDE, for example in the Task Manager, and restore the file from a copy.
 
 ## See Also
diff --git a/docs/IDE/Troubleshooting/Compiler-Services.md b/docs/IDE/Troubleshooting/Compiler-Services.md
index 654abaa10..1cac4447e 100644
--- a/docs/IDE/Troubleshooting/Compiler-Services.md
+++ b/docs/IDE/Troubleshooting/Compiler-Services.md
@@ -112,7 +112,7 @@ The IDE replays everything you did in this session into the new compiler, so the
 | The add-ins' toolbar buttons, menu items and key bindings | The IDE removes them and loads the add-ins again when the project has loaded. A docked add-in window stays where it is and reads **(currently unavailable)** until its add-in fills it again. A detached window gets a message to close. The add-in's own `Class_Terminate` does not run. |
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Each restart reverses the order of the project's files inside the compiler, and so does each switch of the build configuration box. **Save** writes that order into the project's file. The code of a built executable follows it, so two builds of an unchanged project can place their code differently. A second restart puts the order back. To compare two builds, make them with no restart, switch or save between them.
 
 A restart of a project with a linked package whose file is gone behaves differently; see [A linked package's missing file](#a-linked-packages-missing-file).
@@ -158,7 +158,7 @@ It has one **OK** button and does not close by itself. Another dialog that opens
 To leave Safe Mode, choose **win32** or **win64** in the build configuration box. That restarts the compiler, and the counters come back when the project has compiled again. The choice of **safeMode** is not remembered for the project. [Build configuration](../Building/Build-Configuration#safe-mode) describes the box.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Start** in Safe Mode never runs the program and never ends. The console prints `Executing 'Main'...` and `WARNING: execution delayed; waiting for background compilation to finish`, then nothing more; the IDE stays in the running state and **Stop** does nothing. Restart the compiler, or choose **win32** or **win64** in the build configuration box, to end it. To run the program, leave Safe Mode first.
 
 ![The left end of the toolbar with the build configuration box on safeMode, above the left end of the status bar with the services badge on OPERATIONAL.](Images/Safe_Mode_Bar.png){:width="474" height="70"}
@@ -188,7 +188,7 @@ A project can reference a [linked package](../../../Features/Packages/Linked), a
 **Restart the compiler** with the file gone shows a native Windows box about a second after you press the button. It is titled **shutdown** and reads `Run-time error '-2147467259'` and `Unspecified error`, with one **OK**. Behind it the badge reads LIMITED, and **Please wait...** reads 5.0%.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The box that a restart shows when a linked package's file is missing names neither the package nor the file, and the restart takes about 80 seconds after **OK**. If you leave the box open, the badge reads UNAVAILABLE after about 80 seconds and **Please wait...** stays at 0.0%. Choose **OK** and wait: the compiler comes back with the project loaded and your unsaved edits kept. Put the package's file back, or remove the reference, before the next restart.
 
 While you wait, you can still get at the text of the editors: close the IDE's window, which removes **Please wait...**, and choose **Cancel** in the question about the unsaved changes. The IDE is usable again and you can copy the text out. Saving does not work in that state; the time-out boxes above come after 10 and 20 seconds, and the file is not changed.
@@ -199,7 +199,7 @@ While you wait, you can still get at the text of the editors: close the IDE's wi
 If the IDE starts a compiler and cannot connect to it, the **COMPILER** line of the badge's tooltip reads **Error occured**, and the badge reads UNAVAILABLE.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A compiler whose **COMPILER** connection cannot be made is started again every 5 seconds, and each start writes `restarting from FILE` to the console. The crash loop never counts these restarts, so the IDE does not switch to Safe Mode and does not say anything. Close the IDE's window and start it again. If the project does not load the second time either, report the problem.
 
 ## See Also
diff --git a/docs/IDE/Troubleshooting/Diagnostic-Tools.md b/docs/IDE/Troubleshooting/Diagnostic-Tools.md
index e96753fea..d2b7a1c1c 100644
--- a/docs/IDE/Troubleshooting/Diagnostic-Tools.md
+++ b/docs/IDE/Troubleshooting/Diagnostic-Tools.md
@@ -77,7 +77,7 @@ The first native exception of a session switches the mode on by itself. The cons
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > After a native exception turns TRACE mode on by itself, the **Help** item reads **Enabled**, but the compiler writes the dump only after its next restart; a second native exception in the same compiler prints the single line as before. Press **Restart the compiler** to get the dump for the next exception.
 
 ![The Help menu with the TRACE mode item reading Disabled at its foot.](../Menu/Images/Menu_Help.png){:width="269" height="294"}
@@ -95,7 +95,7 @@ DevTools is the browser's inspector for the IDE's own page, with its Console, El
 The key opens a window titled `DevTools - localhost:...`. Use it to read the full stack of an [IDE internal error](#ide-internal-errors).
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > While DevTools is open, a restart of the compiler (by the button, by a crash or by a change of the build configuration box) stops the page at a `debugger;` statement in the IDE's own code. The compiler has been ended, the badge reads UNAVAILABLE with four **Disconnected** lines, and nothing moves. Press **Resume** in DevTools, or close DevTools, and the restart goes on.
 
 ## Floating message boxes
diff --git a/docs/IDE/Troubleshooting/Images/Crash_Loop.light.png b/docs/IDE/Troubleshooting/Images/Crash_Loop.light.png
index 30bb7c096..0d0570e81 100644
Binary files a/docs/IDE/Troubleshooting/Images/Crash_Loop.light.png and b/docs/IDE/Troubleshooting/Images/Crash_Loop.light.png differ
diff --git a/docs/IDE/Troubleshooting/Images/Crash_Loop.light.svg b/docs/IDE/Troubleshooting/Images/Crash_Loop.light.svg
index 8950dd367..f91b17cba 100644
--- a/docs/IDE/Troubleshooting/Images/Crash_Loop.light.svg
+++ b/docs/IDE/Troubleshooting/Images/Crash_Loop.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)safeMode100%PREVIEWTOOLBOXEDITOR 1MainMod(general)(declaration)MainMod.twin12345678910111213ModuleMainModPrivateDeclarePtrSafeSubCopyMemoryLib"kernel32"Alias"RtlMoveMemory"(ByValdAsLongPtr,ByValsAsLongPtr,ByValnAsLongPtr)PublicSubMain()Debug.Print"ran to the end"EndSub' An access violation in the compiler's process. RtlMoveMemory does nothing when the two addresses are the same.PublicSubCrash()CopyMemory16,32,4EndSubEndModule▶   run MainMod.Main▶   run MainMod.CrashDEBUG CONSOLE>16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034 LAAVARIABLESPROJECT EXPLORERTroubleImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesMainMod.twinPROPERTIESCompiler crash loop detected. Restarting in SAFE mode.twinBASICOKSafeMode is designed to give you access to the file systemof your project, without starting all of the associated compiler services.Use this mode to investigate / fix / recover your code before savingand restarting in normal mode.
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)safeMode100%PREVIEWTOOLBOXEDITOR 1MainMod(general)(declaration)MainMod.twin12345678910111213ModuleMainModPrivateDeclarePtrSafeSubCopyMemoryLib"kernel32"Alias"RtlMoveMemory"(ByValdAsLongPtr,ByValsAsLongPtr,ByValnAsLongPtr)PublicSubMain()Debug.Print"ran to the end"EndSub' An access violation in the compiler's process. RtlMoveMemory does nothing when the two addresses are the same.PublicSubCrash()CopyMemory16,32,4EndSubEndModule▶   run MainMod.Main▶   run MainMod.CrashDEBUG CONSOLE>16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042 LAAVARIABLESPROJECT EXPLORERTroubleImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesMainMod.twinPROPERTIESAzCompiler crash loop detected. Restarting in SAFE mode.twinBASICOKSafeMode is designed to give you access to the file systemof your project, without starting all of the associated compiler services.Use this mode to investigate / fix / recover your code before savingand restarting in normal mode.
diff --git a/docs/IDE/Troubleshooting/Images/Crash_Loop.png b/docs/IDE/Troubleshooting/Images/Crash_Loop.png
index ece1262c7..8d79b94c6 100644
Binary files a/docs/IDE/Troubleshooting/Images/Crash_Loop.png and b/docs/IDE/Troubleshooting/Images/Crash_Loop.png differ
diff --git a/docs/IDE/Troubleshooting/Images/Crash_Loop.svg b/docs/IDE/Troubleshooting/Images/Crash_Loop.svg
index 6e5c6f995..0d6cf022b 100644
--- a/docs/IDE/Troubleshooting/Images/Crash_Loop.svg
+++ b/docs/IDE/Troubleshooting/Images/Crash_Loop.svg
@@ -1 +1 @@
-tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)safeMode100%PREVIEWTOOLBOXEDITOR 1MainMod(general)(declaration)MainMod.twin12345678910111213ModuleMainModPrivateDeclarePtrSafeSubCopyMemoryLib"kernel32"Alias"RtlMoveMemory"(ByValdAsLongPtr,ByValsAsLongPtr,ByValnAsLongPtr)PublicSubMain()Debug.Print"ran to the end"EndSub' An access violation in the compiler's process. RtlMoveMemory does nothing when the two addresses are the same.PublicSubCrash()CopyMemory16,32,4EndSubEndModule▶   run MainMod.Main▶   run MainMod.CrashDEBUG CONSOLE>16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1034 LAAVARIABLESPROJECT EXPLORERTroubleImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesMainMod.twinPROPERTIESCompiler crash loop detected. Restarting in SAFE mode.twinBASICOKSafeMode is designed to give you access to the file systemof your project, without starting all of the associated compiler services.Use this mode to investigate / fix / recover your code before savingand restarting in normal mode.
+tB Services: OPERATIONALCOMMUNITY EDITIONFileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)safeMode100%PREVIEWTOOLBOXEDITOR 1MainMod(general)(declaration)MainMod.twin12345678910111213ModuleMainModPrivateDeclarePtrSafeSubCopyMemoryLib"kernel32"Alias"RtlMoveMemory"(ByValdAsLongPtr,ByValsAsLongPtr,ByValnAsLongPtr)PublicSubMain()Debug.Print"ran to the end"EndSub' An access violation in the compiler's process. RtlMoveMemory does nothing when the two addresses are the same.PublicSubCrash()CopyMemory16,32,4EndSubEndModule▶   run MainMod.Main▶   run MainMod.CrashDEBUG CONSOLE>16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]16:41:58.204restarting from MEMORY[C:\tbshots\Troubleshooting\project.twinproj]DIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042 LAAVARIABLESPROJECT EXPLORERTroubleImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesMainMod.twinPROPERTIESAzAzCompiler crash loop detected. Restarting in SAFE mode.twinBASICOKSafeMode is designed to give you access to the file systemof your project, without starting all of the associated compiler services.Use this mode to investigate / fix / recover your code before savingand restarting in normal mode.
diff --git a/docs/IDE/Troubleshooting/Images/Native_Exception.light.png b/docs/IDE/Troubleshooting/Images/Native_Exception.light.png
index 62663dd0b..b917079cf 100644
Binary files a/docs/IDE/Troubleshooting/Images/Native_Exception.light.png and b/docs/IDE/Troubleshooting/Images/Native_Exception.light.png differ
diff --git a/docs/IDE/Troubleshooting/Images/Native_Exception.light.svg b/docs/IDE/Troubleshooting/Images/Native_Exception.light.svg
index ea7921930..688b9a873 100644
--- a/docs/IDE/Troubleshooting/Images/Native_Exception.light.svg
+++ b/docs/IDE/Troubleshooting/Images/Native_Exception.light.svg
@@ -1 +1 @@
-DEBUG CONSOLE>11:42:08.8000001 11:42:08.716 NATIVE EXCEPTION: ACCESS_VIOLATION /MainMod.twin; MainMod.Crash LINE 000010 [$773D8C3B:ntdll.dll+00088C3B]11:42:08.814[IDE] auto-activated TRACE-MODE in this session for extra debugging info on further native exceptions11:42:08.814[IDE] NOTE: compiler performance will be affected until TRACE-MODE is disabled via the Help menu
+DEBUG CONSOLE>11:42:08.8000001 11:42:08.716 NATIVE EXCEPTION: ACCESS_VIOLATION /MainMod.twin; MainMod.Crash LINE 000010 [$773D8C3B:ntdll.dll+00088C3B]11:42:08.814[IDE] auto-activated TRACE-MODE in this session for extra debugging info on further native exceptions11:42:08.814[IDE] NOTE: compiler performance will be affected until TRACE-MODE is disabled via the Help menu
diff --git a/docs/IDE/Troubleshooting/Images/Native_Exception.png b/docs/IDE/Troubleshooting/Images/Native_Exception.png
index 1328f9d09..0697dffed 100644
Binary files a/docs/IDE/Troubleshooting/Images/Native_Exception.png and b/docs/IDE/Troubleshooting/Images/Native_Exception.png differ
diff --git a/docs/IDE/Troubleshooting/Images/Native_Exception.svg b/docs/IDE/Troubleshooting/Images/Native_Exception.svg
index 34b4412b5..89f158c2b 100644
--- a/docs/IDE/Troubleshooting/Images/Native_Exception.svg
+++ b/docs/IDE/Troubleshooting/Images/Native_Exception.svg
@@ -1 +1 @@
-DEBUG CONSOLE>11:42:08.8000001 11:42:08.716 NATIVE EXCEPTION: ACCESS_VIOLATION /MainMod.twin; MainMod.Crash LINE 000010 [$773D8C3B:ntdll.dll+00088C3B]11:42:08.814[IDE] auto-activated TRACE-MODE in this session for extra debugging info on further native exceptions11:42:08.814[IDE] NOTE: compiler performance will be affected until TRACE-MODE is disabled via the Help menu
+DEBUG CONSOLE>11:42:08.8000001 11:42:08.716 NATIVE EXCEPTION: ACCESS_VIOLATION /MainMod.twin; MainMod.Crash LINE 000010 [$773D8C3B:ntdll.dll+00088C3B]11:42:08.814[IDE] auto-activated TRACE-MODE in this session for extra debugging info on further native exceptions11:42:08.814[IDE] NOTE: compiler performance will be affected until TRACE-MODE is disabled via the Help menu
diff --git a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.png b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.png
index 59cfbc5c3..2f3457e80 100644
Binary files a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.png and b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.png differ
diff --git a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.svg b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.svg
index e83d17998..9bbf924cf 100644
--- a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.svg
+++ b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.light.svg
@@ -1 +1 @@
-tB Services: LIMITEDCOMMUNITY EDITION>COMPILER: OPERATIONALFS: OPERATIONALLSP: DisconnectedDEBUGGER: Disconnected
+tB Services: LIMITEDCOMMUNITY EDITION>COMPILER: OPERATIONALFS: OPERATIONALLSP: DisconnectedDEBUGGER: Disconnected
diff --git a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.png b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.png
index b682fca52..719551508 100644
Binary files a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.png and b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.png differ
diff --git a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.svg b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.svg
index fafce9061..887c146d1 100644
--- a/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.svg
+++ b/docs/IDE/Troubleshooting/Images/Services_Limited_Tooltip.svg
@@ -1 +1 @@
-tB Services: LIMITEDCOMMUNITY EDITION>COMPILER: OPERATIONALFS: OPERATIONALLSP: DisconnectedDEBUGGER: Disconnected
+tB Services: LIMITEDCOMMUNITY EDITION>COMPILER: OPERATIONALFS: OPERATIONALLSP: DisconnectedDEBUGGER: Disconnected
diff --git a/docs/IDE/Troubleshooting/Missing-Files.md b/docs/IDE/Troubleshooting/Missing-Files.md
index 401bf9938..94a6f9918 100644
--- a/docs/IDE/Troubleshooting/Missing-Files.md
+++ b/docs/IDE/Troubleshooting/Missing-Files.md
@@ -37,15 +37,15 @@ A box that begins `failed to call TWINBASIC_INIT dll entry in the twinBASIC DLL:
 The compiler is not one file. It is a set of executables, `twinBASIC_win32.exe` and its variants with `_noDEP` and `_LAA` in the name, and the 64-bit ones. Which the IDE starts depends on the build configuration and on the DEP and large-address settings of the project.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > When `bin\twinBASIC_ide_win32.dll` is missing, the box names `bin\twinBASIC_win64.dll`, a file that is there. The launcher `twinBASIC.exe` names that file for every file it cannot load. Compare the whole `bin` folder with the IDE's download, or extract the download again, rather than looking for the file the box names.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > When `bin\twinBASIC_win32.dll` is missing, the box is titled **shutdown** and names no file and no address. It means that the compiler's file is missing or cannot be loaded. Restore the `bin` folder from the download.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > When the compiler variant that the IDE starts is missing, the IDE shows the box once and then goes quiet. After **OK**, the IDE has no project, tries nothing more, and writes nothing to the console. The badge reads UNAVAILABLE, with four **Not initialized** lines, for good. Restore the file, and start the IDE again.
 
 ![The native box titled twinBASIC Compiler that a missing DLL brings, with its one OK button.](Images/Missing_DLL_Box.png){:width="304" height="211"}
diff --git a/docs/IDE/Troubleshooting/Saving.md b/docs/IDE/Troubleshooting/Saving.md
index 3da715c7b..bec1abfbe 100644
--- a/docs/IDE/Troubleshooting/Saving.md
+++ b/docs/IDE/Troubleshooting/Saving.md
@@ -41,14 +41,14 @@ The same alert comes from **Save Project As** and from the saves that other comm
 ### A failed Close
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > When you choose **Save** in the question that **Close Project** asks, and the save fails, the alert opens and the close is dropped. The project stays open and changed. Fix the cause, and choose **Close Project** again. The same holds for **Exit** and for the close box of the window.
 
 ### A failed Save As
 {: #a-failed-save-as }
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A **Save Project As** whose save fails still makes the new path the project's path. After the alert, the title bar names the new file, which does not exist, and a plain **Save** goes to that path. While the folder is missing, **Save** fails again; once the folder exists, **Save** writes the project there and leaves the original file as it was. To save to the original again, use **Save Project As...** with its path. Check the title bar after any alert about a save.
 
 ### When the compiler does not answer
diff --git a/docs/LLVM/Getting-Started.md b/docs/LLVM/Getting-Started.md
index 3e76e75f8..2c49996f6 100644
--- a/docs/LLVM/Getting-Started.md
+++ b/docs/LLVM/Getting-Started.md
@@ -58,27 +58,27 @@ Building with LLVM does not currently work on Windows 7; Windows 10 or 11 is rec
 The main feature not yet supported is passing an error up to the calling procedure. A fix is planned.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An error that occurs in a procedure with no error handler is not passed to its caller when either of the two procedures is compiled with LLVM: the caller's own `On Error` statement does not catch it. A run in the IDE ends without a message. A built program stops as it does for an unhandled error when only the caller is compiled with LLVM. When the procedure that has no handler is compiled with LLVM, the program shows a box that names the procedure but no error, and then ends with an access violation. Without LLVM, and in VB6, the caller's handler catches the error.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > An error handler in a procedure compiled with LLVM cannot read an error raised with [**Err.Raise**](../tB/Modules/ErrObject/Raise) in that procedure: **Err.Number** returns -353703423 (`&HEAEAEA01`), **Err.Source** is empty, and **Err.Description** is the generic "Application-defined or object-defined error". An error that a statement causes, such as a division by zero, is read correctly.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An exponentiation (`^`) that overflows raises no error in code compiled with LLVM, and its result is 0, where the same code compiled without LLVM raises error 6, *Overflow*, as VB6 does. In a 32-bit build, a **Double** addition, subtraction or multiplication that overflows raises no error either, and its result is infinity (`1.#INF` or `-1.#INF`), unless the procedure is compiled for SSE2: with `+sse2`, or with the flag of an instruction set that includes it, `+sse3`, `+ssse3`, `+sse4.1`, `+sse4.2`, `+avx`, `+avx2`, `+fma`, `+aes` or `+sha`. [**FloatingPointErrorChecks(True)**](../tB/Core/Attributes#floatingpointerrorchecks) does not change this. A division that overflows and a division by zero raise their errors, and so do an addition, subtraction and multiplication in a 64-bit build or compiled for SSE2. After any of these errors, under `On Error Resume Next`, the variable that was to receive the result keeps its old value; without LLVM it holds infinity.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A program built with LLVM ends with an access violation (0xC0000005) and no message box at the first [**GoSub**](../tB/Core/GoSub-Return) it runs, in a 32-bit and in a 64-bit build. A run in the IDE is not affected, and neither is a program built without LLVM. Replace the **GoSub** with a call to a **Private Sub**.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > In a 64-bit build with LLVM, a call to a [**Declare**](../tB/Core/Declare)d procedure that passes `ByVal 0&` for its eighth parameter, declared `ByRef` with a 32-bit type such as **Long**, to give the procedure a NULL pointer, can end with an access violation (0xC0000005) and no message box, in the procedure. The eighth parameter of **WideCharToMultiByte** is one such case. Whether the call fails depends on what the stack held before it. The same override for the first to seventh parameters is right. Declare the parameter `ByVal ... As LongPtr` instead. It affects a built exe and a run in the IDE with LLVM turned on, and not a 32-bit build or a build without LLVM.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > In a procedure that has a `ByVal` **Long** or **Single** parameter and, after it, a `ByRef` parameter declared `As Boolean` or `As Integer`, a [**For...Next**](../tB/Core/For-Next) loop whose **Step** is that `ByVal` parameter (or a variable set from it) runs with a wrong step, or with a wrong start or end when those are parameters too. The wrong value depends on where the caller's argument for the `ByRef` parameter is stored. In a built exe it is 20 in a 64-bit build and 25 in a 32-bit build when the argument is a local variable of the caller, and other values when it is a module-level variable or an array element; in a run in the IDE it varies more, up to millions. `For i = 1 To 7 Step x` with `x` equal to 3 and a local variable passed runs once, not three times. No error is raised, so the loop silently gives a wrong result. It affects a **Sub**, a **Function** and a class method, a built exe and a run in the IDE with LLVM turned on, in a 32-bit and in a 64-bit build, and not a build without LLVM. Whether a larger procedure shows it can depend on its other statements. A second parameter that is `ByRef ... As Long` (or **Byte**, **Single**, **Double**, **Currency**, **Date**, **String**, **Variant**, an Enum, a UDT, an array, an object or a pointer), `ByVal ... As Boolean`, a `ByRef ... As Boolean` placed before the step parameter, a step parameter of type **Integer**, **Double** or **Currency**, a `Do` loop, a loop with no **Step** and a loop with a literal **Step** are right. Declare the second parameter `ByVal`, or place it before the step parameter.
 
 Code compiled with LLVM ignores [**Debug.Assert**](../tB/Modules/Debug#assert): the statement does not stop, and its condition is not evaluated.
@@ -112,7 +112,7 @@ End Sub
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A run in the IDE with LLVM turned on for the whole project under **Compiler Options (DEBUG)** ends with an access violation when a procedure marked `[CompilerOptions("")]` calls a procedure that is compiled with LLVM, and `Sub Main` reaches the marked procedure: it calls it, or calls a procedure that does. A marked procedure that `Sub Main` does not reach is not affected, and neither is a built program.
 
 The same attribute can also turn LLVM on for chosen procedures when it is off in Project Settings. List the flags, separated by commas: `+llvm`, `+optimize` and `+optimizesize`, then `+` and the name of each CPU instruction set to use. Each flag is the direct equivalent of an option in Project Settings:
diff --git a/docs/LLVM/Images/llvmdoc1.light.png b/docs/LLVM/Images/llvmdoc1.light.png
index c3d88dbe5..5ddb44a05 100644
Binary files a/docs/LLVM/Images/llvmdoc1.light.png and b/docs/LLVM/Images/llvmdoc1.light.png differ
diff --git a/docs/LLVM/Images/llvmdoc1.light.svg b/docs/LLVM/Images/llvmdoc1.light.svg
index 3929cbe9f..aeceec994 100644
--- a/docs/LLVM/Images/llvmdoc1.light.svg
+++ b/docs/LLVM/Images/llvmdoc1.light.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1033MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESProject SettingsCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingCompiler Options (BUILD)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2LLVM: Target CPUs with SSSE3LLVM: Target CPUs with XSAVELLVM: Target CPUs with XSAVECLLVM: Target CPUs with XSAVEOPTLLVM: Target CPUs with XSAVESCompiler Options (DEBUG)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2(Filter)73611635644143222122calls in the VBA standard library are affected by this setting, plus any standard module functions thatyou have explicitly marked with the attribute [ ConstantFoldable ].Here you can enable compiler options via a comma-delimited list of flags that will be applied to builtexecutables.NOTE: If you enable targeting for a specific CPU architecture feature, your software will not run on anyCPU that does not support that feature.Here you can enable compiler options via a comma-delimited list of flags that will be applied to theIDE environment.NOTE: Enabling LLVM compilation in the IDE debug environment is NOT recommended. You willnot be able to debug LLVM compiled code.1 changedApply Changes
+tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzProject SettingsCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingCompiler Options (BUILD)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2LLVM: Target CPUs with SSSE3LLVM: Target CPUs with XSAVELLVM: Target CPUs with XSAVECLLVM: Target CPUs with XSAVEOPTLLVM: Target CPUs with XSAVESCompiler Options (DEBUG)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2(Filter)74611635654143222122calls in the VBA standard library are affected by this setting, plus any standard module functions thatyou have explicitly marked with the attribute [ ConstantFoldable ].Here you can enable compiler options via a comma-delimited list of flags that will be applied to builtexecutables.NOTE: If you enable targeting for a specific CPU architecture feature, your software will not run on anyCPU that does not support that feature.Here you can enable compiler options via a comma-delimited list of flags that will be applied to theIDE environment.NOTE: Enabling LLVM compilation in the IDE debug environment is NOT recommended. You willnot be able to debug LLVM compiled code.1 changedApply Changes
diff --git a/docs/LLVM/Images/llvmdoc1.png b/docs/LLVM/Images/llvmdoc1.png
index 919e3ea46..50dac27f7 100644
Binary files a/docs/LLVM/Images/llvmdoc1.png and b/docs/LLVM/Images/llvmdoc1.png differ
diff --git a/docs/LLVM/Images/llvmdoc1.svg b/docs/LLVM/Images/llvmdoc1.svg
index ae41dc48d..a4dcbbd58 100644
--- a/docs/LLVM/Images/llvmdoc1.svg
+++ b/docs/LLVM/Images/llvmdoc1.svg
@@ -1 +1 @@
-tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1033MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESProject SettingsCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingCompiler Options (BUILD)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2LLVM: Target CPUs with SSSE3LLVM: Target CPUs with XSAVELLVM: Target CPUs with XSAVECLLVM: Target CPUs with XSAVEOPTLLVM: Target CPUs with XSAVESCompiler Options (DEBUG)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2(Filter)73611635644143222122calls in the VBA standard library are affected by this setting, plus any standard module functions thatyou have explicitly marked with the attribute [ ConstantFoldable ].Here you can enable compiler options via a comma-delimited list of flags that will be applied to builtexecutables.NOTE: If you enable targeting for a specific CPU architecture feature, your software will not run on anyCPU that does not support that feature.Here you can enable compiler options via a comma-delimited list of flags that will be applied to theIDE environment.NOTE: Enabling LLVM compilation in the IDE debug environment is NOT recommended. You willnot be able to debug LLVM compiled code.1 changedApply Changes
+tB Services: OPERATIONALULTIMATE EDITIONwin32100%PREVIEWTOOLBOXEDITOR 1DEBUG CONSOLEDIAGNOSTICS0000CALL STACKCOMPILER [Win32] v0.15.1042MAIN_THREAD [IDLE]VARIABLESPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdLICENCE.mdPROPERTIESAzAzProject SettingsCancelAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerRuntimeVersion InfoExportTracingRegistrationFeature FlagsCompiler WarningsIDE EnvironmentPackage PublishingCompiler Options (BUILD)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2LLVM: Target CPUs with SSSE3LLVM: Target CPUs with XSAVELLVM: Target CPUs with XSAVECLLVM: Target CPUs with XSAVEOPTLLVM: Target CPUs with XSAVESCompiler Options (DEBUG)Enable LLVM CompilationLLVM: Generate optimized codeLLVM: Optimize for smaller filesizeLLVM: Target CPUs with AESLLVM: Target CPUs with AVXLLVM: Target CPUs with AVX2LLVM: Target CPUs with BMI2LLVM: Target CPUs with FMALLVM: Target CPUs with FXSRLLVM: Target CPUs with LZCNTLLVM: Target CPUs with POPCNTLLVM: Target CPUs with RDSEEDLLVM: Target CPUs with SHALLVM: Target CPUs with SSELLVM: Target CPUs with SSE2LLVM: Target CPUs with SSE3LLVM: Target CPUs with SSE4.1LLVM: Target CPUs with SSE4.2(Filter)74611635654143222122calls in the VBA standard library are affected by this setting, plus any standard module functions thatyou have explicitly marked with the attribute [ ConstantFoldable ].Here you can enable compiler options via a comma-delimited list of flags that will be applied to builtexecutables.NOTE: If you enable targeting for a specific CPU architecture feature, your software will not run on anyCPU that does not support that feature.Here you can enable compiler options via a comma-delimited list of flags that will be applied to theIDE environment.NOTE: Enabling LLVM compilation in the IDE debug environment is NOT recommended. You willnot be able to debug LLVM compiled code.1 changedApply Changes
diff --git a/docs/LLVM/Images/llvmdoc2.light.png b/docs/LLVM/Images/llvmdoc2.light.png
index 5aca519d2..1ffa8740d 100644
Binary files a/docs/LLVM/Images/llvmdoc2.light.png and b/docs/LLVM/Images/llvmdoc2.light.png differ
diff --git a/docs/LLVM/Images/llvmdoc2.light.svg b/docs/LLVM/Images/llvmdoc2.light.svg
index fdb79d13c..ac6e726af 100644
--- a/docs/LLVM/Images/llvmdoc2.light.svg
+++ b/docs/LLVM/Images/llvmdoc2.light.svg
@@ -1 +1 @@
-win32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin12345678910111213ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75▶   run Inventory.MainPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twintwinBASIC IDE OptionsAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralCompilerLLVM - Maximum number of threadsLLVM - Complex procedure reporting threshold (milliseconds)LLVM - Keep cache process alive after exiting the IDE110000NoYes(Filter)3251032534This option controls the number of threads that LLVM will use when compiling yourcode. Increasing this value will use more RAM during compile and may reduce compiletimes.If a complex procedure takes a long time to compile with LLVM, the compiler can reportthe issue in the DEBUG CONSOLE for you to consider breaking it up into smaller pieces.Use this threshold to control that behaviour. Only procedures that take longer tocompile than this threshold will be reported.If set to YES, the LLVM background compiler process will remain active even after youclose the IDE. This allows future instances of the IDE to compile your code much quicker,as it caches the results.
+win32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin12345678910111213ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75▶   run Inventory.MainPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twintwinBASIC IDE OptionsAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralCompilerLLVM - Maximum number of threadsLLVM - Complex procedure reporting threshold (milliseconds)LLVM - Keep cache process alive after exiting the IDE▲▼1▲▼10000NoYes(Filter)3351032535This option controls the number of threads that LLVM will use when compiling yourcode. Increasing this value will use more RAM during compile and may reduce compiletimes.If a complex procedure takes a long time to compile with LLVM, the compiler can reportthe issue in the DEBUG CONSOLE for you to consider breaking it up into smaller pieces.Use this threshold to control that behaviour. Only procedures that take longer tocompile than this threshold will be reported.If set to YES, the LLVM background compiler process will remain active even after youclose the IDE. This allows future instances of the IDE to compile your code much quicker,as it caches the results.
diff --git a/docs/LLVM/Images/llvmdoc2.png b/docs/LLVM/Images/llvmdoc2.png
index 6aad4ceea..956c7d4ec 100644
Binary files a/docs/LLVM/Images/llvmdoc2.png and b/docs/LLVM/Images/llvmdoc2.png differ
diff --git a/docs/LLVM/Images/llvmdoc2.svg b/docs/LLVM/Images/llvmdoc2.svg
index 802e2cf55..8bf5ef4f9 100644
--- a/docs/LLVM/Images/llvmdoc2.svg
+++ b/docs/LLVM/Images/llvmdoc2.svg
@@ -1 +1 @@
-win32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin12345678910111213ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75▶   run Inventory.MainPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twintwinBASIC IDE OptionsAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralCompilerLLVM - Maximum number of threadsLLVM - Complex procedure reporting threshold (milliseconds)LLVM - Keep cache process alive after exiting the IDE110000NoYes(Filter)3251032534This option controls the number of threads that LLVM will use when compiling yourcode. Increasing this value will use more RAM during compile and may reduce compiletimes.If a complex procedure takes a long time to compile with LLVM, the compiler can reportthe issue in the DEBUG CONSOLE for you to consider breaking it up into smaller pieces.Use this threshold to control that behaviour. Only procedures that take longer tocompile than this threshold will be reported.If set to YES, the LLVM background compiler process will remain active even after youclose the IDE. This allows future instances of the IDE to compile your code much quicker,as it caches the results.
+win32100%PREVIEWEDITOR 1Inventory(general)(declaration)Inventory.twin12345678910111213ModuleInventoryPublicSubMain()DimnamesAsNewCollectionnames.Add"Widget"names.Add"Sprocket"names.Add"Gasket"DimpricesAsObjectSetprices=CreateObject("Scripting.Dictionary")prices.Add"Widget",4.5prices.Add"Sprocket",12prices.Add"Gasket",0.75▶   run Inventory.MainPROJECT EXPLORERInventoryImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesInventory.twintwinBASIC IDE OptionsAllAppearanceCode EditorCompilerProject ExplorerIntellisense/HoverDesigner/ToolboxGeneralCompilerLLVM - Maximum number of threadsLLVM - Complex procedure reporting threshold (milliseconds)LLVM - Keep cache process alive after exiting the IDE▲▼1▲▼10000NoYes(Filter)3351032535This option controls the number of threads that LLVM will use when compiling yourcode. Increasing this value will use more RAM during compile and may reduce compiletimes.If a complex procedure takes a long time to compile with LLVM, the compiler can reportthe issue in the DEBUG CONSOLE for you to consider breaking it up into smaller pieces.Use this threshold to control that behaviour. Only procedures that take longer tocompile than this threshold will be reported.If set to YES, the LLVM background compiler process will remain active even after youclose the IDE. This allows future instances of the IDE to compile your code much quicker,as it caches the results.
diff --git a/docs/Miscellaneous/FAQs.md b/docs/Miscellaneous/FAQs.md
index b313d13fa..dfc93b056 100644
--- a/docs/Miscellaneous/FAQs.md
+++ b/docs/Miscellaneous/FAQs.md
@@ -276,7 +276,7 @@ Please direct all negative emotions to your overactive anti-virus vendor :)
 
 tB does not require a full installation process, you need only extract the ZIP file. Download the latest version from the [Releases page](https://github.com/twinbasic/twinbasic/releases), named `twinBASIC_IDE_BETA_xxx.zip` (where xxx is a version number; click on 'Assets' to expand the file list if it's not already visible).
 
-![The expanded Assets list of a GitHub release: the release's twinBASIC_IDE_BETA zip file with the start of its SHA-256, its size and its age, above the two automatic source code archives.](Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.png){:width="891" height="183"}
+![The expanded Assets list of a GitHub release: the release's twinBASIC_IDE_BETA zip file with the start of its SHA-256, its size and its age, above the two automatic source code archives.](Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.png){:width="876" height="183"}
 
 Download the zip and extract it to an **empty** folder. Do not simply overwrite a previous version; either delete everything in the folder or use a different one. Odd errors have been known to occur otherwise.  It will run from this folder; some settings will be placed in AppData.
 
@@ -366,7 +366,7 @@ In a built ActiveX DLL, these lines have the same effect as the twinBASIC attrib
 
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Some `Attribute` lines have no effect, and nothing says so. `VB_HelpID` and `VB_VarHelpID` give no help context ID. `VB_VarMemberFlags` leaves a public field neither hidden nor nonbrowsable. `VB_MemberFlags = "200"` (the user-interface default) and `"14"` (the data-binding flags `bindable` and `displaybind`) set no flag. A component moved from VB6 loses these when it is built again. In a `.twin` file, `[Hidden]` on a public field does hide it.
 
 
diff --git a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.png b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.png
index dd417e2ee..b75288f74 100644
Binary files a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.png and b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.png differ
diff --git a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.svg b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.svg
index 6e2d12388..1f3fd5b1f 100644
--- a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.svg
+++ b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.light.svg
@@ -1 +1 @@
-win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerCompilerConditional Compilation ArgsRuntime Binding Of DLL DeclaresOption Explicit On(unset)NoYesNoYes(Filter)7361163564Enter a colon delimited list of name=value pairs used by the compiler during conditional compilationevaluation. Values in the range -32768 to 32767 are allowed. for example: foo=42:bar=-42If YES, Declares inside your project will be resolved at runtime. If NO, Declares inside your project will beadded to the import address table (IAT) of your built executables. NOTE: This setting does not affect DLLdeclares that are defined in type libraries, which are always added to the IAT.Default: YesThis option takes effect if Option Explicit On/Off is not specified in the source fileDefault: Yes
+win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerCompilerConditional Compilation ArgsRuntime Binding Of DLL DeclaresOption Explicit On(unset)NoYesNoYes(Filter)7461163565Enter a colon delimited list of name=value pairs used by the compiler during conditional compilationevaluation. Values in the range -32768 to 32767 are allowed. for example: foo=42:bar=-42If YES, Declares inside your project will be resolved at runtime. If NO, Declares inside your project will beadded to the import address table (IAT) of your built executables. NOTE: This setting does not affect DLLdeclares that are defined in type libraries, which are always added to the IAT.Default: YesThis option takes effect if Option Explicit On/Off is not specified in the source fileDefault: Yes
diff --git a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.png b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.png
index 9a0d4a218..f27c9fb9a 100644
Binary files a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.png and b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.png differ
diff --git a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.svg b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.svg
index e785ff7cc..4ba67224f 100644
--- a/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.svg
+++ b/docs/Miscellaneous/Images/01009879-fdbc-4a8e-8683-353aab6193df.svg
@@ -1 +1 @@
-win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerCompilerConditional Compilation ArgsRuntime Binding Of DLL DeclaresOption Explicit On(unset)NoYesNoYes(Filter)7361163564Enter a colon delimited list of name=value pairs used by the compiler during conditional compilationevaluation. Values in the range -32768 to 32767 are allowed. for example: foo=42:bar=-42If YES, Declares inside your project will be resolved at runtime. If NO, Declares inside your project will beadded to the import address table (IAT) of your built executables. NOTE: This setting does not affect DLLdeclares that are defined in type libraries, which are always added to the IAT.Default: YesThis option takes effect if Option Explicit On/Off is not specified in the source fileDefault: Yes
+win32100%PREVIEWTOOLBOXEDITOR 1PROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesSourcesIShape.twinMainModule.twinTypes.twinCHANGELOG.mdProject SettingsAllGeneralLibrary ReferencesBuildStartupCompilerOptimizationDebuggerCompilerConditional Compilation ArgsRuntime Binding Of DLL DeclaresOption Explicit On(unset)NoYesNoYes(Filter)7461163565Enter a colon delimited list of name=value pairs used by the compiler during conditional compilationevaluation. Values in the range -32768 to 32767 are allowed. for example: foo=42:bar=-42If YES, Declares inside your project will be resolved at runtime. If NO, Declares inside your project will beadded to the import address table (IAT) of your built executables. NOTE: This setting does not affect DLLdeclares that are defined in type libraries, which are always added to the IAT.Default: YesThis option takes effect if Option Explicit On/Off is not specified in the source fileDefault: Yes
diff --git a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.png b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.png
index 3028489b9..327aa8556 100644
Binary files a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.png and b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.png differ
diff --git a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.svg b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.svg
index 6af70f387..32830da25 100644
--- a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.svg
+++ b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsTreeView + ListView + ImageListWindows Service Simple ExampleWindows Service Complex Example (inc Eve…OOP Inheritance Example (Animals)Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsTreeView + ListView + ImageListWindows Service Simple ExampleWindows Service Complex Example (inc Eve…OOP Inheritance Example (Animals)Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.
diff --git a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.png b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.png
index b53f5b3e8..a6fe07bf5 100644
Binary files a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.png and b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.png differ
diff --git a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.svg b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.svg
index 8a7c9a490..fdc1e9cfb 100644
--- a/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.svg
+++ b/docs/Miscellaneous/Images/0e24eb5c-c9af-49a9-a908-03968b211554.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsTreeView + ListView + ImageListWindows Service Simple ExampleWindows Service Complex Example (inc Eve…OOP Inheritance Example (Animals)Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsTreeView + ListView + ImageListWindows Service Simple ExampleWindows Service Complex Example (inc Eve…OOP Inheritance Example (Animals)Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.
diff --git a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.png b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.png
index ceb38d2b6..c948fc92d 100644
Binary files a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.png and b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.png differ
diff --git a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.svg b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.svg
index d3fa94bed..5bcfaaad9 100644
--- a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.svg
+++ b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.light.svg
@@ -1 +1 @@
-ToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWMainModule(general)(declaration)Main()Show▶   run MainModule.MainPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesICONtwinBASIC.icoMANIFEST#1.xmlMESSAGETABLESTRINGSourcesfrmMain.tbformfrmMain.twinIShape.twinMainModule.twin
+ToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWMainModule(general)(declaration)Main()Show▶   run MainModule.MainPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesICONtwinBASIC.icoMANIFEST#1.xmlMESSAGETABLESTRINGSourcesfrmMain.tbformfrmMain.twinIShape.twinMainModule.twin
diff --git a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.png b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.png
index d1cca2ac7..08fd8dab8 100644
Binary files a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.png and b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.png differ
diff --git a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.svg b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.svg
index c8ac05eac..925102b22 100644
--- a/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.svg
+++ b/docs/Miscellaneous/Images/71ddde83-a091-47e3-b5b8-681954b0639d.svg
@@ -1 +1 @@
-ToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1034)win32100%PREVIEWMainModule(general)(declaration)Main()Show▶   run MainModule.MainPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesICONtwinBASIC.icoMANIFEST#1.xmlMESSAGETABLESTRINGSourcesfrmMain.tbformfrmMain.twinIShape.twin
+ToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%PREVIEWMainModule(general)(declaration)Main()Show▶   run MainModule.MainPROJECT EXPLORERSampleProjectImportedTypeLibrariesMiscellaneousPackagesReferencesResourcesICONtwinBASIC.icoMANIFEST#1.xmlMESSAGETABLESTRINGSourcesfrmMain.tbformfrmMain.twinIShape.twin
diff --git a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.png b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.png
index 2191f3151..0ee375770 100644
Binary files a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.png and b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.png differ
diff --git a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.svg b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.svg
index 139942ccb..b15f99ef7 100644
--- a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.svg
+++ b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.light.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
diff --git a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.png b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.png
index cff1ea25c..c35ecec93 100644
Binary files a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.png and b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.png differ
diff --git a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.svg b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.svg
index 380361fc8..b6449dee3 100644
--- a/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.svg
+++ b/docs/Miscellaneous/Images/7e1cb69c-6db3-4f3f-aea1-c1fae25938a2.svg
@@ -1 +1 @@
-EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
+EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentStandard EXEActiveX ControlActiveX DLLStandard DLLStandard EXE (+VBCCR)Standard EXEImport from VBP...Import from folder...Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Create a new twinBASIC project from a template, or import an existing project.(non-ActiveX)(experimental)(Console App)
diff --git a/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.png b/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.png
index 01605285e..3f7f776bb 100644
Binary files a/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.png and b/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.png differ
diff --git a/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.svg b/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.svg
index 6ac300335..ae566bd60 100644
--- a/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.svg
+++ b/docs/Miscellaneous/Images/94490c87-fafe-4d5b-ae39-d3cedba1c21d.svg
@@ -1 +1 @@
-The Bootstrapper is a tiny installer thatdownloads the Evergreen Runtime matchingdevice architecture and installs it locally. There isalso a Link that allows you to programmaticallydownload the Bootstrapper.Evergreen BootstrapperGet the LinkDownloadA full-blown installer that can install theEvergreen Runtime in offline environment.Available for x86/x64/ARM64.Evergreen Standalone Installerx86x64ARM64Select and package a specific version of theWebView2 Runtime with your application.Select VersionSelect ArchitectureFixed Version156.0.4314.58arm64DownloadDownload the WebView2 RuntimeWhen distributing your application, there are a few ways you can ensure theWebView2 Runtime is on client machines. Learn more about those options.For installation issues and error codes see our troubleshooting guide.
+The Bootstrapper is a tiny installer thatdownloads the Evergreen Runtime matchingdevice architecture and installs it locally. There isalso a Link that allows you to programmaticallydownload the Bootstrapper.Evergreen BootstrapperGet the LinkDownloadA full-blown installer that can install theEvergreen Runtime in offline environment.Available for x86/x64/ARM64.Evergreen Standalone Installerx86x64ARM64Select and package a specific version of theWebView2 Runtime with your application.Select VersionSelect ArchitectureFixed Version157.0.4341.46x64DownloadDownload the WebView2 RuntimeWhen distributing your application, there are a few ways you can ensure theWebView2 Runtime is on client machines. Learn more about those options.For installation issues and error codes see our troubleshooting guide.
diff --git a/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.png b/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.png
index 6b2caec0d..8dc2283a6 100644
Binary files a/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.png and b/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.png differ
diff --git a/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.svg b/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.svg
index 109615ce9..e8fc40139 100644
--- a/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.svg
+++ b/docs/Miscellaneous/Images/ac019c1a-dcef-4964-a730-bc5b86c644ba.svg
@@ -1 +1 @@
-Assets3twinBASIC_IDE_BETA_1034.zip39.3 MB5 days agoSource code (zip)Jun 29Source code (tar.gz)Jun 29sha256:db5b88cf07e81bd…
+Assets3twinBASIC_IDE_BETA_1042.zip39.3 MB2 days agoSource code (zip)Jun 29Source code (tar.gz)Jun 29sha256:1f82ecc8195a188…
diff --git a/docs/Reference/Attributes.md b/docs/Reference/Attributes.md
index 022717d3e..77b6d1ec3 100644
--- a/docs/Reference/Attributes.md
+++ b/docs/Reference/Attributes.md
@@ -30,7 +30,7 @@ The available attributes are listed below in alphabetic order. Not every attribu
 ---
 
 ## AllowUnpopulatedVtableEntry
-{: #allowunpopulatedvtableentry index="TB65535" }
+{: #allowunpopulatedvtableentry index="TB5260" }
 
 Syntax: **[AllowUnpopulatedVtableEntry]**
 
@@ -40,11 +40,7 @@ Marks a prototype that a class implementing the interface is not obliged to supp
 
 The twinBASIC packages use it to add members to an interface without breaking code written against an earlier revision of it. `ItbHostEventsV2` extends `ItbHostEventsV1` and adds one such prototype; `ItbHostEventsV3` extends that and adds another. An addin that implements only the **V1** members still satisfies **V3**.
 
-On a **Public** procedure of a **Class**, it does the same for a class that [**Implements**](Implements) that class: the member may be left out, where otherwise the build fails with TB65535, *Missing implementation of member ...*. On a property it covers only the accessor it is written on, so a **Property Get** and its **Property Let** each need it.
-
-
-> [!NOTE] BETA 1034
-> The message of TB65535 reads *Internal Error - Bad Error Info Locale Data*, and does not name the missing member. The error is on the name after **Implements**.
+On a **Public** procedure of a **Class**, it does the same for a class that [**Implements**](Implements) that class: the member may be left out, where otherwise the build fails with TB5260, *Missing implementation of member ...*, on the name after **Implements**. On a property it covers only the accessor it is written on, so a **Property Get** and its **Property Let** each need it.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The compiler also accepts the attribute on a **Declare Function**. With **Constant Function Folding** on, a call to such a function whose arguments are all constants crashes the compiler during the build, though the project compiles without an error.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > On **Class_Initialize** the attribute breaks the Build: a program that creates the class stops with error 91, *Object variable or With block variable not set*, or ends with an access violation. A run from the IDE is right. Written as `[DebugOnly(False)]` it changes nothing.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The popup of a member of a **Type**, and of a variable of a **Class**, shows the text twice, run together: *one lineone line*.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > On a **Declare** the attribute works the other way round. A call of a **Declare** is not checked by default, so a wrong signature can end the program with an access violation. `[DLLStackCheck(False)]` adds the check, which makes the code larger, and a wrong signature then raises the same error. Written bare or with **True**, it changes nothing. VB6 raises error 49, *Bad DLL calling convention*, in its IDE and in a P-Code exe.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In an ActiveX build, a **Class** is marked `appobject` in the type library as well as `predeclid`, which is what [AppObject](#appobject) gives it, so a client that references the library treats the members of the class as global names.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > VB6 stores a property's page as `"PageName;Category"` in the legacy attribute, with the category the property sheet groups the property under. twinBASIC reads such a legacy line and drops what follows the semicolon. **[PropertyPage]** takes the whole string as the name, so `[PropertyPage("CaptionPage;Appearance")]` is TB5259.
 
 ```tb probe projname=propertypage-semicolon project=activex-control slot=file id=propertypage-semicolon expect-error=TB5259
@@ -1595,11 +1591,11 @@ A procedure with the attribute in a package that the project references runs too
      line, then Main's. -->
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The attribute is not allowed on a generic procedure, such as `Sub Pre(Of T)()`. The project compiles in the editor without an error, but building it fails with the message *Build FAILED due to invalid RunBeforeStartupObject procedure*, which names neither the procedure nor the reason.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The compiler accepts the attribute on more than one procedure, with no error or warning, and the built program runs only the last of them; the others never run. It also accepts the attribute on a procedure with parameters, which then runs with arbitrary values for its parameters, even for an **Optional** parameter that has a default. Give the attribute to one procedure, with no parameters.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Once a color is assigned, assigning the default, `-1`, raises error 380, so the row cannot be made transparent again.
 
 ### Bold
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md b/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md
index 8aaaf1e95..c5a19107e 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/ListView/index.md
@@ -206,7 +206,7 @@ The [**ImageList**](../ImageList/) used for small icons in **lvwSmallIcon**, **l
 Whether item-label text has an opaque background. A member of [**ListTextBackgroundConstants**](#listtextbackgroundconstants). Default: **lvwTransparent**. Changing it repaints the list at once. The opaque background is [**BackColor**](#backcolor), the color the list is already drawn in, so the two settings look the same.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **TextBackground** has no visible effect: the control has no **Picture** property, the background image an opaque text background would hide.
 
 ```tb probe check_build projname=listview-textbackground project=wnc-form slot=file id=listview-picture
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md b/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md
index 29d4adfd8..13378a7c6 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/Slider.md
@@ -54,7 +54,7 @@ Properties
 The background color of the control. **OLE_COLOR**. Default: **vbButtonFace**.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A change to **BackColor** does not repaint the control, and neither does invalidating it: the new color shows only when the user drags the thumb, or when the control is hidden and shown again.
 
 ### BorderStyle
diff --git a/docs/Reference/Built-In/WinNativeCommonCtls/index.md b/docs/Reference/Built-In/WinNativeCommonCtls/index.md
index 2d2b30e21..c80ddca8e 100644
--- a/docs/Reference/Built-In/WinNativeCommonCtls/index.md
+++ b/docs/Reference/Built-In/WinNativeCommonCtls/index.md
@@ -4,7 +4,7 @@ parent: Built-In Packages
 nav_order: 12
 permalink: /tB/Packages/WinNativeCommonCtls/
 has_toc: false
-indexed_from: beta-x-1010
+indexed_from: beta-x-1042
 ---
 
 # WinNativeCommonCtls Package
diff --git a/docs/Reference/Built-In/WinServicesLib/index.md b/docs/Reference/Built-In/WinServicesLib/index.md
index 7c0f551ba..55fbfa6ee 100644
--- a/docs/Reference/Built-In/WinServicesLib/index.md
+++ b/docs/Reference/Built-In/WinServicesLib/index.md
@@ -4,7 +4,7 @@ parent: Built-In Packages
 nav_order: 10
 permalink: /tB/Packages/WinServicesLib/
 has_toc: false
-indexed_from: beta-x-1010
+indexed_from: beta-x-1042
 exclude_from_docs:
   - ServicesConstantsPublic
 ---
diff --git a/docs/Reference/Built-In/tbIDE/DebugConsole.md b/docs/Reference/Built-In/tbIDE/DebugConsole.md
index 85861ad21..ea5a471b8 100644
--- a/docs/Reference/Built-In/tbIDE/DebugConsole.md
+++ b/docs/Reference/Built-In/tbIDE/DebugConsole.md
@@ -50,6 +50,10 @@ Host.DebugConsole.PrintText "Operation completed"                           ' de
 Host.DebugConsole.PrintText "Warning: something looks off", RGB(255, 128, 0) ' orange
 ```
 
+
+> [!WARNING] BETA 1042
+> Text that an addin prints while the first project of the IDE's session loads can be erased a moment later: the IDE empties the pane a second time as the project's console options are applied. Text printed once the project has loaded stays. See the [Debug Console](../../../tB/IDE/Debugging/Debug-Console) page.
+
 ### SetFocus
 {: .no_toc }
 
diff --git a/docs/Reference/Built-In/tbIDE/FileSystemItem.md b/docs/Reference/Built-In/tbIDE/FileSystemItem.md
index cc75826e2..49ad466d5 100644
--- a/docs/Reference/Built-In/tbIDE/FileSystemItem.md
+++ b/docs/Reference/Built-In/tbIDE/FileSystemItem.md
@@ -37,9 +37,9 @@ The item's name (the last segment of its [**Path**](#path)). **String**, read-on
 
 The folder that contains this item. **As** [**Folder**](Folder). Read-only. The **Parent** of the project's folder, [**Project.RootFolder**](Project#rootfolder), is the file system's root, [**FileSystem.RootFolder**](FileSystem#rootfolder), whose **Path** is `twinbasic:/`.
 
-
-> [!WARNING] BETA 1034
-> Reading **Parent** of the file system's root crashes the compiler, and the add-in with it. The read itself crashes, before anything is done with the value, so neither `Is Nothing` nor **TypeName** can test it, and each compiler the IDE restarts crashes again when the add-in reaches the read. Tell the root by its **Path**, `twinbasic:/`, rather than by its **Parent**.
+
+> [!NOTE] BETA 1042
+> Reading **Parent** of the file system's root raises error -2147467259 (`&H80004005`), *Automation error*, rather than returning **Nothing**. The read itself raises it, so neither `Is Nothing` nor **TypeName** can test the value. In an event handler with no error handler, the error ends the handler without a message. Tell the root by its **Path**, `twinbasic:/`, rather than by its **Parent**.
 
 ### Path
 {: .no_toc }
diff --git a/docs/Reference/Built-In/tbIDE/HtmlElement.md b/docs/Reference/Built-In/tbIDE/HtmlElement.md
index f8011c6f5..2e0fa1e33 100644
--- a/docs/Reference/Built-In/tbIDE/HtmlElement.md
+++ b/docs/Reference/Built-In/tbIDE/HtmlElement.md
@@ -100,7 +100,7 @@ raiseEvent(eventName, event, stopPropagation, ...customData)
 --- pass an event name (any string), the DOM `event` object, a boolean controlling propagation, and any number of trailing custom-data values. The addin then registers a listener with the same event name through **AddEventListener**, and the custom-data values arrive on the [**HtmlEventProperties**](HtmlEventProperties) as `eventInfo.customData0`, `eventInfo.customData1`, … (numerically indexed from zero). This pattern is used heavily in sample 13 (listview) and sample 15 (Global Search) to attach handlers to per-item buttons rendered inside a listview's HTML.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **raiseEvent** works only inside a `"listview"` or `"virtuallistview"` widget, or inside a widget added with [**CodeEditor.AddMonacoWidget**](CodeEditor#addmonacowidget). It passes the event to the nearest enclosing widget: in a list view, register the listener on the list view object, `.Properties.listview.AddEventListener("name", ...)`, as sample 15 does; in a code-editor widget, on the widget's own element. In plain tool-window HTML there is no such widget, and **raiseEvent** throws a `TypeError` in the IDE's page and the listener is not called.
 >
 > From plain HTML, an inline handler can call the listener itself. **AddEventListener** stores a listener for a name that is not one of the element's DOM events on the element, under that name, so an inline `onclick='this.parentNode.myEvent(event)'` calls the listener its parent registered as `"myEvent"`, and `eventInfo.target.id` names the element clicked.
diff --git a/docs/Reference/Built-In/tbIDE/HtmlElementProperties.md b/docs/Reference/Built-In/tbIDE/HtmlElementProperties.md
index 82c984015..81c430ccb 100644
--- a/docs/Reference/Built-In/tbIDE/HtmlElementProperties.md
+++ b/docs/Reference/Built-In/tbIDE/HtmlElementProperties.md
@@ -25,7 +25,7 @@ The shorthand reads at run time as a chain of `Item("name")` lookups against the
 > This interface is **`[COMExtensible(True)]`**. Property names are resolved against the live DOM element at run time, not declared statically on the interface. The compiler does not validate names --- a typo (`.innerTxt = "..."` instead of `.innerText = "..."`) fails silently or throws at run time. The accepted set is **every DOM property of the underlying tag**, plus any custom-widget extensions; the reference does not enumerate it.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A property whose name starts with `on` is ignored. `.onclick = "..."` sets nothing, and the call returns without an error. Register a listener with [**HtmlElement.AddEventListener**](HtmlElement#addeventlistener) instead.
 
 > [!IMPORTANT]
diff --git a/docs/Reference/Built-In/tbIDE/KeyboardShortcuts.md b/docs/Reference/Built-In/tbIDE/KeyboardShortcuts.md
index a18286957..142b1bf97 100644
--- a/docs/Reference/Built-In/tbIDE/KeyboardShortcuts.md
+++ b/docs/Reference/Built-In/tbIDE/KeyboardShortcuts.md
@@ -30,7 +30,7 @@ End Sub
 The shortcut fires when the key is released, wherever the focus is in the IDE's window --- in the code editor, in the DEBUG CONSOLE, or on nothing at all --- except while a dialog or the rename box is open. If the IDE has a command of its own on the same key, that command runs as well: F1, for one, also expands or collapses the signature help while it is showing. Shift+F12 has no command in the IDE's default keymap. [Keyboard Shortcuts](../../../tB/IDE/Reference/Keyboard-Shortcuts) lists every command of the IDE, with what it does and its default keys, so check there before choosing a key.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A shortcut that includes `{CTRL}` or `{ALT}` does not fire when the user presses it. The IDE matches an add-in's shortcut when the key is released, against a press of the same key less than half a second earlier, and it does not record a key pressed while Ctrl or Alt is held down. Such a shortcut fires only if the same key was also pressed on its own within that half second. Use a function key, alone or with `{SHIFT}`. While the [Help Add-In](../../IDE/AddIns/Help) is loaded, shortcuts with `{CTRL}` and `{ALT}` fire as the others do, for every add-in.
 
 ## Methods
diff --git a/docs/Reference/Built-In/tbIDE/index.md b/docs/Reference/Built-In/tbIDE/index.md
index 673ea01aa..c033b68ea 100644
--- a/docs/Reference/Built-In/tbIDE/index.md
+++ b/docs/Reference/Built-In/tbIDE/index.md
@@ -4,7 +4,7 @@ parent: Built-In Packages
 nav_order: 11
 permalink: /tB/Packages/tbIDE/
 has_toc: false
-indexed_from: beta-x-1010
+indexed_from: beta-x-1042
 ---
 
 # tbIDE Package
diff --git a/docs/Reference/COM-Interfaces/IDispatch.md b/docs/Reference/COM-Interfaces/IDispatch.md
index f923778ed..b606dc7ae 100644
--- a/docs/Reference/COM-Interfaces/IDispatch.md
+++ b/docs/Reference/COM-Interfaces/IDispatch.md
@@ -232,7 +232,7 @@ The four [**VbCallType**](../../tB/Modules/Constants/VbCallType) values are the
 | **CallByName** on a value that is not an object | 424, *Object required* |
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A call that fails inside **Invoke** can be made twice, so its side effects happen twice and nothing says so. VB6 makes the call once. A failed property assignment is followed by a second **Invoke** with *wFlags* 3. A call with more arguments than a **Sub** takes runs the **Sub**, then fails with error 13, and a late-bound statement does this twice. Code that implements **Invoke** must not change state before it can still fail.
 
 > [!NOTE]
@@ -244,12 +244,16 @@ Every class gets an **IDispatch** implementation from the compiler, so an object
 
 The members it finds:
 
-- **Public** and **Friend** methods, properties and fields. A **Private** member is not found: **GetIDsOfNames** fails with `DISP_E_UNKNOWNNAME`.
+- **Public** and **Friend** methods, properties and fields. A **Private** member is not found by name: **GetIDsOfNames** fails with `DISP_E_UNKNOWNNAME`.
 - Names matched without regard to case.
 - A property's **Property Get**, **Property Let** and **Property Set** share one identifier.
 - A method can be called with `DISPATCH_PROPERTYGET`, and a property read with `DISPATCH_METHOD`. A write needs `DISPATCH_PROPERTYPUT` or `DISPATCH_PROPERTYPUTREF` and a member that has a **Property Let** or **Property Set**; a call with flags 0 fails, as does a write to a **Property Get** with no setter, with `DISP_E_MEMBERNOTFOUND`.
 - An **Optional** parameter can be left out, and a named argument is matched to a parameter by name.
 
+
+> [!NOTE] BETA 1042
+> A **Private** method can still be called by its identifier. The class numbers its methods from `&H60030000` in the order they are declared, **Private** ones included, and **Invoke** or [**CallByDispId**](../../tB/Modules/Interaction/CallByDispId) with the number of a **Private** method runs it, from another project too. A **Private** method with a [**DispId**](../../tB/Core/Attributes#dispid) attribute is reached by that number. A **Private** variable and a **Protected** member are not. VB6 numbers its **Private** methods too, but its **Invoke** returns `DISP_E_MEMBERNOTFOUND` for them.
+
 A bad call to a member is reported like this:
 
 | Call | **Invoke** returns |
@@ -299,6 +303,10 @@ An implementation has these constraints:
 
 A variable declared **As stdole.IDispatch** does not reach the four methods. A call through it is compiled as a late-bound call by name, the same as a call through an **Object** variable: `d.GetTypeInfoCount n` compiles with any arguments, and raises error 438 (*Object doesn't support this property or method*) when it runs, because the object has no member of that name. A member the object does have, such as `d.Answer`, is called as it would be through **Object**. Use a project's own declaration, as above.
 
+
+> [!WARNING] BETA 1042
+> When the object is a **Collection**, a call to one of the four methods through an **As stdole.IDispatch** variable ends the program with an access violation, in a run in the IDE and in a built exe, 32-bit and 64-bit. **On Error** does not catch it. An object of a twinBASIC class raises error 438, as above. VB6 does not accept the declaration.
+
 ## COMExtensible
 
 The [**[COMExtensible]**](../../tB/Core/Attributes#comextensible) attribute on an interface declares that the object behind it may accept members that its declaration does not list. It is the flag that the **tbIDE** package sets on its DOM classes, such as [**HtmlElementProperties**](../../tB/Packages/tbIDE/HtmlElementProperties), whose implementation lives in the IDE. Setting it on a project's own interface changes nothing for a class that implements it: the class's **IDispatch** still finds only the class's own public members, and `DISP_E_UNKNOWNNAME` for any other name. To accept names that nothing declares, use a **NotDispatchable** class that implements **IDispatch**, as in the example below.
diff --git a/docs/Reference/COM-Interfaces/IErrorInfo.md b/docs/Reference/COM-Interfaces/IErrorInfo.md
index b42d8554d..8fe353d1a 100644
--- a/docs/Reference/COM-Interfaces/IErrorInfo.md
+++ b/docs/Reference/COM-Interfaces/IErrorInfo.md
@@ -185,7 +185,7 @@ The object that **GetErrorInfo** returns then holds what the method gave **Raise
 **GetErrorInfo** empties the slot as COM requires, so a second read returns `Nothing`.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The object does not keep the values it was given, and no error tells the caller. It reads them from the **Err** object each time a method is called. [**Err.Clear**](../../tB/Modules/ErrObject/Clear) empties **Err**, so an object read after it returns empty strings and 0, and the next error changes the values to its own. COM requires an **IErrorInfo** to keep what was stored in it. Read the five properties before calling anything else that clears **Err** or raises an error.
 
 A method that handles an error itself, with [**On Error**](../../tB/Core/On-Error), still leaves the values in **Err** and a returned **IErrorInfo** that shows them, although it returns `S_OK`. A caller reads the slot only after a failure code.
@@ -231,7 +231,7 @@ A method can return a failure **HRESULT** without calling **SetErrorInfo**, and
 | `&H8FFF0001` (no meaning) | -1879113727 | `Automation error` |
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The slot is not always empty, and no error tells the caller. A handled error leaves in it an object that reads from **Err**, even when the error was handled in twinBASIC code that never read the slot. VB6 leaves the slot empty. When **Err** has been cleared in between, that object has an empty description, so **Description** of a failure that arrived without information is the standard text of the code: `Unspecified error` for `E_FAIL`, `Invalid procedure call or argument` for `&H800A0005` and `Access is denied.`, in the language of the system, for `E_ACCESSDENIED`. A program that must tell failures apart reads **Number** and does not rely on **Description** for a code that arrived without information.
 
 ### A method that sets error information itself
diff --git a/docs/Reference/COM-Interfaces/IUnknown.md b/docs/Reference/COM-Interfaces/IUnknown.md
index 8d26a2c68..3aa812cd5 100644
--- a/docs/Reference/COM-Interfaces/IUnknown.md
+++ b/docs/Reference/COM-Interfaces/IUnknown.md
@@ -42,7 +42,7 @@ Syntax: *object*.**QueryInterface** *riid*, *ppvObject*
 Returns `S_OK` and a pointer with one reference added for the caller, or `E_NOINTERFACE` (`&H80004002`) and a null pointer.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > An object of a class that the project compiles --- a class, a form, a control --- returns `E_NOINTERFACE` for an interface it does not support but leaves *ppvObject* as it was, instead of setting it to a null pointer. The runtime's own objects, such as a **Collection**, set it to a null pointer, as every object of VB6 does. A caller tests the result, not the pointer.
 
 Three rules govern the answer:
@@ -165,7 +165,7 @@ A class never needs to implement **IUnknown**: the compiler gives every class an
 `Implements stdole.IUnknown` compiles, and the class works as before. A project's own **Interface** that carries the identifier of **IUnknown** and extends another interface also compiles, and a class can implement it.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > That interface is unusable. **Set** to a variable of that type gives the object's ordinary **IUnknown** pointer, which has only the three methods of **IUnknown**. Calling a method the interface declares after them ends the program with an access violation, and any unsaved data is lost. The compiler gives no diagnostic. Give the identifier of **IUnknown** only to an interface declared **Extends Nothing** with the three methods of **IUnknown**, as in [Calling it from twinBASIC](#calling-it-from-twinbasic); otherwise use `stdole.IUnknown`.
 
 ## Example
diff --git a/docs/Reference/Compiler Constants.md b/docs/Reference/Compiler Constants.md
index fa27a68b1..b5fe7aded 100644
--- a/docs/Reference/Compiler Constants.md	
+++ b/docs/Reference/Compiler Constants.md	
@@ -110,7 +110,7 @@ Or more simply, to decide whether to use `PtrSafe`, and then `DeclareWide` or ot
 > Compiler constants are numbers, not `Boolean` values. `Win64` is 1 in a 64-bit build, and `Not 1` is -2, which counts as true, so `#If Not Win64 Then` is true in both 32-bit and 64-bit builds. To select 32-bit-only code, compare the constant with 0, as in `#If Win64 = 0 Then`, or put the code in the `#Else` branch of `#If Win64 Then`.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A function call in an `#If`, `#ElseIf` or `#Const` expression is always 0, with no error or warning. `#If CBool(1) Then` and `#If Len("abc") = 3 Then` are both false, and `#If Not CBool(Win64) Then` is true in a 64-bit build. VB6 evaluates `CBool`, `CLng`, `Abs` and `Len` there.
 
 > [!NOTE]
diff --git a/docs/Reference/Contributed.md b/docs/Reference/Contributed.md
index 675a8d6c3..2d6117748 100644
--- a/docs/Reference/Contributed.md
+++ b/docs/Reference/Contributed.md
@@ -17,7 +17,6 @@ Each package is versioned apart from twinBASIC, and its section says which versi
 - [**DetoursLib**](DetoursLib/) -- detours of functions in the program's own process, made with SlimDetours
 - [**FileProps**](FileProps/) -- the Windows shell properties of a file, read and written
 - [**Fmt**](Fmt/) -- **StringFormat**, a string built from a format string and values, in the style of C#'s **String.Format**
-- [**Generics**](Generics/) -- tuples, read-only objects that hold one to seven values of declared types
 - [**OLEGuids**](OLEGuids/) -- OLE and COM interfaces and structures in twinBASIC source, in place of `OLEGuids.tlb`
 - [**tbFileSysTools**](tbFileSysTools/) -- files, folders, drives and text streams, in place of the Scripting Runtime's **FileSystemObject**
 - [**TBMANLIB_RES**](TBMANLIB_RES/) -- resources embedded in an executable, as bytes, strings, hex, Base64 or pictures
diff --git a/docs/Reference/Contributed/ArrayListLib/index.md b/docs/Reference/Contributed/ArrayListLib/index.md
index af98598bb..1874a1196 100644
--- a/docs/Reference/Contributed/ArrayListLib/index.md
+++ b/docs/Reference/Contributed/ArrayListLib/index.md
@@ -20,7 +20,7 @@ The **ArrayListLib** contributed package is a list class for twinBASIC, in place
 This section documents version 1.6.151.1, which is the version on TWINSERV, published under the Unlicense.
 
 
-> [!NOTE] 1.6.151.1, BETA 1034
+> [!NOTE] 1.6.151.1, BETA 1042
 > The package does not compile, so a project that references it does not build (error TB5001, in a 32-bit and in a 64-bit build). **ArrayList** passes the addresses of two items, as **Long** values, to its private procedure **VSwap**, which declares both parameters as `ByRef` structures, in **Reverse** (`ArrayList.twin`, line 297) and in the two quicksort procedures that **Sort** calls (lines 585 and 602). **MemMoveBSTR**, a private procedure of the module **LibMemoryEx**, passes an address to **LSetByVal** in the same way (`Modules/LibMemoryEx.twin`, line 104), and **LSetByVal** declares its parameter as a `ByRef` structure that holds a string pointer. A pointer passed for a structure has to be passed `ByVal`. The behaviour described on these pages is that of the package with the two arguments of each **VSwap** call passed `ByVal`, and with **LSetByVal** taking the address as a **LongPtr** and putting it in a structure of its own. That copy builds in 32-bit and in 64-bit programs, and both give the same results.
 
 > [!WARNING] 1.6.151.1
diff --git a/docs/Reference/Contributed/Fmt/EscapeSequence/index.md b/docs/Reference/Contributed/Fmt/EscapeSequence/index.md
index 942191d02..81f01efcf 100644
--- a/docs/Reference/Contributed/Fmt/EscapeSequence/index.md
+++ b/docs/Reference/Contributed/Fmt/EscapeSequence/index.md
@@ -29,7 +29,7 @@ esc.Execute text
 Debug.Print text  ' aZZb
 ```
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > [**Self**](Self) and the four property setters ([**AsciiBase**](AsciiBase), [**EscapeString**](EscapeString), [**IsAsciiCharacter**](IsAsciiCharacter) and [**ReplacementString**](ReplacementString) with **Let**) are declared **Friend**, for [**Create**](Create) to use. A project that references the package can call them too, so the properties of an instance can be changed after it is created.
 
 
diff --git a/docs/Reference/Contributed/Fmt/StringValidation/index.md b/docs/Reference/Contributed/Fmt/StringValidation/index.md
index 7af9ed790..159bb7193 100644
--- a/docs/Reference/Contributed/Fmt/StringValidation/index.md
+++ b/docs/Reference/Contributed/Fmt/StringValidation/index.md
@@ -14,7 +14,7 @@ Holds the small string tests and the case helper that the package's formatter is
 
 **StringValidation** is a standard module of five public functions. [**StringContains**](StringContains), [**StringContainsAny**](StringContainsAny), [**StringMatchesAny**](StringMatchesAny) and [**StringStartsWith**](StringStartsWith) return a **Boolean** about the text of a string, and [**CopyCapitalisation**](CopyCapitalisation) returns a string in the letter case of another. The formatter calls them to look for backslashes and escape sequences, to test whether a format string begins with `@` and to follow the case of an identifier. A project that references the package can call them too, by name or as `StringValidation.StringContains`.
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The package declares the module with `Option Private Module`, which marks it as internal to the package. A project that references the package can still call its functions.
 
 ```tb check_build check_run
diff --git a/docs/Reference/Contributed/GdiPlus/FontCollection.md b/docs/Reference/Contributed/GdiPlus/FontCollection.md
index 6ddae6dc0..07aeedade 100644
--- a/docs/Reference/Contributed/GdiPlus/FontCollection.md
+++ b/docs/Reference/Contributed/GdiPlus/FontCollection.md
@@ -13,7 +13,7 @@ The base class of the two classes that hold a set of font families: [**Installed
 A **FontCollection** is not created on its own. It gives its two derived classes the members that list the families in the collection. A variable declared **As FontCollection** can hold either of them, which is how the *fontCollection* parameter of [**FontFamily**](FontFamily) and of [**Font**](Font) accepts both. The class mirrors the GDI+ [FontCollection](https://learn.microsoft.com/en-us/windows/win32/api/gdiplusheaders/nl-gdiplusheaders-fontcollection) class.
 
 
-> [!WARNING] 0.9.45.0, BETA 1034
+> [!WARNING] 0.9.45.0, BETA 1042
 > Neither derived class can be created, so none of the members on this page can be used. See the warning on [**InstalledFontCollection**](InstalledFontCollection#creating) and on [**PrivateFontCollection**](PrivateFontCollection#creating). The rest of this page describes the members as the source defines them.
 
 ## Creating
diff --git a/docs/Reference/Contributed/GdiPlus/Image.md b/docs/Reference/Contributed/GdiPlus/Image.md
index f17f9d7d4..fc3e2d9b6 100644
--- a/docs/Reference/Contributed/GdiPlus/Image.md
+++ b/docs/Reference/Contributed/GdiPlus/Image.md
@@ -381,7 +381,7 @@ The getter returns the property with the ID *propId* as an array of [**GpPropert
 
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A property of an element of the array that **PropertyItem** returns, such as `items(1).TheASCII`, stops the process with an access violation, as it does for an element of any array of a user-defined type. An element can be read as a whole or by a field: `items(1).Id` works, and so does `Dim got As GpPropertyItem = items(1)` followed by `got.TheASCII`. **GetAllPropertyItems** returns its array in the same way, and the same holds for it. The setter, **PropertyCount**, **PropertyIdList** and **RemovePropertyItem** work.
 
 ### RemovePropertyItem
diff --git a/docs/Reference/Contributed/GdiPlus/InstalledFontCollection.md b/docs/Reference/Contributed/GdiPlus/InstalledFontCollection.md
index 469e15aa9..af94cec80 100644
--- a/docs/Reference/Contributed/GdiPlus/InstalledFontCollection.md
+++ b/docs/Reference/Contributed/GdiPlus/InstalledFontCollection.md
@@ -21,7 +21,7 @@ Syntax: *collection* **= InstalledFontCollection**( )
 Syntax: *collection* **= New InstalledFontCollection**
 
 
-> [!WARNING] 0.9.45.0, BETA 1034
+> [!WARNING] 0.9.45.0, BETA 1042
 > Creating an **InstalledFontCollection** raises run-time error 438, *Object doesn't support this property or method*, and the result is **Nothing**. The statement `Debug.Assert TypeOf (Me) Is InstalledFontCollection` in the class raises it. Even with that statement removed, the constructor does not store the native collection it creates, so the object has no handle and every call on it fails with **InvalidParameter**. The class cannot be used until a version of the package corrects both.
 
 ```tb check_build
diff --git a/docs/Reference/Contributed/GdiPlus/Matrix.md b/docs/Reference/Contributed/GdiPlus/Matrix.md
index 088f54a9a..8c543e2aa 100644
--- a/docs/Reference/Contributed/GdiPlus/Matrix.md
+++ b/docs/Reference/Contributed/GdiPlus/Matrix.md
@@ -218,7 +218,7 @@ Combines a scaling with the matrix.
 
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A call of **Scale** written as a statement, with its arguments in parentheses and without **Call**, does nothing and raises no error: `m.Scale(2, 3)` leaves the matrix as it was. The same call written `m.Scale 2, 3`, `Call m.Scale(2, 3)` or `status = m.Scale(2, 3)` works. This is the case for a method of any class that is named **Scale**.
 
 ### Rotate
diff --git a/docs/Reference/Contributed/GdiPlus/PathIterator.md b/docs/Reference/Contributed/GdiPlus/PathIterator.md
index 10285e354..f5bc5903a 100644
--- a/docs/Reference/Contributed/GdiPlus/PathIterator.md
+++ b/docs/Reference/Contributed/GdiPlus/PathIterator.md
@@ -18,7 +18,7 @@ Each kind of iteration keeps its own position. The calls of **NextSubpath** step
 Every method exists twice. The *UDT form* has no arguments and returns a user-defined type: [**NextSubpath**](#nextsubpath) returns a [**SubPath**](Types/SubPath), [**NextMarker**](#nextmarker) a [**Marker**](Types/Marker), and so on. The *direct form* has the same name, takes variables for the results, and returns the number of points as a **Long**, as the C++ class does. In both forms the number of points is 0 when the iteration has come to its end. A call that fails records its status in **LastResult**, as every object of the package does. See [**GdiPlusBase**](GdiPlusBase).
 
 
-> [!WARNING] 0.9.45.0, BETA 1034
+> [!WARNING] 0.9.45.0, BETA 1042
 > **NextSubpathPath** and **NextMarkerPath** do not work. The package assigns a `New GraphicsPath` to a member of a user-defined type without `Set`, and twinBASIC reports a code generation error for it in **NextSubpathPath** whenever it compiles a project that uses **PathIterator**, though the other members still work when the program is run from the IDE. A program that calls the UDT form of either method stops at the call, and so does one that calls the direct form of **NextMarkerPath**. The direct form of **NextSubpathPath** returns 0 and a path that holds no GDI+ object. To get the points of a figure or a section, take the indexes from **NextSubpath** or **NextMarker** and read the points with **Enumerate**.
 
 ## Creating
diff --git a/docs/Reference/Contributed/GdiPlus/PrivateFontCollection.md b/docs/Reference/Contributed/GdiPlus/PrivateFontCollection.md
index cb3db4fee..e6f744ffa 100644
--- a/docs/Reference/Contributed/GdiPlus/PrivateFontCollection.md
+++ b/docs/Reference/Contributed/GdiPlus/PrivateFontCollection.md
@@ -21,7 +21,7 @@ Syntax: *collection* **= PrivateFontCollection**( )
 Syntax: *collection* **= New PrivateFontCollection**
 
 
-> [!WARNING] 0.9.45.0, BETA 1034
+> [!WARNING] 0.9.45.0, BETA 1042
 > Creating a **PrivateFontCollection** raises run-time error 438, *Object doesn't support this property or method*, and the result is **Nothing**. The statement `Debug.Assert TypeOf (Me) Is PrivateFontCollection` in the class raises it. Even with that statement removed, the constructor does not store the native collection it creates, so the object has no handle and **AddFontFile**, **AddMemoryFont** and the members of **FontCollection** fail with **InvalidParameter**. The class cannot be used until a version of the package corrects both.
 
 ## AddFontFile
diff --git a/docs/Reference/Contributed/GdiPlus/Types/GpPointF.md b/docs/Reference/Contributed/GdiPlus/Types/GpPointF.md
index 54a6724f4..82ee5f2d9 100644
--- a/docs/Reference/Contributed/GdiPlus/Types/GpPointF.md
+++ b/docs/Reference/Contributed/GdiPlus/Types/GpPointF.md
@@ -86,7 +86,7 @@ Syntax: *point*.**Normalized** As **GpPointF**
 Returns the vector scaled to length 1.
 
 
-> [!NOTE] 0.9.45.0, BETA 1034
+> [!NOTE] 0.9.45.0, BETA 1042
 > A program that names **Normalized** does not link: the linker reports a code generation error in `Types.Normalized`. Use [**Normalize**](#normalize) on a copy of the point instead.
 
 ### Transposed
@@ -155,7 +155,7 @@ These change the point they are called on.
 > **Add** and **Sub** change the point they are called on. Before version 0.9.0.43 they returned the result and left the point alone. Use [**Sum**](#sum-diff) and [**Diff**](#sum-diff) to get a new point.
 
 
-> [!NOTE] 0.9.45.0, BETA 1034
+> [!NOTE] 0.9.45.0, BETA 1042
 > The compiler reads `p.Scale(2)` as the start of a `Scale` statement and reports a syntax error. Write `p.Scale 2` or `Call p.Scale(2)`. **Scale2**, **InvScale** and the other methods are not affected.
 >
 > ```tb check_build expect-error=TB5212 id=gppointf-scale-one-value
diff --git a/docs/Reference/Contributed/GdiPlus/Types/GpRect.md b/docs/Reference/Contributed/GdiPlus/Types/GpRect.md
index 9c8d1acec..a1bf7ff50 100644
--- a/docs/Reference/Contributed/GdiPlus/Types/GpRect.md
+++ b/docs/Reference/Contributed/GdiPlus/Types/GpRect.md
@@ -291,7 +291,7 @@ Syntax: *rect*.**InflatedByPt**( *point* As **GpPoint** ) As **GpRect**
 Return a copy of the rectangle moved or inflated as [**Offset**](#offset-offsetpt) and [**Inflate**](#inflate-inflatept) do.
 
 
-> [!NOTE] 0.9.45.0, BETA 1034
+> [!NOTE] 0.9.45.0, BETA 1042
 > A program that names any of these four methods does not link: the linker reports a code generation error in the method. Copy the rectangle and call **Offset**, **OffsetPt**, **Inflate** or **InflatePt** on the copy.
 
 ```tb check_build check_run
diff --git a/docs/Reference/Contributed/GdiPlus/Types/GpRectF.md b/docs/Reference/Contributed/GdiPlus/Types/GpRectF.md
index f663dfbe5..1832b8624 100644
--- a/docs/Reference/Contributed/GdiPlus/Types/GpRectF.md
+++ b/docs/Reference/Contributed/GdiPlus/Types/GpRectF.md
@@ -306,7 +306,7 @@ Syntax: *rect*.**InflatedByPt**( *point* As **GpPointF** ) As **GpRectF**
 Return a copy of the rectangle moved or inflated as [**Offset**](#offset-offsetpt) and [**Inflate**](#inflate-inflatept) do.
 
 
-> [!NOTE] 0.9.45.0, BETA 1034
+> [!NOTE] 0.9.45.0, BETA 1042
 > A program that names any of these four methods does not link: the linker reports a code generation error in the method. Copy the rectangle and call **Offset**, **OffsetPt**, **Inflate** or **InflatePt** on the copy.
 
 ```tb check_build check_run
diff --git a/docs/Reference/Contributed/GdiPlus/Types/GpSizeF.md b/docs/Reference/Contributed/GdiPlus/Types/GpSizeF.md
index 298ec7889..cf56c2008 100644
--- a/docs/Reference/Contributed/GdiPlus/Types/GpSizeF.md
+++ b/docs/Reference/Contributed/GdiPlus/Types/GpSizeF.md
@@ -142,7 +142,7 @@ These change the size they are called on.
 > **Add** and **Sub** change the size they are called on. Before version 0.9.0.43 they returned the result and left the size alone. Use [**Sum**](#sum-diff) and [**Diff**](#sum-diff) to get a new size.
 
 
-> [!NOTE] 0.9.45.0, BETA 1034
+> [!NOTE] 0.9.45.0, BETA 1042
 > The compiler reads `s.Scale(2)` as the start of a `Scale` statement and reports a syntax error. Write `s.Scale 2` or `Call s.Scale(2)`. **Scale2**, **InvScale** and the other methods are not affected.
 >
 > ```tb check_build expect-error=TB5212 id=gpsizef-scale-one-value
diff --git a/docs/Reference/Contributed/GdiPlus/Types/PathPointType.md b/docs/Reference/Contributed/GdiPlus/Types/PathPointType.md
index cee94e36d..3da14986c 100644
--- a/docs/Reference/Contributed/GdiPlus/Types/PathPointType.md
+++ b/docs/Reference/Contributed/GdiPlus/Types/PathPointType.md
@@ -49,7 +49,7 @@ Debug.Print CLng(t.PointType) & " " & t.CloseSubpath & " " & t.PathMarker      '
 
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Reading a property of an element of an array, as in `types(i).CloseSubpath`, stops the program with an access violation. Copy the element to a variable and read the property of that. A type held in a variable or in a field of a **TypedPoint** is read without trouble.
 
 
diff --git a/docs/Reference/Contributed/Generics/index.md b/docs/Reference/Contributed/Generics/index.md
index 68bc3c712..86b4d86c6 100644
--- a/docs/Reference/Contributed/Generics/index.md
+++ b/docs/Reference/Contributed/Generics/index.md
@@ -1,6 +1,6 @@
 ---
 title: Generics Package
-parent: Contributed Packages
+parent: Experimental Packages
 has_toc: false
 exclude_from_docs:
   - HelloWorldModule
@@ -17,14 +17,16 @@ The **Generics** contributed package provides seven tuple classes, **TupleOf1**
 
 A tuple lets a function return several values at once, without a user-defined type declared for the purpose or **ByRef** parameters for the results. Each class is a [generic class](../../../../Features/Language/Generics): **TupleOf2(Of Long, String)** holds a **Long** and a **String**, and its **Item1** and **Item2** properties return them with those types. The classes follow .NET's **System.Tuple** classes, and their source comments are taken from .NET's, under the MIT licence. This section documents version 1.0.0.0, published under the MIT licence.
 
-
+
+> [!NOTE] 1.0.0.0, BETA 1042
+> The package does not compile, so a project that references it does not build. It embeds the **WinDevLib** package, version 8.9.518.0, through **WinDevLibImpl**, and six of WinDevLib's [**Delegate**](../../../Core/Delegate) declarations are a **Function** with no **As** clause. twinBASIC reports each with TB0003, *Datatype has not been explicitly declared so will default to Variant*, and WinDevLib's own settings make TB0003 an error.
+
 ```tb check_build check_run
 Dim t As TupleOf3(Of String, Long, Date) = New TupleOf3(Of String, Long, Date)("Ada", 36, #12/10/1815#)
 Debug.Print t.Item1        ' Ada
 Debug.Print t.Item2        ' 36
 Debug.Print Year(t.Item3)  ' 1815
 ```
-
 
 ## Syntax
 
@@ -47,9 +49,7 @@ Debug.Print Year(t.Item3)  ' 1815
 *k*
 : The number of an item, 1 to *n*.
 
-
 **Item***k* returns the *k*th item, of type *Tk*. The properties are read-only: an item is set only when the tuple is created, and nothing changes it afterwards. The classes have no other members.
-
 
 | Class | Type parameters | Properties |
 |:------|:----------------|:-----------|
@@ -73,7 +73,6 @@ Set size = New TupleOf2(Of Long, Long)(640, 480)
 Debug.Print size.Item1 * size.Item2  ' 307200
 ```
 
-
 A function that returns a tuple declares the tuple's type as its return type:
 
 ```tb check_build slot=file
@@ -100,10 +99,9 @@ Module GenericsMinMaxDemo
     End Sub
 End Module
 ```
-
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **New** with a generic class from a package compiles only when some declaration in the project or the package names the same class with the same type arguments. A variable declared with the tuple's type is such a declaration. Without one, `Dim t As Any = New TupleOf2(Of String, Long)("a", 2)` fails with TB5074, *Could not bind to parameterized constructor of class 'TupleOf2'*, and so does **New** assigned to an **Object** or **Variant** variable or passed as an argument. A generic class declared in the project's own code is not affected. Assign the tuple to a variable of its own type first; that variable can then be assigned to an **Object** or **Variant** variable, through which the items are read late-bound:
 >
 > ```tb check_build check_run
@@ -113,7 +111,7 @@ End Module
 > Debug.Print o.Item1; o.Item2  ' width 640
 > ```
 
-
+
 The constructor's parameters are declared without **ByVal**, so they are **ByRef**. A variable passed for an item must have the item's type exactly: a **Byte** variable passed for a **Long** item fails with TB5001, *cannot coerce type 'Byte' to [ByRef] 'Long'*. A literal or any other expression is converted as usual, so wrap such a variable in a conversion function. The tuple keeps a copy of each value, and a later change to the variable does not change the tuple:
 
 ```tb check_build check_run
@@ -126,7 +124,6 @@ Debug.Print t.Item1  ' 200
 
 ## Reading the items
 
-
 Each item is read through its **Item** property, which returns it with the type it was declared with. An **Object** or **Variant** variable that holds a tuple reads the items late-bound, through the same names. A tuple is an object, so it is assigned with [**Set**](../../../Core/Set), and a variable that has not been assigned one is **Nothing**. Two tuples with equal items are still two objects: [**Is**](../../../Core/Is) compares the objects themselves, so the items are compared one by one. [**TypeName**](../../../Modules/Information/TypeName) returns the class's name without its type arguments:
 
 ```tb check_build check_run
@@ -136,15 +133,12 @@ Debug.Print TypeName(a)                              ' TupleOf2
 Debug.Print a Is b                                   ' False
 Debug.Print a.Item1 = b.Item1 And a.Item2 = b.Item2  ' True
 ```
-
 
 Unlike .NET's tuples, the classes have no method that compares two tuples or converts one to a string.
 
 ## Types of the items
 
-
 An item can have any numeric type, **String**, **Boolean**, **Date**, **Currency** or **LongPtr**.
-
 
 
 Three kinds of type cannot be used:
@@ -154,12 +148,11 @@ Three kinds of type cannot be used:
 - **Arrays**, such as **Long()**.
 
 
-
 > [!NOTE] 1.0.0.0
 > The constructor stores each item with `=`, not with **Set**, so creating a tuple of an object type fails. For **Object**, which compiles, **New** raises run-time error 91, *Object variable or With block variable not set*, even when the item passed is **Nothing**. A class whose default member takes an argument, such as **Collection**, fails to compile, with TB5092 *Missing argument 'Index'* reported in the package's source.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A tuple type with an array as a type argument, such as `TupleOf1(Of Long())`, crashes the compiler wherever it is written: in a declaration, a parameter, a function's result type or after **New**. The compiler restarts and crashes again, so nothing in the project compiles until the line is removed. The same happens with a generic class declared in a project's own code.
 
 ## TupleOf4
@@ -173,7 +166,3 @@ Three kinds of type cannot be used:
 - [Generics](../../../../Features/Language/Generics) -- generic classes, procedures and types in twinBASIC
 - [Parameterized class constructors](../../../../Features/Advanced/Classes-and-Modules#parameterized-class-constructors) -- the **Sub New** that each tuple class declares
 - [New](../../../Core/New) operator -- creates an object, passing arguments to its constructor
-
-## Test cases
-
-The notes and warnings of this section are checked by the test cases in [Generics-tests.twinproj](Generics-tests.twinproj), a twinBASIC project. It uses Generics as a [linked package](../../../../Features/Packages/Linked#manual-management): put the package's `.twinpack` in `%APPDATA%\twinBASIC\packages`, then run the project, and each case prints whether it passes.
diff --git a/docs/Reference/Contributed/OLEGuids/IDispatchUnrestricted.md b/docs/Reference/Contributed/OLEGuids/IDispatchUnrestricted.md
index a6274f418..add6bb1d6 100644
--- a/docs/Reference/Contributed/OLEGuids/IDispatchUnrestricted.md
+++ b/docs/Reference/Contributed/OLEGuids/IDispatchUnrestricted.md
@@ -90,8 +90,8 @@ Calls the member with the dispatch identifier *DispId*. *riid* is reserved and h
 
 The package declares no `EXCEPINFO` type, and the **stdole** type cannot be used: some of its members are of unsigned types, which twinBASIC does not support, as VB6 does not, so a variable of it does not compile (TB5106). A project that wants the details declares a structure of the same layout with signed members, as the [IDispatch](../../../../Reference/COM-Interfaces/IDispatch) page does.
 
-
-A member that raises an error is reported in one of two ways. With *lpexcepinfo* set to 0, the member's own error is raised: an `Err.Raise 5, , "boom"` in the member raises error 5 with the description *boom*. With *lpexcepinfo* the address of a structure, the call raises error -2147352567, which is `DISP_E_EXCEPTION` (`&H80020009`), and the structure holds the error: *scode* is the Windows code of the member's error (`&H800A0005` for error 5), and *bstrSource* and *bstrDescription* are its source and description.
+
+A member that raises an error makes the call raise error -2147352567, which is `DISP_E_EXCEPTION` (`&H80020009`), with the member's description: an `Err.Raise 5, , "boom"` in the member raises -2147352567 with the description *boom*. With *lpexcepinfo* the address of a structure, the structure also holds the error: *scode* is the Windows code of the member's error (`&H800A0005` for error 5), and *bstrSource* and *bstrDescription* are its source and description. With *lpexcepinfo* set to 0 there is no structure to fill, and the call raises the same error, as a VB6 object's **Invoke** returns `DISP_E_EXCEPTION` then too.
 
 
 
diff --git a/docs/Reference/Contributed/OLEGuids/IUnknownUnrestricted.md b/docs/Reference/Contributed/OLEGuids/IUnknownUnrestricted.md
index 7c4995740..4c69e96ec 100644
--- a/docs/Reference/Contributed/OLEGuids/IUnknownUnrestricted.md
+++ b/docs/Reference/Contributed/OLEGuids/IUnknownUnrestricted.md
@@ -32,7 +32,7 @@ A pointer that **QueryInterface** returns comes with a reference, which the call
 
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > When the interface is not supported, the COM contract sets *ppvObject* to 0. An object of a class that the project compiles --- a class, a form, a control --- returns `E_NOINTERFACE` and leaves the variable as it was. The runtime's own objects, such as a **Collection**, set it to 0, as every object of VB6 does. Set the variable to 0 before the call, and test the result rather than the pointer.
 
 ```tb check_run
diff --git a/docs/Reference/Contributed/TBMANLIB/cHttpClient.md b/docs/Reference/Contributed/TBMANLIB/cHttpClient.md
index b1e529ef8..0058fc5b1 100644
--- a/docs/Reference/Contributed/TBMANLIB/cHttpClient.md
+++ b/docs/Reference/Contributed/TBMANLIB/cHttpClient.md
@@ -63,7 +63,7 @@ Several error texts of the class are written in Chinese. The ones that are not a
 > The class ignores every certificate error: an expired certificate, one from an unknown authority and one issued for another name are all accepted. An HTTPS request therefore encrypts the traffic, but does not prove who the server is, and a program that sends a password or a key with it can send it to an impostor.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The compiler refuses an assignment written through a public dictionary field of an object, such as `Http.RequestHeaders("X-Key") = "1"`, with TB5090. Write the default member out: `Http.RequestHeaders.Item("X-Key") = "1"`. Reading `Http.RequestHeaders("X-Key")` is accepted.
 
 ## Request settings
diff --git a/docs/Reference/Contributed/TBMANLIB/index.md b/docs/Reference/Contributed/TBMANLIB/index.md
index 5af3af7d1..4a40d8eef 100644
--- a/docs/Reference/Contributed/TBMANLIB/index.md
+++ b/docs/Reference/Contributed/TBMANLIB/index.md
@@ -80,7 +80,7 @@ The references of a package are not visible to the project that uses it. A progr
 The package is built for 32-bit programs. The window procedure that **cSubClass** installs is passed to **SetWindowLong** as a **Long**, which a 64-bit program cannot hold.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A project that embeds TBMANLIB and is built for 64-bit programs (**Win64**) does not compile. The compiler reports TB5001 in `cSubClass.twin`, *Validation of call to 'SetWindowLong' failed. Argument for 'dwNewLong': cannot coerce type 'Callback' to 'Long'*, even when the program uses nothing of the package. The package can be used in 32-bit programs only.
 
 The other components are available to 32-bit programs.
diff --git a/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/Helpers.md b/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/Helpers.md
index 517f58acc..884fbe129 100644
--- a/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/Helpers.md
+++ b/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/Helpers.md
@@ -260,7 +260,7 @@ Debug.Print columns(0) & " " & columns(1) & " " & columns(2)
 
 The output is that of a console of 80 columns by 25 rows, which is also the size that a program without a console gets.
 
-> [!NOTE] 1.0.0.1, BETA 1034
+> [!NOTE] 1.0.0.1, BETA 1042
 > A program that references the packages TBMANLIB_ConsoleCore and TBMANLIB_ConsoleComponents cannot read what the members that give a **ConsoleRect** or a **ConsolePosition** return: the compiler refuses the members of the value and its assignment to a variable of the type. The members that give a **Long** or an array of **Long** compile. A **cLayoutHelper** cannot be made with the **cConsole** of the published package at all; see [The two packages](./#the-two-packages).
 
 
diff --git a/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/index.md b/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/index.md
index bf347242f..c8a0251dd 100644
--- a/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/index.md
+++ b/docs/Reference/Contributed/TBMANLIB_ConsoleComponents/index.md
@@ -33,7 +33,7 @@ con.Restore
 ```
 
 
-> [!WARNING] 1.0.0.1, BETA 1034
+> [!WARNING] 1.0.0.1, BETA 1042
 > The components that take a **cConsole** cannot be used with the published package [TBMANLIB_ConsoleCore](../TBMANLIB_ConsoleCore/). The package compiles, but the constructors of [**cProgressBar**](cProgressBar), [**cSparkline**](cSparkline), [**cVBar**](cVBar), [**cDataGrid**](cDataGrid), [**cConsoleLayout**](cConsoleLayout) and [**cLayoutHelper**](Helpers), and the members of [**cConsolePanel**](cConsolePanel) that take a **cConsoleBuffer**, raise error -2147467262, *No such interface supported*, when they are given an object of the published ConsoleCore, and a program cannot read the **ConsoleRect** and **ConsolePosition** values that the components return. The package carries a copy of ConsoleCore of its own, and the compiler treats the types of that copy as different from the types of the published package. [The two packages](#the-two-packages) has the details, and the one arrangement in which the components work. Only [**cConsoleTheme**](cConsoleTheme), the module **mConsoleThemeFactory**, [**cColorHelper**](Helpers#ccolorhelper-class) and the geometry of **cConsolePanel** work with the package as it is. A sample on these pages that makes a component with a **cConsole** raises this error in a project that references both packages; the output it shows is that of the code of the components compiled into the program's own project.
 
 * TOC
diff --git a/docs/Reference/Contributed/TBMANLIB_Diagnostic/List.md b/docs/Reference/Contributed/TBMANLIB_Diagnostic/List.md
index 52d264636..7a1b24605 100644
--- a/docs/Reference/Contributed/TBMANLIB_Diagnostic/List.md
+++ b/docs/Reference/Contributed/TBMANLIB_Diagnostic/List.md
@@ -94,7 +94,7 @@ Debug.Print blank.Count
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In a 32-bit run in the IDE, **Err.Description** of the error that **SetItem** raises here is *Automation error*, not *Invalid procedure call or argument*, when the list is declared with `Dim one As New List(Of String)`. **Err.Number** is 5 in every run. A built program, 32-bit or 64-bit, and a 64-bit run in the IDE give the text *Invalid procedure call or argument*, as VB6 does for the same call of **Collection.Add**. A program that tests the number is not affected.
 
 * TOC
diff --git a/docs/Reference/Contributed/WinReg/index.md b/docs/Reference/Contributed/WinReg/index.md
index a9ca0cadc..cc04705af 100644
--- a/docs/Reference/Contributed/WinReg/index.md
+++ b/docs/Reference/Contributed/WinReg/index.md
@@ -16,7 +16,7 @@ The **WinReg** contributed package provides a Windows Registry helper class that
 The root keys, such as `HKEY_CURRENT_USER`, are members of **RegKeyspace**, so a project names them with **WinReg** alone. **WinReg** references the **WinDevLib** package, but a project does not see the names a package's own references declare. A project that names `BOOL` or `REGTYPES`, or calls `RegOpenKeyEx` or `RegCloseKey` and uses the `KEY_*` constants, as some examples here do, references **WinDevLib** as well. One that declares the **Dictionary** that [**EnumValues**](RegCls/EnumValues) returns references the Microsoft Scripting Runtime.
 
 
-> [!NOTE] 1.0.1.1, BETA 1034
+> [!NOTE] 1.0.1.1, BETA 1042
 > The package does not compile, so a project that references it does not build. **RegCls** declares `RegCreateKeyEx` and `RegEnumKeyEx` with a `ByRef` structure parameter, *lpSecurityAttributes* (`SECURITY_ATTRIBUTES`) and *lpftLastWriteTime* (`FILETIME`), and passes `VarPtr(0&)` for it in [**WriteString**](RegCls/WriteString), [**WriteDWORD**](RegCls/WriteDWORD), [**CreateKey**](RegCls/CreateKey) and [**DeleteKeyEx**](RegCls/DeleteKeyEx). A pointer passed for a structure has to be passed `ByVal` (error TB5001). `VarPtr(0&)` is also the address of a temporary **Long**, not a null pointer; `ByVal vbNullPtr` passes a null pointer. The behaviour described on these pages is that of the package with those four calls passed `ByVal`.
 
 > [!WARNING] 1.0.1.1
diff --git a/docs/Reference/Contributed/tsJson/JsonOptions.md b/docs/Reference/Contributed/tsJson/JsonOptions.md
index cbd2bda6a..a67f44750 100644
--- a/docs/Reference/Contributed/tsJson/JsonOptions.md
+++ b/docs/Reference/Contributed/tsJson/JsonOptions.md
@@ -45,7 +45,7 @@ A property of an options object checks nothing when it is set. The value is used
 > ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The class declares a **Private** constructor and the attribute `[COMCreatable(False)]`, so that only its presets create options objects. twinBASIC does not enforce a **Private** constructor, and a project that references the package can still create an object with **New**. Every property of such an object has the empty value of its type: **Indent** 0, an empty **Newline**, **Syntax** **jsRfc8259**, and a limit of 0, which means no limit. The text it writes has no line breaks and no indentation, but still a space after each colon. The presets are the way to get the defaults.
 >
 > ```tb check_build check_run
diff --git a/docs/Reference/Contributed/tsPwGen/PwGenOptions.md b/docs/Reference/Contributed/tsPwGen/PwGenOptions.md
index 56977fd8d..f85b31b48 100644
--- a/docs/Reference/Contributed/tsPwGen/PwGenOptions.md
+++ b/docs/Reference/Contributed/tsPwGen/PwGenOptions.md
@@ -46,7 +46,7 @@ A property of a recipe checks nothing when it is set. A value that cannot be use
 > ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > The class declares a **Private** constructor and the attribute `[COMCreatable(False)]`, so that only its presets create recipes. twinBASIC does not enforce a **Private** constructor, and a project that references the package can still create an object with **New**. It is a recipe in which every property has the empty value of its type: **Length** 0, no class enabled, empty strings, **MinPerClass** 0, **Mode** **pgmRandom** and **RandomSource** **Nothing**. **Generate** returns an empty string for it, with the error `InvalidLength`, until the properties are set. The presets are the way to get the defaults.
 >
 > ```tb check_build check_run
diff --git a/docs/Reference/Contributed/xCalendar/index.md b/docs/Reference/Contributed/xCalendar/index.md
index e60416b58..3c94a6710 100644
--- a/docs/Reference/Contributed/xCalendar/index.md
+++ b/docs/Reference/Contributed/xCalendar/index.md
@@ -51,7 +51,7 @@ Debug.Print cal.Year
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > `Dim cal As xCalendar` fails with TB5139, *[xCalendar] is a project or library, not a datatype*.
 >
 > ```tb check_build expect-error=TB5139
@@ -67,7 +67,7 @@ Debug.Print d, m   ' 2 1
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > `ShortLength` and `LongLength` written alone fail with TB5073, *'ShortLength' is ambiguous*.
 >
 > ```tb check_build expect-error=TB5073
diff --git a/docs/Reference/Core/Const.md b/docs/Reference/Core/Const.md
index d4d2c0232..b9973805c 100644
--- a/docs/Reference/Core/Const.md
+++ b/docs/Reference/Core/Const.md
@@ -50,7 +50,7 @@ When the constant type is not explicitly declared by using **As** *type*, the co
 Constants declared in a **Sub**, **Function**, or **Property** procedure are local to that procedure. A constant declared outside a procedure is defined throughout the module in which it is declared. Constants can be used anywhere an expression is allowed.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Parentheses after a constant that is not an [array constant](#array-constants) compile, where they should not. `K(1, 2)` gives the value of `K`, and the arguments are dropped without being evaluated, so a function called in them does not run. A constant with the name of a function hides it: with `Private Const Left As Long = 1`, `Left("abcd", 2)` is 1. VB6 refuses each of these lines with *Expected array*.
 
 ## Array constants
@@ -84,11 +84,11 @@ Debug.Print Total               ' 28
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A module-level **Single** array constant whose element is too large for a **Single**, such as `Const Big() As Single = Array(1E+39)`, compiles without an error, and the element holds infinity. An array constant declared after it whose element calls **Sqr**, **Timer** or **Rnd** is then compile error **TB5001**, although it is correct.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In a module, an array constant declared after a procedure is compile error **TB5079**, *Unrecognized symbol*, in the procedures that follow it. The procedures before it see an empty array: reading an element raises error 9. Declare array constants above the module's first procedure.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/Declare.md b/docs/Reference/Core/Declare.md
index 118af8a6d..e8c3e1041 100644
--- a/docs/Reference/Core/Declare.md
+++ b/docs/Reference/Core/Declare.md
@@ -115,11 +115,11 @@ Declare Sub Second Lib "MyLib" ()
 > - The **vbNullString** constant is used when calling external procedures, where the external procedure requires a string whose value is zero. This is not the same thing as a zero-length string ("").
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > In a 64-bit build with [LLVM](../../LLVM/Getting-Started), a call that passes `ByVal 0&` for the eighth parameter, declared `ByRef` with a 32-bit type such as **Long**, to give the procedure a NULL pointer, can end with an access violation (0xC0000005) and no message box. The eighth parameter of **WideCharToMultiByte** is one such case. Whether the call fails depends on what the stack held before it. The same override for the first to seventh parameters is right. Declare the parameter `ByVal ... As LongPtr` instead. A 32-bit build and a build without LLVM are not affected.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > In a 32-bit build, a call of a DLL procedure whose **Declare** names the wrong calling convention, or the wrong number of parameters, raises no error. The call returns, with a wrong value when a parameter is missing, and the procedure that made the call ends with an access violation as it returns; in an IDE run the compiler's process ends with it and restarts. VB6 raises error 49, *Bad DLL calling convention*, at the call in its IDE and in a P-Code exe. A call of a statically linked function raises an error instead; see [Calling Conventions](../../Features/Advanced/API-Declarations#calling-conventions). [**[DLLStackCheck(False)]**](Attributes#dllstackcheck) on the **Declare** turns the same check on for its calls.
 
 ### Example
diff --git a/docs/Reference/Core/Delegate.md b/docs/Reference/Core/Delegate.md
index d88df21fc..bd7421478 100644
--- a/docs/Reference/Core/Delegate.md
+++ b/docs/Reference/Core/Delegate.md
@@ -13,7 +13,7 @@ Declares a function-pointer type --- a named signature that variables, parameter
 > The **Delegate** statement is a twinBASIC extension. In classic VBA, function pointers are untyped **LongPtr** values produced by **AddressOf** and called indirectly through custom mechanisms (`DispCallFunc`, `CallWindowProc` shims, etc.).
 
 Syntax:
-- > { **Public** \| **Private** } **Delegate Function** *name* [ *callconv* ] **(** [ *arglist* ] **)** **As** *type*
+- > { **Public** \| **Private** } **Delegate Function** *name* [ *callconv* ] **(** [ *arglist* ] **)** [ **As** *type* ]
 - > { **Public** \| **Private** } **Delegate Sub** *name* [ *callconv* ] **(** [ *arglist* ] **)**
 
 **Public**
@@ -31,17 +31,22 @@ Syntax:
 *arglist*
 : *optional* Parameter signature, written exactly as for a [**Sub**](Sub) or [**Function**](Function) --- comma-separated `[ ByVal | ByRef ] [ Optional ] *varname* [ As *type* ]` parts.
 
+
 *type*
-: Return type of a **Function** delegate's signature.
+: *optional* Return type of a **Function** delegate's signature. Without **As** *type* the return type is **Variant**, and the compiler reports [TB0003](../../Features/Compiler-IDE/Compiler-Warnings#tb0003-implicit-variant-data-type), as it does for a [**Function**](Function).
+
+
+```tb probe id=delegate-tb0003 slot=file expect-error=TB0003
+[EnforceErrors(TB0003)]
+Module ProbeDelegateWithoutAs
+    Private Delegate Function NoReturnType (ByVal A As Long)
+End Module
+```
 
 After the declaration, *name* may be used wherever a type is allowed: to declare variables and parameters of function-pointer type, as the type of a member of a [**Type**](Type) (UDT), or as a parameter type in a [**Declare**](Declare) statement or an [**Interface**](Interface) member.
 
 A delegate value is normally produced by **AddressOf**, which yields a delegate-typed reference to a regular procedure with a matching signature. A procedure that does not match causes only a warning, TB0026 *Mismatched delegate type*, and the program still builds; its arguments then arrive in a form it does not expect. See [Passing a function as an argument](../../Features/Language/Delegates#callbacks) for what that looks like and how to make it an error. For backwards compatibility, a delegate variable can also be assigned a plain **LongPtr** address obtained by other means --- the value passes through unchecked. A delegate variable is called like a function: `result = myDelegate(arg1, arg2)`.
 
-
-> [!NOTE] BETA 1034
-> After a **Delegate** statement, the next [**Friend**](Friend), **ReadOnly**, **WithEvents**, [**Implements**](Implements) or **Inherits** in the same class is refused with TB5182, *Syntax error. No handler for this symbol*. A procedure, a [**Declare**](Declare) or an [**Event**](Event) ends the effect; a blank line, a variable, a **Const**, a **Type**, an **Enum**, an attribute or another **Delegate** does not. Put the **Delegate** after those statements, at the end of the class if necessary: a delegate type can be used before its declaration. A **Delegate** in a **Module** does not affect a class that follows it in the same file.
-
 ### Example
 
 A basic delegate, declared, assigned, and called:
@@ -59,6 +64,20 @@ Private Sub Command1_Click()
 End Sub
 ```
 
+In a class, a **Private** delegate can stand anywhere among the declarations, and any member can follow it:
+
+```tb check_build
+Class Sorter
+    Private Delegate Function Comparer (ByVal A As Long, ByVal B As Long) As Long
+    Private ReadOnly mCreated As Date = Now()
+    Private mCompare As Comparer
+
+    Friend Sub SetComparer(ByVal Compare As Comparer)
+        mCompare = Compare
+    End Sub
+End Class
+```
+
 A delegate used as a UDT member, modelling the `lpfnHook` field of the Windows `CHOOSECOLOR` struct. Existing code that assigns a **Long**/**LongPtr** to `lpfnHook` continues to work; new code can assign **AddressOf** *Handler* directly, and the compiler warns if its signature does not match:
 
 ```tb inert=external
diff --git a/docs/Reference/Core/Divide.md b/docs/Reference/Core/Divide.md
index 3ab8ce8b3..7e4fe53fe 100644
--- a/docs/Reference/Core/Divide.md
+++ b/docs/Reference/Core/Divide.md
@@ -37,7 +37,7 @@ A **Single** divided by a **Long**, **LongLong**, **Double**, **Currency** or **
 Dividing by zero raises error 11, *Division by zero*, and zero divided by zero raises error 6, *Overflow*. Use [**\\**](IntegerDivide) for truncating-integer division and [**Mod**](Mod) for remainder.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A division whose result is a declared **Single** raises no error when the result overflows: the **Single** holds infinity (`1.#INF`) instead. VB6 raises error 6, *Overflow*. A division by zero stored in a declared **Single** raises no error either, whatever the types of its operands: the **Single** holds infinity, or NaN (`-1.#IND`) for zero divided by zero, where VB6 raises error 11, *Division by zero*, or error 6. Nor does a comparison of a **Single** divided by zero, as in `If x / 0! > 0 Then`. Compiled with LLVM, the division raises each error as it should. Store the quotient in a **Double** where the error must be caught.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/Error.md b/docs/Reference/Core/Error.md
index 4b6193f92..7fc0fedf2 100644
--- a/docs/Reference/Core/Error.md
+++ b/docs/Reference/Core/Error.md
@@ -31,7 +31,7 @@ If *errornumber* is defined, the **Error** statement calls the error handler aft
 If no error handler exists or if none is enabled, an error message is created and displayed from the **Err** object properties.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > An error that a class member raises with the **Error** statement reaches a caller that called the member late-bound --- through an **Object** variable or [**CallByName**](../Modules/Interaction/CallByName) --- as error -2147352567 (`&H80020009`), *Exception occurred.*, not as *errornumber*. VB6 raises *errornumber*. An early-bound caller receives *errornumber* unchanged.
 
 ### Example
diff --git a/docs/Reference/Core/For-Each-Next.md b/docs/Reference/Core/For-Each-Next.md
index ff708e331..e06e34bae 100644
--- a/docs/Reference/Core/For-Each-Next.md
+++ b/docs/Reference/Core/For-Each-Next.md
@@ -51,7 +51,7 @@ The **For...Each...Next** statement cannot be used with an array of user-defined
 An object of a class can be the *group* when the class has a member marked [**[Enumerator]**](Attributes#enumerator) that supplies an enumerator. See [Custom Enumerators](../../Features/Language/Custom-Enumerators) for how to write one.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A **For Each** that cannot get an enumerator from *group* never ends when it runs under `On Error Resume Next`, or under an error handler that ends with **Resume Next**. That happens when *group* is **Nothing**, an object of a class with no **[Enumerator]** member, or an object whose **[Enumerator]** member returns **Nothing** or raises an error. The error resumes into the loop body, and **Next** raises error 91 and goes back to the body, again and again. Test *group* before the loop. VB6 runs the body once, then raises error 92 at **Next**, and the loop ends.
 
 ### Example
diff --git a/docs/Reference/Core/For-Next.md b/docs/Reference/Core/For-Next.md
index 26a2360fe..627d8b002 100644
--- a/docs/Reference/Core/For-Next.md
+++ b/docs/Reference/Core/For-Next.md
@@ -55,7 +55,7 @@ The *step* argument can be either positive or negative. The value of the *step*
 After all statements in the loop have executed, *step* is added to *counter*. At this point, either the statements in the loop execute again (based on the same test that caused the loop to execute initially), or the loop is exited and execution continues with the statement following the **Next** statement.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > With [LLVM](../../LLVM/Getting-Started), a loop whose *step* is a `ByVal` **Long** or **Single** parameter of the procedure runs with a wrong step, or a wrong *start* or *end* when those are parameters too, when a later parameter of the procedure is declared `ByRef ... As Boolean` or `ByRef ... As Integer`. The wrong value depends on where the caller's argument for that parameter is stored: for a local variable, 20 in a 64-bit exe and 25 in a 32-bit exe, and other values in a run in the IDE. No error is raised. Declare that parameter `ByVal`, or place it before the *step* parameter.
 
 > [!TIP]
diff --git a/docs/Reference/Core/Friend.md b/docs/Reference/Core/Friend.md
index 40651d7f9..30b839049 100644
--- a/docs/Reference/Core/Friend.md
+++ b/docs/Reference/Core/Friend.md
@@ -17,17 +17,11 @@ In a procedure declaration, **Friend** takes the place of **Public**, **Private*
 
 Every module and class of the project can use a **Friend** member, through a variable of the class's own type. The class does not publish it: the type library of an ActiveX DLL lists no **Friend** procedure or variable. Use **Friend** for what the classes of a project need from one another, and that a client of the class should not call.
 
-
-> [!NOTE] BETA 1034
-> A **Friend** member also answers late-bound calls, through an **Object** or **Variant** variable and through [**CallByName**](../Modules/Interaction/CallByName), because the compiler's [**IDispatch**](../../Reference/COM-Interfaces/IDispatch#classes-written-in-twinbasic) finds it. This holds for an object passed to another project too, so that project can call its **Friend** procedures and read and write its **Friend** variables. VB6 raises error [438](tb:Errors#438), as twinBASIC does for a **Private** member. Do not rely on **Friend** to keep a member away from code outside the project.
+A project that references a package can use the **Friend** members of the package's classes, as it can its own.
 
 
-> [!NOTE] BETA 1034
-> A project that references a package can use the **Friend** members of the package's classes, as if they were **Public**.
-
-
-> [!NOTE] BETA 1034
-> The first **Friend** after a [**Delegate**](Delegate) statement is refused with TB5182, *Syntax error. No handler for this symbol*, even though nothing is wrong with it. Move the **Delegate** to the end of the class. The [**Delegate**](Delegate) page says what else this affects.
+> [!NOTE] BETA 1042
+> A **Friend** member also answers late-bound calls, through an **Object** or **Variant** variable and through [**CallByName**](../Modules/Interaction/CallByName), because the compiler's [**IDispatch**](../../Reference/COM-Interfaces/IDispatch#classes-written-in-twinbasic) finds it. This holds for an object passed to another project too, so that project can call its **Friend** procedures and read and write its **Friend** variables. VB6 and 64-bit VBA raise error [438](tb:Errors#438), as twinBASIC does for a **Private** member. Do not rely on **Friend** to keep a member away from code outside the project.
 
 ## Where it can be used
 
@@ -57,7 +51,7 @@ In VB6, a **Private** **Type** or **Enum** can be a parameter or the return type
 A class that [**Implements**](Implements) another class does not have to provide its **Friend** procedures. Calling one through a variable of the implemented class, on an object of the implementing class, raises error [97](tb:Errors#97), *Can not call friend function on object which is not an instance of defining class*, as it does in VB6. A **Friend** variable is different: the implementing class must provide it, as a **Property Get** and a **Property Let**.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > In a 32-bit build, that call damages the stack unless the procedure's arguments and return value take exactly one stack slot besides **Me**. It raises error 97 correctly from a **Sub** with one argument of 4 bytes or less, from a **Function** or **Property Get** with no arguments, and from a **Property Let** with one such value. Any other signature, such as `Function F(ByVal X As Long) As Long`, a **Sub** with two arguments or a **Sub** with a **ByVal Currency** argument, ends an exe with an access violation before a handler runs, and a run in the IDE does not return. A **Sub** with no arguments raises an error 97 that **On Error** does not keep: in an exe the handler runs, and then the program stops with an error box when the procedure returns. A 64-bit build is not affected. Do not call a **Friend** procedure on an object that may be of an implementing class.
 
 A class that [**Inherits**](../../Features/Language/Inheritance#inherits-for-complete-oop) another class inherits its **Friend** members, and they stay available to the whole project. A **Friend Overridable** procedure is overridden in the usual way.
diff --git a/docs/Reference/Core/Get.md b/docs/Reference/Core/Get.md
index b69c5cf79..c8f4d732a 100644
--- a/docs/Reference/Core/Get.md
+++ b/docs/Reference/Core/Get.md
@@ -25,7 +25,7 @@ Syntax:
 : Valid variable name into which data is read.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Get** raises run-time error -2147467259 (`&H80004005`) for a *filenumber* that is not open, where VB6 raises 52 (*Bad file name or number*).
 
 Data read with **Get** is usually written to a file with [**Put**](Put). The first record or byte in a file is at position 1, the second record or byte is at position 2, and so on. When *recnumber* is omitted, the next record or byte following the last **Get** or **Put** statement (or pointed to by the last [**Seek**](../Modules/FileSystem/Seek) function) is read. The delimiting commas must be included:
diff --git a/docs/Reference/Core/GoSub-Return.md b/docs/Reference/Core/GoSub-Return.md
index f169027d6..dce70ba4d 100644
--- a/docs/Reference/Core/GoSub-Return.md
+++ b/docs/Reference/Core/GoSub-Return.md
@@ -25,7 +25,7 @@ Use **GoSub** and **Return** anywhere in a procedure, but **GoSub** and the corr
 > **GoSub...Return** cannot enter or exit [**Sub**](Sub) procedures.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A program built with [LLVM](../../LLVM/Getting-Started) ends with an access violation (0xC0000005) and no message box at the first **GoSub** it runs, in a 32-bit and in a 64-bit build. A program built without LLVM, and a run in the IDE, are not affected.
 
 > [!TIP]
diff --git a/docs/Reference/Core/Graphics-Methods.md b/docs/Reference/Core/Graphics-Methods.md
index 5f2161646..dfb33117e 100644
--- a/docs/Reference/Core/Graphics-Methods.md
+++ b/docs/Reference/Core/Graphics-Methods.md
@@ -123,11 +123,11 @@ The method must accept the whole argument list: six arguments for **Line**, eigh
 The plain call forms are not rewritten. `o.Line 99, 1, 2, 3, 4, 5` and `Call o.Line(99, 1, 2, 3, 4, 5)` pass their arguments through unchanged. A trailing comma is accepted after the second point of **Line** and after the point of **PSet**, but not after the radius of **Circle**, where it is error TB5075.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A call of **Scale** or **Line** with a single point in parentheses, such as `o.Scale (2, 3)`, `o.Scale(2, 3)` or `o.Line (2, 3)`, compiles and does nothing: the method is not called and no error is raised. VB6 reports a syntax error. Write the call with **Call**, or without parentheses: `Call o.Scale(2, 3)` or `o.Scale 2, 3`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A call of **Scale** or **Line** with a single value in parentheses, such as `o.Scale(2)`, is error TB5212, because the compiler reads the graphics syntax from the method name. Write `Call o.Scale(2)` or `o.Scale 2`.
 >
 > ```tb check_build expect-error=TB5212 slot=file id=scale-single-value
@@ -170,7 +170,7 @@ The built-in surfaces read *Color* as a **Long**. When *Color* is left out they
 The line of a **Line** and the fill of **BF** use the same rule, as does the circle of **Circle** and the point of **PSet**.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > System colours are read wrongly. VB6 takes the system colour index from the low 16 bits of the value, so that `&H80010003` draws system colour 3 and `&H80FF000F` draws system colour 15. twinBASIC draws both black, without raising an error, because it reads the value as a system colour only when it lies between `&H80000000` and `&H8000001E`. Pass a system colour as one of the `vb` constants, such as `vbButtonFace`, or as `&H800000nn` with nothing in the second and third bytes.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/Implements.md b/docs/Reference/Core/Implements.md
index e92e2e84f..95383f740 100644
--- a/docs/Reference/Core/Implements.md
+++ b/docs/Reference/Core/Implements.md
@@ -41,7 +41,7 @@ twinBASIC extends classic VBA's **Implements** in several ways. See [Inheritance
 > Use `Private` (or `Friend`) on the implementing procedures so that the interface methods don't also become part of the implementing class's *default* interface. The conventional naming pattern is `_`.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A class that implements another class need not provide its [**Friend**](Friend) procedures, and a call to one through a variable of the implemented class raises error [97](tb:Errors#97). In a 32-bit build, most signatures end the program with an access violation instead. See [**Friend**](Friend#implements-inherits-and-via).
 
 ### Example
diff --git a/docs/Reference/Core/LSet.md b/docs/Reference/Core/LSet.md
index 7771bea75..b82353b0f 100644
--- a/docs/Reference/Core/LSet.md
+++ b/docs/Reference/Core/LSet.md
@@ -42,13 +42,13 @@ Debug.Print "[" & v & "]"   ' [ab   ]
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A **Variant** *stringvar* that holds a **Boolean** is aligned within `-1` or `0`, the text of its number, not within `True` or `False`: with `v = True`, `LSet v = "ab"` leaves `ab`, and with `v = False` it leaves `a`. VB6 leaves `ab  ` and `ab   `. **RSet** aligns within `True` and `False`. Assign the text to the **Variant** first, as `v = CStr(v)`.
 
 A **Variant** *stringvar* that holds an object raises error 450, *Wrong number of arguments or invalid property assignment*.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **LSet** on an element of a **Variant** that holds an array, such as `LSet v(0) = "zz"` with `v = Array("0123456789", "abcde")` or a **Variant** that was given its bounds with **ReDim**, changes nothing and raises no error. VB6 changes the element. An element of an array declared `Dim w(0 To 1) As Variant` works. To change an element of a **Variant** array, copy it to a **String** variable, use **LSet** on the variable and assign the variable back.
 
 When copying between user-defined types, **LSet** copies as many bytes as the smaller of the two types holds. If *varname1* is larger than *varname2*, its bytes beyond the end of the source keep their old values. Both types must be free of variable-length **String**, **Variant**, **Object** and dynamic-array fields; the compiler refuses the statement otherwise (error TB5249). Fixed-length **String** fields are allowed.
diff --git a/docs/Reference/Core/LeftShift.md b/docs/Reference/Core/LeftShift.md
index 9fe7949fe..8103bea23 100644
--- a/docs/Reference/Core/LeftShift.md
+++ b/docs/Reference/Core/LeftShift.md
@@ -42,7 +42,7 @@ An integer literal with no type suffix is an **Integer**, so `1 << 20` shifts a
 > Convert such a value with [**CLng**](../Modules/Conversion/CLng) or [**CLngLng**](../Modules/Conversion/CLngLng) before shifting it.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Code compiled with LLVM cuts the shift count to the size of the shifted **Byte** or **Integer** before shifting: for a **Byte**, a count of 256 becomes 0 and 257 becomes 1. So a **Byte** shifted by 256 is unchanged, where the result should be 0, as it is without LLVM. An **Integer** shifted by 65,536 or more behaves the same way. A **Long** or **LongLong** is not affected.
 
 ### Compound assignment
diff --git a/docs/Reference/Core/Let.md b/docs/Reference/Core/Let.md
index 73c6ab1be..b8bc3325d 100644
--- a/docs/Reference/Core/Let.md
+++ b/docs/Reference/Core/Let.md
@@ -41,7 +41,7 @@ Debug.Print V               ' Arial
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An object whose default member needs an argument, such as a **Collection** or a **Scripting.Dictionary**, assigned to a **Variant** without **Set**, is stored in the **Variant** with no error when it comes from a function, from `New Collection` or from **CreateObject**; so is an object of a class with no default member that a function returns. VB6 raises error 450, *Wrong number of arguments or invalid property assignment*, or error 438, and leaves the **Variant** as it was. The same object in a variable raises -2147352561, *Parameter not optional.*, where VB6 raises 450. Use **Set** to assign an object.
 
 ### Example
diff --git a/docs/Reference/Core/Line-Input.md b/docs/Reference/Core/Line-Input.md
index abb395a02..341f8b0f1 100644
--- a/docs/Reference/Core/Line-Input.md
+++ b/docs/Reference/Core/Line-Input.md
@@ -25,7 +25,7 @@ The **Line Input #** statement reads from a file one character at a time until i
 Reading past the last line of the file raises run-time error 62 (*Input past end of file*), and leaves *varname* unchanged. Test for the end of the file with [**EOF**](../Modules/FileSystem/EOF) before each read.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Line Input #** raises run-time error -2147467259 (`&H80004005`) for a *filenumber* that is not open, where VB6 raises 52 (*Bad file name or number*).
 
 ### Example
diff --git a/docs/Reference/Core/Minus.md b/docs/Reference/Core/Minus.md
index 1957dd37f..3cc60abd2 100644
--- a/docs/Reference/Core/Minus.md
+++ b/docs/Reference/Core/Minus.md
@@ -40,7 +40,7 @@ The data type of *result* is usually the same as that of the most precise expres
 A declared (non-**Variant**) result that overflows raises error 6, *Overflow*. If one or both expressions are **Null** expressions, *result* is **Null**. If an expression is **Empty**, it is treated as 0.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A subtraction whose result is a declared **Single** raises no error when the result overflows: the **Single** holds infinity (`1.#INF`) instead. VB6 raises error 6, *Overflow*. The compound form **-=** does the same. Declare the variable **Double** where an overflow must be caught.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/Multiply.md b/docs/Reference/Core/Multiply.md
index fbf16607a..a5c04cec5 100644
--- a/docs/Reference/Core/Multiply.md
+++ b/docs/Reference/Core/Multiply.md
@@ -36,7 +36,7 @@ The data type of *result* is usually the same as that of the most precise expres
 A declared (non-**Variant**) result that overflows raises error 6, *Overflow*. If one or both expressions are **Null** expressions, *result* is **Null**. If an expression is **Empty**, it is treated as 0.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A multiplication whose result is a declared **Single** raises no error when the result overflows: the **Single** holds infinity (`1.#INF`) instead. VB6 raises error 6, *Overflow*. The compound form ***=** does the same. Declare the variable **Double** where an overflow must be caught.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/Name.md b/docs/Reference/Core/Name.md
index 99efad68a..01cdb4e7c 100644
--- a/docs/Reference/Core/Name.md
+++ b/docs/Reference/Core/Name.md
@@ -23,7 +23,7 @@ The **Name** statement renames a file and moves it to a different directory or f
 Using **Name** on an open file produces an error. An open file must be closed before renaming it. **Name** arguments cannot include multiple-character (`*`) and single-character (`?`) wildcards.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Each of these failures of **Name** raises run-time error -2147467259 (`&H80004005`), where VB6 raises the numbered error shown:
 >
 > - 53 (*File not found*) when *oldpathname* does not exist;
diff --git a/docs/Reference/Core/New.md b/docs/Reference/Core/New.md
index 710fd359b..73a451441 100644
--- a/docs/Reference/Core/New.md
+++ b/docs/Reference/Core/New.md
@@ -41,7 +41,7 @@ When **New** is used in an initializer inside a procedure, the instance is creat
 > **New** cannot be used together with **WithEvents** in a declaration. To connect an event-aware object reference, declare the variable with **WithEvents** and assign it later with **Set**.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A declaration written **As New** on an [**Interface**](Interface) compiles, although **New** on an interface in a **Set** statement is error **TB5074**. The object it makes has nothing behind its members: a **Sub** does nothing, a **Function** returns 0, and a member inherited from another interface ends the program with an access violation.
 
 ### Example
diff --git a/docs/Reference/Core/On-Error.md b/docs/Reference/Core/On-Error.md
index 7f2477ca6..0b9d9955f 100644
--- a/docs/Reference/Core/On-Error.md
+++ b/docs/Reference/Core/On-Error.md
@@ -26,7 +26,7 @@ Syntax:
 Without an **On Error** statement, any run-time error that occurs is fatal; that is, an error message is displayed and execution stops.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In a built program, twinBASIC does not end the program after an unhandled error in an event procedure of a form, such as **Form_Load** or **Form_Activate**. It displays the error message, and once the message is closed the program goes on running: the form is shown and its later events run. VB6 ends the program. Until this is fixed, handle errors in a form's event procedures, and unload the form or end the program there when it cannot continue.
 
 An "enabled" error handler is one that is turned on by an **On Error** statement; an "active" error handler is an enabled handler that is in the process of handling an error. If an error occurs while an error handler is active (between the occurrence of the error and a [**Resume**](Resume), [**Exit Sub**](Exit), **Exit Function**, or **Exit Property** statement), the current procedure's error handler can't handle the error. Control returns to the calling procedure.
diff --git a/docs/Reference/Core/Open.md b/docs/Reference/Core/Open.md
index 29434f4d3..160bbe1e3 100644
--- a/docs/Reference/Core/Open.md
+++ b/docs/Reference/Core/Open.md
@@ -42,7 +42,7 @@ If the file specified by *pathname* doesn't exist, it is created when a file is
 If the file is already opened by another process, and the specified type of access is not allowed, the **Open** operation fails and an error occurs.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Each of these failures of **Open** raises run-time error -2147467259 (`&H80004005`), where VB6 raises the numbered error shown:
 >
 > - 53 (*File not found*) for a file that does not exist, opened for **Input**;
diff --git a/docs/Reference/Core/ParamArray.md b/docs/Reference/Core/ParamArray.md
index 2fc0c15a9..8e65102b4 100644
--- a/docs/Reference/Core/ParamArray.md
+++ b/docs/Reference/Core/ParamArray.md
@@ -25,7 +25,7 @@ Syntax:
 When the procedure is called, each argument supplied in the call becomes a corresponding element of the **Variant** array. If no arguments are supplied for the **ParamArray** position, the array is empty.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > When an argument is a **Variant** variable that holds an array, its element cannot be used as an array: `Args(0)(1)`, `Args(0)(1) = x`, and `b = Args(0)` where *b* is a dynamic array of any type raise run-time error -2147467259, *Unspecified error*, and so does passing `Args(0)` on to another **ParamArray** that indexes it; **Join** raises error 13. **LBound**, **UBound**, **IsArray**, **VarType** and **For Each** work on the element, and an argument that is an array variable or an expression is not affected. VB6 raises no error. Assign the element to a **Variant** first (`v = Args(0)`), or have the caller put the argument in parentheses, which passes a copy.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/Plus.md b/docs/Reference/Core/Plus.md
index 7a92af175..4e11d9947 100644
--- a/docs/Reference/Core/Plus.md
+++ b/docs/Reference/Core/Plus.md
@@ -59,7 +59,7 @@ For simple arithmetic addition involving only numeric expressions, the data type
 A declared (non-**Variant**) result that overflows raises error 6, *Overflow*. If one or both expressions are **Null** expressions, *result* is **Null**. If both expressions are **Empty**, *result* is an **Integer**. However, if only one expression is **Empty**, the other expression is returned unchanged as *result*.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An addition whose result is a declared **Single** raises no error when the result overflows: the **Single** holds infinity (`1.#INF`) instead. VB6 raises error 6, *Overflow*. The compound form **+=** does the same. Declare the variable **Double** where an overflow must be caught.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/Print.md b/docs/Reference/Core/Print.md
index 97cb6defe..652531a15 100644
--- a/docs/Reference/Core/Print.md
+++ b/docs/Reference/Core/Print.md
@@ -56,7 +56,7 @@ An expression that reaches the end of its zone pushes the next one into the zone
 : Any valid file number.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Print #** raises run-time error -2147467259 (`&H80004005`) for a *filenumber* that is not open, where VB6 raises 52 (*Bad file name or number*).
 
 When *outputlist* is omitted and only a list separator follows *filenumber*, a blank line is written.
diff --git a/docs/Reference/Core/Put.md b/docs/Reference/Core/Put.md
index a5871a1d6..2a7012c96 100644
--- a/docs/Reference/Core/Put.md
+++ b/docs/Reference/Core/Put.md
@@ -22,7 +22,7 @@ Syntax:
 : Name of the variable containing data to be written to disk.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > **Put** raises run-time error -2147467259 (`&H80004005`) for a *filenumber* that is not open, where VB6 raises 52 (*Bad file name or number*). It raises the same error for data longer than the record length of a **Random** file, where VB6 raises 59 (*Bad record length*).
 
 Data written with **Put** is usually read from a file with [**Get**](Get).
diff --git a/docs/Reference/Core/RSet.md b/docs/Reference/Core/RSet.md
index 404b08782..9c17b5c41 100644
--- a/docs/Reference/Core/RSet.md
+++ b/docs/Reference/Core/RSet.md
@@ -34,11 +34,11 @@ Debug.Print "[" & v & "]"   ' [  ab]
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A **Variant** *stringvar* that holds an object raises error 13, *Type mismatch*. VB6 raises error 450, *Wrong number of arguments or invalid property assignment*.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **RSet** on an element of a **Variant** that holds an array, such as `RSet v(1) = "zz"` with `v = Array("0123456789", "abcde")` or a **Variant** that was given its bounds with **ReDim**, changes nothing and raises no error. VB6 changes the element. An element of an array declared `Dim w(0 To 1) As Variant` works. To change an element of a **Variant** array, copy it to a **String** variable, use **RSet** on the variable and assign the variable back.
 
 > [!NOTE]
diff --git a/docs/Reference/Core/ReDim.md b/docs/Reference/Core/ReDim.md
index ec813166f..afe6fef2e 100644
--- a/docs/Reference/Core/ReDim.md
+++ b/docs/Reference/Core/ReDim.md
@@ -27,6 +27,21 @@ Use a separate **As** *type* clause for each variable being defined. For a **Var
 
 The **ReDim** statement is used to size or resize a dynamic array that has already been formally declared by using a [**Private**](Private), [**Public**](Public), or [**Dim**](Dim) statement with empty parentheses (without dimension subscripts).
 
+An array declared with its subscripts has a fixed size, and **ReDim** cannot change it. **ReDim** of such an array is compile error TB5118, *array has already been dimensioned*, whether it is a local array, an array at module level, or an array member of a user-defined type:
+
+```tb check_build slot=module expect-error=TB5118
+Private Type Holder
+    Values(1 To 3) As Long
+End Type
+
+Sub Grow()
+    Dim h As Holder
+    ReDim h.Values(5)   ' TB5118: Values was declared with its subscripts
+End Sub
+```
+
+A user-defined type that needs an array it can resize declares the member with empty parentheses, `Values() As Long`, and **ReDim** then works on `h.Values`.
+
 Use the **ReDim** statement repeatedly to change the number of elements and dimensions in an array. However, an array declared with one data type cannot later be changed to another data type by **ReDim**, unless the array is contained in a **Variant**. If the array is contained in a **Variant**, the type of the elements can be changed by using an **As** *type* clause, unless the **Preserve** keyword is used, in which case no changes of data type are permitted.
 
 **ReDim** also works on a **Variant** that holds a value other than an array, or nothing at all: the value is discarded and the **Variant** then holds the new array.
diff --git a/docs/Reference/Core/RightShift.md b/docs/Reference/Core/RightShift.md
index 98dbebf29..9d1fbcb46 100644
--- a/docs/Reference/Core/RightShift.md
+++ b/docs/Reference/Core/RightShift.md
@@ -40,7 +40,7 @@ The data type of *result* matches the type of *number*, whatever the type of *co
 > Convert such a value with [**CLng**](../Modules/Conversion/CLng) or [**CLngLng**](../Modules/Conversion/CLngLng) before shifting it.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Code compiled with LLVM cuts the shift count to the size of the shifted **Byte** or **Integer** before shifting: for a **Byte**, a count of 256 becomes 0 and 257 becomes 1. So a **Byte** shifted by 256 is unchanged, where the result should be 0, as it is without LLVM. An **Integer** shifted by 65,536 or more behaves the same way. A **Long** or **LongLong** is not affected.
 
 ### Compound assignment
diff --git a/docs/Reference/Core/Topic-Preprocessor.md b/docs/Reference/Core/Topic-Preprocessor.md
index 737187a8b..0ef744623 100644
--- a/docs/Reference/Core/Topic-Preprocessor.md
+++ b/docs/Reference/Core/Topic-Preprocessor.md
@@ -38,7 +38,7 @@ The directive's behaviour mirrors the runtime [**If...Then...Else**](If-Then-Els
 > The [**Option Compare**](Option) statement does not affect expressions in `#If`/`#ElseIf`. They are always evaluated as if **Option Compare Text** were in effect.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A function call in an `#If`, `#ElseIf` or `#Const` expression is always 0, with no error or warning. `#If CBool(1) Then` and `#If Len("abc") = 3 Then` are both false, and `#If Not CBool(Win64) Then` is true in a 64-bit build. VB6 evaluates `CBool`, `CLng`, `Abs` and `Len` there. To test whether a constant is 0, compare it with 0, as in `#If Win64 = 0 Then`.
 
 ## #Const directive
diff --git a/docs/Reference/Core/Type.md b/docs/Reference/Core/Type.md
index aa7172e50..0d466275b 100644
--- a/docs/Reference/Core/Type.md
+++ b/docs/Reference/Core/Type.md
@@ -103,19 +103,19 @@ twinBASIC extends classic VBA's **Type** in several ways. UDTs remain stack-allo
 **Member procedures.** [**Sub**](Sub), [**Function**](Function), and [**Property**](Property) procedures may appear inside `Type ... End Type`, and are called through any variable of the type. Inside a member procedure, other members of the same UDT must be accessed with the explicit `Me.` prefix.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A member procedure called on an element of an array of the UDT, such as `a(1).Sum` or `a(1).Diff(a(2))`, ends the program with an access violation, in 32-bit and 64-bit builds. So does a **Type_Conversion** of an element, explicit or implicit, as in `CStr(a(1))`, `s = a(1)` or `Debug.Print a(1)`. This holds for local, static, module-level, dynamic and parameter arrays, and in a **With** block. A variable of the type, a UDT member of another UDT, and an element of an array declared inside a UDT are not affected, nor is **Type_Assignment** on an element, as in `a(1) = 5`. Copy the element to a variable first.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Assigning **Me** whole inside a member procedure, as in `Copy = Me`, `Return Me` or `t = Me`, is a code generation error that fails the build once the procedure is called. `Me.X`, passing **Me** as an argument, and `Me = other` are not affected. Copy the members one by one.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A UDT larger than 4 bytes passed **ByVal** from an element of an array, as in `Take a(1)` for `Sub Take(ByVal p As Pair)`, damages the stack in a 32-bit build: the procedure receives the right value, and the calling procedure ends with an access violation when it returns. A UDT of 4 bytes or less, a variable, an element copied to a variable first, and a **ByRef** parameter are not affected, nor are 64-bit and LLVM builds. VB6 does not accept a UDT passed **ByVal**.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Assigning without **Set** to a member of a UDT whose type is a class, as in `h.o = 5` for a class with a default member, is a code generation error that fails the build. VB6 assigns the default member. Use `Set h.o = ...` to assign the object, or name the default member, as in `h.o.Value = 5`.
 
 **Lifecycle and operator hooks.** Well-known member names are connected by the compiler:
@@ -129,11 +129,11 @@ twinBASIC extends classic VBA's **Type** in several ways. UDTs remain stack-allo
 | `Type_DebugView` | Debugger display --- returns a **String** shown in the IDE's variable inspector. |
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > **Type_Initialize** does not run for an element of an array of the UDT, or for a UDT that is a member of another UDT. **Type_Terminate** still runs for each of them, on a value that was never initialized, and no error is raised. A variable of the type and a class field of the type are not affected. **ReDim** and **ReDim Preserve** discard elements without running **Type_Terminate**, and an array declared inside a UDT runs neither procedure. Write **Type_Terminate** to do nothing when the members are all zero.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A UDT with two or more **Type_Conversion** overloads, none of them `As Variant`, cannot be converted to a **Variant**. `Debug.Print c`, `v = c` and `CVar(c)` are a code generation error that fails the build, and an argument for a `ByVal` **Variant** parameter is error TB5001. A conversion to **String** or **Long**, as in `s = c`, is not affected. Name the target type, as in `CStr(c)`, or add an overload `As Variant`, which a conversion to **Variant** then uses.
 
 **API declarations inside a UDT.** A [**Declare**](Declare) statement inside a **Type** body works as a regular module-level declaration, except that when its first parameter is named `Me` and is the same type as the UDT, calls on a variable of that type pass the variable as the first argument implicitly:
diff --git a/docs/Reference/Data-Types.md b/docs/Reference/Data-Types.md
index 7e6b789f3..b0d090321 100644
--- a/docs/Reference/Data-Types.md
+++ b/docs/Reference/Data-Types.md
@@ -47,7 +47,7 @@ Private Declare PtrSafe Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" _
 ```
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > A local variable, a **Static** variable, or a module or class field declared **As Any** compiles with no diagnostic; VB6 refuses each of them. The variable cannot be used: assigning to it is refused (TB5028), reading it into a **Variant** makes the build fail, and **TypeName** of it raises error 458 in a built program. Declare such a variable with a real type. A **Function**'s return type, a **Sub**'s parameter, a UDT field and an array **As Any** are refused (TB5079).
 
 ---
diff --git a/docs/Reference/Data-Types/Date.md b/docs/Reference/Data-Types/Date.md
index a12c032b8..e77afd200 100644
--- a/docs/Reference/Data-Types/Date.md
+++ b/docs/Reference/Data-Types/Date.md
@@ -28,7 +28,7 @@ A **Date** is stored in 8 bytes as a **Double**. The integer part counts days fr
 A number or a date outside that range cannot be a **Date**, and an assignment, a conversion or an addition that would make one raises error 6, *Overflow*.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > A **Date** outside the range is accepted with no error: `d = 2958466`, `CDate(-657435)`, `#12/31/9999# + 1` and an assignment of `1E+300` each store the number, and **CStr**, **Format** and **Year** of the value then raise error 5, *Invalid procedure call or argument*. VB6 raises error 6, *Overflow*, at the assignment. Compare a day number with -657,434 and 2,958,465 before assigning it to a **Date**.
 
 A **Date** prints, and is converted to a string, in the short date and time formats of the regional settings of the computer that runs the program. To get the same text on every computer, give [**Format**](../Modules/Strings/Format) a format string such as `"yyyy-mm-dd hh:nn:ss"`.
diff --git a/docs/Reference/Data-Types/Double.md b/docs/Reference/Data-Types/Double.md
index 32eb8b7a2..2fd2df76f 100644
--- a/docs/Reference/Data-Types/Double.md
+++ b/docs/Reference/Data-Types/Double.md
@@ -145,7 +145,7 @@ Debug.Print Value                   ' 0
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An exponentiation (`^`) that overflows raises no error in code compiled with LLVM, and its result is 0. In a 32-bit build compiled with LLVM, and not for SSE2, a **Double** addition, subtraction or multiplication that overflows raises no error either, and its result is infinity. Code compiled without LLVM raises error 6, as VB6 does. See [Language support](../../LLVM/Getting-Started#language-support).
 
 ## Example
diff --git a/docs/Reference/Data-Types/LongLong.md b/docs/Reference/Data-Types/LongLong.md
index 7e162ab79..ad20361cb 100644
--- a/docs/Reference/Data-Types/LongLong.md
+++ b/docs/Reference/Data-Types/LongLong.md
@@ -79,11 +79,11 @@ Debug.Print Err.Number              ' 6
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > The constant 2^63, one past the largest **LongLong**, converts to -9223372036854775808 with no error: `CLngLng(2 ^ 63)`, `CLngLng(9223372036854775808#)` and `CLngLng(CSng(2 ^ 63))` all do, and so does `Big = 9223372036854775807`, because a whole-number literal without the `^` suffix is a **Double** that rounds to 2^63. A **Double** variable holding 2^63 raises error 6, and so does `1E+19`. VB6 has no **LongLong**; it raises error 6 for the first **Double** beyond the **Long** range. Write the largest value as `9223372036854775807^`.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > In a 32-bit build, a constant expression with an operator after the `^`, such as `Big = 2 ^ 63 - 1024`, raises error 6 when its procedure has already converted a constant **Double** that does not fit a **Long** or a **LongLong**: `Small = 2 ^ 31`, `Big = CLngLng(1E+19)` and `Big = CLngLng(2 ^ 63)` all do. The value fits, and the statement stores it; the error is raised once, at the first such expression. A 64-bit build raises no error. A single literal, a single power such as `2 ^ 62` and arithmetic on a variable are not affected. A function whose body is the expression raises the error in the same way when a procedure that calls it holds such a conversion. Write the value as one literal, as in `Big = 9223372036854774784^`; `CLngLng` around the expression does not avoid the error.
 
 ## Arithmetic and overflow
diff --git a/docs/Reference/Data-Types/Object.md b/docs/Reference/Data-Types/Object.md
index 168382b57..1006673d3 100644
--- a/docs/Reference/Data-Types/Object.md
+++ b/docs/Reference/Data-Types/Object.md
@@ -51,7 +51,7 @@ An object reference is assigned with [**Set**](Set): `Set Item = New Collection`
 A reference can be assigned to a variable of a more specific type, `Set Items = Item`, which checks that the object supports that type.
 
 
-> [!NOTE] BETA 1034
+> [!NOTE] BETA 1042
 > Assigning an object to a variable of a class or interface it does not support raises the error -2147467262, the **HRESULT** `E_NOINTERFACE`, *No such interface supported*. VB6 raises error 13, *Type mismatch*. Test the object first with `If TypeOf Item Is Collection Then`, or have the handler accept both numbers.
 
 ## Late binding
diff --git a/docs/Reference/Data-Types/Single.md b/docs/Reference/Data-Types/Single.md
index 47493688a..034566b2c 100644
--- a/docs/Reference/Data-Types/Single.md
+++ b/docs/Reference/Data-Types/Single.md
@@ -92,7 +92,7 @@ Debug.Print 0.1 + 0.2 = 0.3         ' False
 ```
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > An addition, subtraction, multiplication or division whose result is a declared **Single** raises no error when the result overflows: the **Single** holds infinity (`1.#INF`) instead. VB6 raises error 6, *Overflow*. A division by zero stored in a declared **Single** raises no error either, whatever the types of its operands: the **Single** holds infinity, or NaN (`-1.#IND`) for zero divided by zero, where VB6 raises error 11, *Division by zero*, or error 6. Declare the variable **Double** where the error must be caught. Code compiled with LLVM has a similar defect for **Double**; see [Language support](../../LLVM/Getting-Started#language-support).
 
 A **Variant** holding a **Single** does not overflow: a result that does not fit becomes a **Double**.
diff --git a/docs/Reference/Default/VB/Data/index.md b/docs/Reference/Default/VB/Data/index.md
index 00c562b6a..89df7c176 100644
--- a/docs/Reference/Default/VB/Data/index.md
+++ b/docs/Reference/Default/VB/Data/index.md
@@ -86,7 +86,7 @@ Determines how the control's border is drawn by the OS. A member of [**Appearanc
 The fill colour of the band behind the [**Caption**](#caption), as an **OLE_COLOR**. Defaults to the system window-background colour.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Assigning a value that is not a colour, such as `-1`, raises no error and stores the value, so a later read returns it. Check a colour that comes from user input before assigning it.
 
 ### BOFAction
@@ -184,7 +184,7 @@ The **StdFont** used to render [**Caption**](#caption). The convenience properti
 The text colour for the caption, as an **OLE_COLOR**. Defaults to the system window-text colour. A disabled control draws the caption in the system grey-text colour instead.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Assigning a value that is not a colour, such as `-1`, raises no error and stores the value, so a later read returns it. Check a colour that comes from user input before assigning it.
 
 ### Height
diff --git a/docs/Reference/Default/VB/Form/index.md b/docs/Reference/Default/VB/Form/index.md
index 3bb9a0497..dcc40aab7 100644
--- a/docs/Reference/Default/VB/Form/index.md
+++ b/docs/Reference/Default/VB/Form/index.md
@@ -150,7 +150,7 @@ When **False**, drawing primitives --- [**Cls**](#cls), [**Circle**](#circle), [
 The background colour of the form's client area, as an **OLE_COLOR**. Defaults to the system 3-D face colour. Used as the fill colour for [**Cls**](#cls) and as the canvas behind [**Picture**](#picture). Setting it to a different colour erases everything drawn with the graphics methods and [**Print**](#print), as **Cls** does, but leaves [**CurrentX**](#currentx) and [**CurrentY**](#currenty) as they are. Setting it to the colour it already has erases nothing; on a [**PictureBox**](../PictureBox#backcolor) it erases the drawing all the same. A value that is not a colour, such as `-1`, raises error 380, *Invalid property value*, and the property keeps its colour.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > When [**AutoRedraw**](#autoredraw) is **True**, setting a different **BackColor** also resets **CurrentX** and **CurrentY** to **0**.
 
 ### BorderStyle
@@ -410,7 +410,7 @@ The form's opacity as a percentage (0--100, default 100). Values outside the ran
 A **StdPicture** drawn as the form's background. Painted before any drawing primitives or child controls. Assigning **Nothing** removes the background.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > When [**AutoRedraw**](#autoredraw) is **True**, setting **Picture** resets [**CurrentX**](#currentx) and [**CurrentY**](#currenty) to **0**.
 
 ### PictureDpiScaling
diff --git a/docs/Reference/Default/VB/MultiFrame/index.md b/docs/Reference/Default/VB/MultiFrame/index.md
index 714d9fbd1..3a383543e 100644
--- a/docs/Reference/Default/VB/MultiFrame/index.md
+++ b/docs/Reference/Default/VB/MultiFrame/index.md
@@ -57,7 +57,7 @@ A frame whose [**Container**](../Frame#container) is the **MultiFrame** but whos
 
 ## Adopting frames at run time
 
-The mapping from frame to **MultiFrame** is discovered from the parent form's control collection on each layout pass: a frame appears in the strip exactly when its [**Container**](../Frame#container) property points at the **MultiFrame**. The discovered set is then cached. To force the cache to be rebuilt --- for example after re-parenting a frame at run time --- assign any value to [**FramesCount**](#framescount):
+The mapping from frame to **MultiFrame** is discovered from the control collection of the form or [**UserControl**](../UserControl) that holds the **MultiFrame**, on each layout pass: a frame appears in the strip exactly when its [**Container**](../Frame#container) property points at the **MultiFrame**. The discovered set is then cached. To force the cache to be rebuilt --- for example after re-parenting a frame at run time --- assign any value to [**FramesCount**](#framescount):
 
 ```tb check_build
 Set fraExtra.Container = mfPanels
@@ -79,7 +79,7 @@ The set of edges of the parent that the **MultiFrame**'s corresponding edges fol
 The background colour of the **MultiFrame**'s drawing surface, as an **OLE_COLOR**. Defaults to the system window-background colour. Visible only where the contained frames do not fully cover the extent --- e.g. when their **MultiFrameSize**s sum to less than 100%.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Assigning a value that is not a colour, such as `-1`, raises no error and stores the value, so a later read returns it. Check a colour that comes from user input before assigning it.
 
 ### Container
diff --git a/docs/Reference/Default/VB/OLE/index.md b/docs/Reference/Default/VB/OLE/index.md
index e336791fe..013d7f0ec 100644
--- a/docs/Reference/Default/VB/OLE/index.md
+++ b/docs/Reference/Default/VB/OLE/index.md
@@ -108,7 +108,7 @@ When **True** (default), right-clicking the container automatically pops up a me
 The background colour, as an **OLE_COLOR**. Defaults to the system window-background colour.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > Assigning a value that is not a colour, such as `-1`, raises no error and stores the value, so a later read returns it. VB6 raises error 380, *Invalid property value*, and keeps the old colour. Check a colour that comes from user input before assigning it.
 
 ### BackStyle
diff --git a/docs/Reference/Default/VB/PictureBox/index.md b/docs/Reference/Default/VB/PictureBox/index.md
index bf96cabfa..543c874f8 100644
--- a/docs/Reference/Default/VB/PictureBox/index.md
+++ b/docs/Reference/Default/VB/PictureBox/index.md
@@ -104,7 +104,7 @@ When **True**, the control resizes itself to fit the assigned [**Picture**](#pic
 The background colour of the control's drawing surface, as an **OLE_COLOR**. Defaults to the system 3-D face colour. Setting it erases everything drawn with the graphics methods and [**Print**](#print), as [**Cls**](#cls) does, even when the colour is the one already set. Unlike **Cls**, it leaves [**CurrentX**](#currentx) and [**CurrentY**](#currenty) as they are. A value that is not a colour, such as `-1`, raises error 380, *Invalid property value*, and the property keeps its colour.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > When [**AutoRedraw**](#autoredraw) is **True**, setting a different **BackColor** also resets **CurrentX** and **CurrentY** to **0**.
 
 ### BorderStyle
@@ -372,7 +372,7 @@ A reference to the [**Form**](../Form) (or **UserControl**) that ultimately cont
 The picture displayed in the control's client area. **StdPicture**. **Default property.** Use **Set** to assign a new picture, **Nothing** to clear it. Assigning when [**AutoSize**](#autosize) is **True** resizes the control to fit.
 
 
-> [!WARNING] BETA 1034
+> [!WARNING] BETA 1042
 > When [**AutoRedraw**](#autoredraw) is **True**, setting **Picture** resets [**CurrentX**](#currentx) and [**CurrentY**](#currenty) to **0**.
 
 ### PictureDpiScaling
diff --git a/docs/Reference/Default/VB/PropertyPage/index.md b/docs/Reference/Default/VB/PropertyPage/index.md
index 7ad036474..cfab4e8d5 100644
--- a/docs/Reference/Default/VB/PropertyPage/index.md
+++ b/docs/Reference/Default/VB/PropertyPage/index.md
@@ -110,7 +110,7 @@ The framework reads the current value when the host calls **IPropertyPage2.GetPa
 
 Whether the page has unapplied edits. **Boolean**, default **False**.
 
-Setting **Changed** to **True** notifies the host through **IPropertyPageSite.OnStatusChange** that the page is dirty --- the host normally enables its *Apply* button as a result. The framework automatically clears the flag back to **False** before raising [**ApplyChanges**](#applychanges), so handlers do not need to reset it themselves.
+Setting **Changed** to **True** notifies the host through **IPropertyPageSite.OnStatusChange** that the page is dirty --- the host normally enables its *Apply* button as a result. Setting it back to **False** notifies the host that the page is clean. Setting it to the value it already has notifies nothing. The framework automatically clears the flag back to **False** before raising [**ApplyChanges**](#applychanges), so handlers do not need to reset it themselves.
 
 ### ClipControls
 {: .no_toc }
@@ -759,7 +759,7 @@ Syntax: *object*\_**Paint**( )
 ### SelectionChanged
 {: .no_toc }
 
-Raised after the host has called **IPropertyPage2.SetObjects** to give the page a new set of objects to edit, or to clear the selection. The handler should read [**SelectedControls**](#selectedcontrols) and mirror the common state of those objects into the page's editor controls. **Default-designer event.**
+Raised after the host has called **IPropertyPage2.SetObjects** to give the page a new set of objects to edit, or to clear the selection. It is not raised when the page clears its own selection as it is destroyed, after [**Terminate**](#terminate). The handler should read [**SelectedControls**](#selectedcontrols) and mirror the common state of those objects into the page's editor controls. **Default-designer event.**
 
 Syntax: *object*\_**SelectionChanged**( )
 
diff --git a/docs/Reference/Default/VB/index.md b/docs/Reference/Default/VB/index.md
index c65c735b8..b2a0e19aa 100644
--- a/docs/Reference/Default/VB/index.md
+++ b/docs/Reference/Default/VB/index.md
@@ -4,7 +4,7 @@ parent: Default Packages
 nav_order: 1
 permalink: /tB/Packages/VB/
 has_toc: false
-indexed_from: beta-x-1010
+indexed_from: beta-x-1042
 ---
 
 # VB Package
diff --git a/docs/Reference/Default/VBA/Collection/Add.md b/docs/Reference/Default/VBA/Collection/Add.md
index a1982625d..19da187ed 100644
--- a/docs/Reference/Default/VBA/Collection/Add.md
+++ b/docs/Reference/Default/VBA/Collection/Add.md
@@ -43,16 +43,16 @@ Key comparison is governed by the [**KeyCompareMode**](KeyCompareMode) property.
 | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | both *before* and *after* are given
*before* or *after* is given and the collection is empty
*before* or *after* is a string that is not the key of an item | | [9 (`&H9`)](tb:Errors#9), *Subscript out of range* | *before* is a number that, rounded, is less than 1 or greater than **Count** + 1, or *after* one that is less than 0 or greater than **Count**
*before* or *after* is a number outside the **Long** range | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *key* is **Empty**, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *before* or *after* is -1, **True** or **Empty**, VB6 and 64-bit VBA raise error [9 (`&H9`)](tb:Errors#9), *Subscript out of range*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *before* or *after* is a **Currency**, **Decimal** or **Date** value, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *before* or *after* is a number outside the **Long** range, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/Collection/Item.md b/docs/Reference/Default/VBA/Collection/Item.md index ddba55e5f..c1d6e2508 100644 --- a/docs/Reference/Default/VBA/Collection/Item.md +++ b/docs/Reference/Default/VBA/Collection/Item.md @@ -37,13 +37,13 @@ Key comparison is governed by the [**KeyCompareMode**](KeyCompareMode) property. | [9 (`&H9`)](tb:Errors#9), *Subscript out of range* | *index* is a number that, rounded, is less than 1 or greater than **Count**, and the collection is not empty
the collection is empty and *index* is not a string
*index* is **Null**, an object, **Nothing**, an array, an error value or a number outside the **Long** range, and the collection is not empty
*index* is a **Currency**, **Decimal** or **Date** value | | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | *index* is a string that is not the key of an item | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the collection is empty and *index* is not a string, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *index* is **Null**, an object, **Nothing**, an array, an error value or a number outside the **Long** range, and the collection is not empty, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *index* is a **Currency**, **Decimal** or **Date** value, VB6 and 64-bit VBA raise no error. diff --git a/docs/Reference/Default/VBA/Collection/Remove.md b/docs/Reference/Default/VBA/Collection/Remove.md index 007fc7e8f..09149f6d1 100644 --- a/docs/Reference/Default/VBA/Collection/Remove.md +++ b/docs/Reference/Default/VBA/Collection/Remove.md @@ -29,10 +29,10 @@ Key comparison is governed by the [**KeyCompareMode**](KeyCompareMode) property. | [9 (`&H9`)](tb:Errors#9), *Subscript out of range* | *index* is a number that, rounded, is less than 1 or greater than **Count**, and the collection is not empty
*index* is **Null**, an object, **Nothing**, an array or a number outside the **Long** range, and the collection is not empty
*index* is a **Currency**, **Decimal** or **Date** value | | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | *index* is a string that is not the key of an item
the collection is empty | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *index* is **Null**, an object, **Nothing**, an array or a number outside the **Long** range, and the collection is not empty, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *index* is a **Currency**, **Decimal** or **Date** value, VB6 and 64-bit VBA raise no error. diff --git a/docs/Reference/Default/VBA/Conversion/CDate.md b/docs/Reference/Default/VBA/Conversion/CDate.md index 1eac53d7f..e9cd63d85 100644 --- a/docs/Reference/Default/VBA/Conversion/CDate.md +++ b/docs/Reference/Default/VBA/Conversion/CDate.md @@ -27,7 +27,7 @@ Use the **IsDate** function to determine whether *expression* can be converted t A **Date** holds a day number from -657,434 (January 1, 100) to 2,958,465 (December 31, 9999), with the time of day as its fraction. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **CDate** of a number outside that range raises no error: `CDate(2958466)`, `CDate(-657435)` and `CDate(1E+300)` each return a **Date** that holds the number, and **CStr**, **Format** and **Year** of it then raise error 5, *Invalid procedure call or argument*. VB6 raises error 6, *Overflow*. Compare a day number with -657,434 and 2,958,465 before converting it, or use [**CVDate**](CVDate), which raises error 13 for a number outside the range. @@ -38,7 +38,7 @@ A **Date** holds a day number from -657,434 (January 1, 100) to 2,958,465 (Decem | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *expression* is a string that is not a date, a time or a number (a zero-length string included), or a date after December 31, 9999
*expression* is a **Decimal**, or a string that holds a number, less than -657,434 or 2,958,466 or more | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *expression* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **CDate** is given a number of another type than **Decimal** that is less than -657,434 or 2,958,466 or more, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Conversion/CLngLng.md b/docs/Reference/Default/VBA/Conversion/CLngLng.md index 1705c66b3..d58660d28 100644 --- a/docs/Reference/Default/VBA/Conversion/CLngLng.md +++ b/docs/Reference/Default/VBA/Conversion/CLngLng.md @@ -27,7 +27,7 @@ When the fractional part is exactly `0.5`, **CLngLng** always rounds it to the n > In VBA, **LongLong** (and therefore **CLngLng**) is restricted to 64-bit hosts. twinBASIC supports **LongLong** in both 32-bit and 64-bit modes --- see [Data Types](../../../Features/Language/Data-Types). -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > The constant 2^63, one past the largest **LongLong**, converts to -9223372036854775808 with no error: `CLngLng(2 ^ 63)` and `CLngLng(9223372036854775808#)` do, and so does `CLngLng(9223372036854775807)`, because a whole-number literal without the `^` suffix is a **Double** that rounds to 2^63. A **Double** variable holding 2^63 raises error 6, as the table below says. Write the largest value as `9223372036854775807^`. 64-bit VBA raises error 6 for each of these constants. diff --git a/docs/Reference/Default/VBA/Conversion/Error.md b/docs/Reference/Default/VBA/Conversion/Error.md index 826645a8c..1a61e3648 100644 --- a/docs/Reference/Default/VBA/Conversion/Error.md +++ b/docs/Reference/Default/VBA/Conversion/Error.md @@ -31,7 +31,7 @@ Examine the property settings of the **Err** object to identify the most recent |---|---| | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *errornumber* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Error** or **Error$** is given an *errornumber* that rounds to a number greater than 65,535, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/DateTime/Calendar.md b/docs/Reference/Default/VBA/DateTime/Calendar.md index deb2ae39b..70a5db9c6 100644 --- a/docs/Reference/Default/VBA/DateTime/Calendar.md +++ b/docs/Reference/Default/VBA/DateTime/Calendar.md @@ -24,7 +24,7 @@ Syntax: **Calendar** [ **=** *calendartype* ] The **Calendar** property can only be set programmatically. The setting of **Calendar** affects the string returned by the [**Date$**](Date#date-1) property when the calendar is set to Hijri. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > twinBASIC has not implemented **Calendar** yet. The compiler warns TB0009 at each use, **Calendar** always reads as **vbCalGreg**, and setting it raises an error, **vbCalGreg** included. diff --git a/docs/Reference/Default/VBA/DateTime/Date.md b/docs/Reference/Default/VBA/DateTime/Date.md index c0e8baabb..f8a7d5cf6 100644 --- a/docs/Reference/Default/VBA/DateTime/Date.md +++ b/docs/Reference/Default/VBA/DateTime/Date.md @@ -117,16 +117,16 @@ Date$ = MyDate ' Change the system date. | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | **Date$** is given a value that is not a date of the form *mm-dd-yyyy*
**Date** or **Date$** is given a date before January 1, 1601, which Windows cannot set
**Date$** is given a date in another form VB6 reads, such as *m-d-yyyy*, *m/d/yyyy* or *mm-dd-yy* | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | **Date$** is given **Null**
**Date** is given **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Date$** is given a value that is not a date of the form *mm-dd-yyyy*, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Date** or **Date$** is given a date before January 1, 1601, which Windows cannot set, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Date$** is given a date in another form VB6 reads, such as *m-d-yyyy*, *m/d/yyyy* or *mm-dd-yy*, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Date** is given **Null**, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/DateTime/DateAdd.md b/docs/Reference/Default/VBA/DateTime/DateAdd.md index 3c9d9876c..06ff212b6 100644 --- a/docs/Reference/Default/VBA/DateTime/DateAdd.md +++ b/docs/Reference/Default/VBA/DateTime/DateAdd.md @@ -54,7 +54,7 @@ Debug.Print Format$(DateAdd("yyyy", 1, #2/29/2024#), "yyyy-mm-dd") ' 2025-02-28 **DateAdd** returns 28-Feb-95, not 31-Feb-95. If *date* is 31-Jan-96, it returns 29-Feb-96 because 1996 is a leap year. Subtracting a month, and adding or subtracting a quarter or a year, stops at the last day of the shorter month in the same way, as the last two lines show. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **DateAdd** with the "yyyy", "q" or "m" interval raises no error when the result would be before January 1, 100, and returns a date in the 1900s or 2000s instead: `DateAdd("yyyy", -1, #1/1/100#)` returns January 1, 1999, and `DateAdd("m", -1, #1/1/100#)` returns December 1, 1999. VB6 raises error 5. If *number* isn't a **Long** value, it is rounded to the nearest whole number before being evaluated. @@ -73,10 +73,10 @@ If the [**Calendar**](Calendar) property setting is Gregorian, the supplied date | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *date* is a string that is not a date | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *interval* or *number* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the result with an *interval* of "yyyy", "q" or "m" would be before January 1, 100, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *date* is a number outside the range of dates, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/DateTime/DateDiff.md b/docs/Reference/Default/VBA/DateTime/DateDiff.md index 31c30b7da..fd5253018 100644 --- a/docs/Reference/Default/VBA/DateTime/DateDiff.md +++ b/docs/Reference/Default/VBA/DateTime/DateDiff.md @@ -67,7 +67,7 @@ To calculate the number of days between *date1* and *date2*, use either Day of Y If *interval* is Week ("ww"), however, **DateDiff** returns the number of calendar weeks between the two dates. It counts the number of Sundays between *date1* and *date2*. **DateDiff** counts *date2* if it falls on a Sunday, but it doesn't count *date1*, even if it does fall on a Sunday. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > With the "ww" interval, **DateDiff** raises no error for a *firstdayofweek* outside 0 to 7, and what it returns follows no rule: a negative value acts as if taken modulo 7, 8 to 13 act as **vbSunday**, and a larger value matches no setting. VB6 raises error 5. If *date1* refers to a later point in time than *date2*, the function returns a negative number. The *firstdayofweek* argument affects calculations that use the "w" and "ww" interval symbols. @@ -88,10 +88,10 @@ If the [**Calendar**](Calendar) property setting is Gregorian, the supplied date | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *date1* or *date2* is a string that is not a date | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *interval*, *firstdayofweek* or *firstweekofyear* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *interval* is "ww" and *firstdayofweek* is outside 0 to 7, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *date1* or *date2* is a number outside the range of dates, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/DateTime/DatePart.md b/docs/Reference/Default/VBA/DateTime/DatePart.md index 1b9590668..ce84320d0 100644 --- a/docs/Reference/Default/VBA/DateTime/DatePart.md +++ b/docs/Reference/Default/VBA/DateTime/DatePart.md @@ -65,11 +65,11 @@ Syntax: **DatePart** ( *interval*, *date* [, *firstdayofweek* [, *firstweekofyea The *firstdayofweek* argument affects calculations that use the "w" and "ww" interval symbols. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > With the "w" or "ww" interval, **DatePart** raises no error for a *firstdayofweek* outside 0 to 7, and what it returns follows no rule: a negative value acts as if taken modulo 7, 8 acts as **vbSunday**, and a larger value matches no setting. `DatePart("w", #1/1/2000#, 255)` returns -2. VB6 raises error 5. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > With the "ww" interval, **DatePart** goes wrong for a date in the first days of year 100 whose week belongs to year 99. With **vbFirstFullWeek** it never returns, and the program stops responding: `DatePart("ww", #1/1/100#, vbSunday, vbFirstFullWeek)` is one such call. With **vbFirstFourDays** it returns a wrong number: -98980 for January 1, 100. VB6 returns 52 for both. If *date* is a date literal, the specified year becomes a permanent part of that date. If *date* is enclosed in double quotation marks and the year is omitted, the current year is inserted each time the expression is evaluated. @@ -85,13 +85,13 @@ If the [**Calendar**](Calendar) property setting is Gregorian, the supplied date | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *date* is a string that is not a date, or a number outside the range of dates | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *interval*, *firstdayofweek* or *firstweekofyear* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *interval* is not one of the settings listed and *date* is **Null**, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *interval* is "w" or "ww" and *firstdayofweek* is outside 0 to 7, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *interval* is "ww" and *firstweekofyear* is outside 0 to 3, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/DateTime/Time.md b/docs/Reference/Default/VBA/DateTime/Time.md index 0fea97950..bcd0982f8 100644 --- a/docs/Reference/Default/VBA/DateTime/Time.md +++ b/docs/Reference/Default/VBA/DateTime/Time.md @@ -117,13 +117,13 @@ Time$ = MyTime ' Set system time. | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | **Time$** is given a value that is not a string of the form *hh:mm:ss*, or one outside 00:00:00 to 23:59:59
**Time$** is given a time in another form VB6 reads, such as *hh:mm* or *hh* | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | **Time$** is given **Null**
**Time** is given **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Time$** is given a value that is not a string of the form *hh:mm:ss*, or one outside 00:00:00 to 23:59:59, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Time$** is given a time in another form VB6 reads, such as *hh:mm* or *hh*, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Time** is given **Null**, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/DateTime/index.md b/docs/Reference/Default/VBA/DateTime/index.md index a9f358052..79f81f795 100644 --- a/docs/Reference/Default/VBA/DateTime/index.md +++ b/docs/Reference/Default/VBA/DateTime/index.md @@ -63,7 +63,7 @@ Debug.Print DateDiff("d", #1/1/2026#, #5/9/2026#) ' 128 The [**Calendar**](Calendar) property selects the calendar --- **vbCalGreg** (Gregorian, the default) or **vbCalHijri** (Hijri) --- used by the rest of the module. The setting controls how **Date$** formats the system date, how arguments to **DateSerial**, **DateValue**, **DateAdd**, and **DateDiff** are interpreted, and how the parts returned by **DatePart**, **Year**, **Month**, **Day**, and **Weekday** are reported. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > twinBASIC has not implemented **Calendar** yet: it always reads as **vbCalGreg**, and setting it raises an error. ## Members diff --git a/docs/Reference/Default/VBA/ErrObject/Description.md b/docs/Reference/Default/VBA/ErrObject/Description.md index 8bd892313..178769080 100644 --- a/docs/Reference/Default/VBA/ErrObject/Description.md +++ b/docs/Reference/Default/VBA/ErrObject/Description.md @@ -21,7 +21,7 @@ The **Description** setting consists of a short description of the error. Use th When generating a user-defined error, assign a short description of the error to the **Description** property. If **Description** isn't filled in and the value of [**Number**](Number) corresponds to a built-in run-time error, the string returned by the [**Error**](../Conversion/Error) function is placed in **Description** when the error is generated. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > For a number that has no built-in message, **Raise** without a *description* leaves **Description** as an empty string, a Windows system message or `Automation error`, depending on the number, and raises no error. VBA and VB6 place `Application-defined or object-defined error` there. [**Raise**](Raise) has the table. diff --git a/docs/Reference/Default/VBA/ErrObject/HelpContext.md b/docs/Reference/Default/VBA/ErrObject/HelpContext.md index f2635b387..74335902d 100644 --- a/docs/Reference/Default/VBA/ErrObject/HelpContext.md +++ b/docs/Reference/Default/VBA/ErrObject/HelpContext.md @@ -23,7 +23,7 @@ If both **HelpFile** and **HelpContext** are empty, the value of [**Number**](Nu Write routines to handle typical errors. When programming with an object, the object's Help file can improve error handling or display a meaningful message to the user when an error isn't recoverable. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > A statement that assigns **HelpContext**, such as `Err.HelpContext = 5`, compiles, but the build fails with a code-generation error in the procedure that holds it. [**Raise**](Raise) sets **HelpContext** without the problem, and so does an assignment through a variable declared **As Object** that holds **Err**. ### Example diff --git a/docs/Reference/Default/VBA/ErrObject/HelpFile.md b/docs/Reference/Default/VBA/ErrObject/HelpFile.md index d3eede3b5..067f69ba4 100644 --- a/docs/Reference/Default/VBA/ErrObject/HelpFile.md +++ b/docs/Reference/Default/VBA/ErrObject/HelpFile.md @@ -21,7 +21,7 @@ If a Help file is specified in **HelpFile**, it is automatically called when the Write routines to handle typical errors. When programming with an object, the object's Help file can improve error handling or display a meaningful message to the user when an error isn't recoverable. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > A statement that assigns **HelpFile**, such as `Err.HelpFile = "MyHelp.chm"`, compiles, but the build fails with a code-generation error in the procedure that holds it. [**Raise**](Raise) sets **HelpFile** without the problem, and so does an assignment through a variable declared **As Object** that holds **Err**. ### Example diff --git a/docs/Reference/Default/VBA/ErrObject/Number.md b/docs/Reference/Default/VBA/ErrObject/Number.md index 1d9c6fe9d..7386b1a39 100644 --- a/docs/Reference/Default/VBA/ErrObject/Number.md +++ b/docs/Reference/Default/VBA/ErrObject/Number.md @@ -26,7 +26,7 @@ Err.Raise Number:=vbObjectError + 1051, Source:="SomeClass" > **Number** accepts a number above 65535. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*, for one. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > **Number** keeps an **HRESULT** assigned to it as it is. VB6 and 64-bit VBA store the VB error of the same meaning for the ones that [**Raise**](Raise) turns into VB errors: after `Err.Number = &H80070057`, **Number** is 5 there, and in twinBASIC it is -2147024809. diff --git a/docs/Reference/Default/VBA/ErrObject/Raise.md b/docs/Reference/Default/VBA/ErrObject/Raise.md index 262f4783f..8636e324b 100644 --- a/docs/Reference/Default/VBA/ErrObject/Raise.md +++ b/docs/Reference/Default/VBA/ErrObject/Raise.md @@ -45,15 +45,15 @@ A *description* of an empty string gives an empty **Description** for every numb When the error is raised in a method of a class and the caller handles it, an empty **Description** reaches the caller as `Application-defined or object-defined error`. The other texts arrive unchanged. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **Raise** differs from VBA and VB6 in three ways, and none of them raises an error. Without *source*, VBA sets **Source** to the name of the project, and twinBASIC leaves it empty. Without *description*, VBA gives every number that has no built-in message the text `Application-defined or object-defined error`, from 1 up to 65535, and twinBASIC gives an empty string or one of the texts above. And an omitted argument keeps the value left by an earlier error in VBA, and is reset in twinBASIC. A program that relies on **Err.Source** being the project name, or on **Err.Description** being non-empty, has to pass those arguments. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > An error that a class member raises with a constant *number*, such as `Err.Raise 380`, reaches a caller that called the member late-bound --- through an **Object** variable or [**CallByName**](../Interaction/CallByName) --- as error -2147352567 (`&H80020009`), *Exception occurred.*, not as 380. VB6 raises 380. The number arrives unchanged when the member passes it in a variable, as in `Err.Raise Number`, and in every early-bound call. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > **Raise** raises an **HRESULT** *number* as it is. VB6 and 64-bit VBA raise many **HRESULT**s as the VB error of the same meaning instead, including these: > > | *number* | VB6 and 64-bit VBA raise | diff --git a/docs/Reference/Default/VBA/ErrObject/ReturnHResult.md b/docs/Reference/Default/VBA/ErrObject/ReturnHResult.md index c8d3adbd5..904986606 100644 --- a/docs/Reference/Default/VBA/ErrObject/ReturnHResult.md +++ b/docs/Reference/Default/VBA/ErrObject/ReturnHResult.md @@ -18,7 +18,7 @@ Syntax: **Err**.**ReturnHResult** **=** *value* A calling procedure can then use [**LastHresult**](LastHresult) to read the positive HRESULT that was returned from the method. Set **ReturnHResult** only when needed, typically just before the method exit point, so that the intended HRESULT is the one that's actually returned. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > Assigning **ReturnHResult** in a procedure of a module, rather than in a method of a class, compiles, but the build fails with a code-generation error in that procedure. ### Example diff --git a/docs/Reference/Default/VBA/ErrObject/Source.md b/docs/Reference/Default/VBA/ErrObject/Source.md index b10a6dc83..ca0cb55ae 100644 --- a/docs/Reference/Default/VBA/ErrObject/Source.md +++ b/docs/Reference/Default/VBA/ErrObject/Source.md @@ -25,7 +25,7 @@ When generating an error from user code, pass the source to [**Raise**](Raise). When an error occurs that twinBASIC raises itself, such as a division by zero, **Source** is an empty string too, in a standard module and in a class module alike. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > It does not fill in **Source**, and raises no error. VBA and VB6 fill it in automatically with the name of the project, for an error that the runtime raises and for **Raise** without a source argument. A program that reads **Err.Source** to find where an error came from gets an empty string. diff --git a/docs/Reference/Default/VBA/FileSystem/ChDir.md b/docs/Reference/Default/VBA/FileSystem/ChDir.md index 42de9831c..170b7aab6 100644 --- a/docs/Reference/Default/VBA/FileSystem/ChDir.md +++ b/docs/Reference/Default/VBA/FileSystem/ChDir.md @@ -47,7 +47,7 @@ On MacOS, the default drive name is "HD" and portions of the pathname are separa | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *path* names no folder that exists, which includes a file, a drive that does not exist, a zero-length string, and a name with a wildcard or a character a name cannot hold | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *path* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *path* names no folder that exists, which includes a file, a drive that does not exist, a zero-length string, and a name with a wildcard or a character a name cannot hold, VB6 and 64-bit VBA raise error [76 (`&H4C`)](tb:Errors#76), *Path not found*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/ChDrive.md b/docs/Reference/Default/VBA/FileSystem/ChDrive.md index 70217bbc9..4fed2cf11 100644 --- a/docs/Reference/Default/VBA/FileSystem/ChDrive.md +++ b/docs/Reference/Default/VBA/FileSystem/ChDrive.md @@ -24,10 +24,10 @@ Syntax: **ChDrive** *drive* | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *drive* starts with a letter that no drive has
*drive* starts with a digit, a space or a punctuation character | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *drive* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *drive* starts with a letter that no drive has, VB6 and 64-bit VBA raise error [68 (`&H44`)](tb:Errors#68), *Device unavailable*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *drive* starts with a digit, a space or a punctuation character, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/CurDir.md b/docs/Reference/Default/VBA/FileSystem/CurDir.md index 6ecef5a20..4e523ebf9 100644 --- a/docs/Reference/Default/VBA/FileSystem/CurDir.md +++ b/docs/Reference/Default/VBA/FileSystem/CurDir.md @@ -69,13 +69,13 @@ MyPath = CurDir$("D") ' Returns "D:\EXCEL". | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *drive* starts with a letter that no drive has
*drive* starts with a digit, a space or a punctuation character | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *drive* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *drive* starts with a letter that no drive has, VB6 and 64-bit VBA raise error [68 (`&H44`)](tb:Errors#68), *Device unavailable*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *drive* starts with a digit, a space or a punctuation character, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *drive* is **Null**, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/Dir.md b/docs/Reference/Default/VBA/FileSystem/Dir.md index 4bac400dd..c460191fd 100644 --- a/docs/Reference/Default/VBA/FileSystem/Dir.md +++ b/docs/Reference/Default/VBA/FileSystem/Dir.md @@ -52,16 +52,16 @@ A new *pathname* can be specified without first retrieving all of the file names | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | **Dir** is called without *pathname* after it has returned a zero-length string
*pathname* names a file and ends in a backslash
a name in *pathname* is longer than 255 characters | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* is **Null**
*attributes* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Dir** is called without *pathname* after it has returned a zero-length string, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* names a file and ends in a backslash, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When a name in *pathname* is longer than 255 characters, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* is **Null**, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/EOF.md b/docs/Reference/Default/VBA/FileSystem/EOF.md index 3a720db7e..57b4a05cf 100644 --- a/docs/Reference/Default/VBA/FileSystem/EOF.md +++ b/docs/Reference/Default/VBA/FileSystem/EOF.md @@ -32,7 +32,7 @@ With files opened for **Binary** access, an attempt to read through the file by | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *filenumber* is not the number of an open file | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *filenumber* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *filenumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/FileAttr.md b/docs/Reference/Default/VBA/FileSystem/FileAttr.md index 6d9bf98e2..62f03421a 100644 --- a/docs/Reference/Default/VBA/FileSystem/FileAttr.md +++ b/docs/Reference/Default/VBA/FileSystem/FileAttr.md @@ -39,10 +39,10 @@ The following return values indicate the file access mode: | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *filenumber* is not the number of an open file
*returntype* is not 1, after rounding | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *filenumber* or *returntype* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *filenumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *returntype* is not 1, after rounding, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/FileCopy.md b/docs/Reference/Default/VBA/FileSystem/FileCopy.md index f2b7dccb6..e79a08822 100644 --- a/docs/Reference/Default/VBA/FileSystem/FileCopy.md +++ b/docs/Reference/Default/VBA/FileSystem/FileCopy.md @@ -36,19 +36,19 @@ A *source* that the program has open is copied when it is open for reading only: | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *source* or *destination* is a zero-length string
*source* or *destination* holds a wildcard or a character a file name cannot hold | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *source* or *destination* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *destination* names the same file as *source*, VB6 and 64-bit VBA raise error [70 (`&H46`)](tb:Errors#70), *Permission denied*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *source* is open **For Input** with **Lock Read**, VB6 and 64-bit VBA raise error [70 (`&H46`)](tb:Errors#70), *Permission denied*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *source* is a folder, or *destination* is a folder or a read-only or hidden file, VB6 and 64-bit VBA raise error [75 (`&H4B`)](tb:Errors#75), *Path/File access error*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *source* or *destination* is a zero-length string, VB6 and 64-bit VBA raise error [75 (`&H4B`)](tb:Errors#75), *Path/File access error*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *source* or *destination* holds a wildcard or a character a file name cannot hold, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/FileDateTime.md b/docs/Reference/Default/VBA/FileSystem/FileDateTime.md index fa4988436..2a56df2cd 100644 --- a/docs/Reference/Default/VBA/FileSystem/FileDateTime.md +++ b/docs/Reference/Default/VBA/FileSystem/FileDateTime.md @@ -17,7 +17,7 @@ Syntax: **FileDateTime(** *pathname* **)** : *required* String expression that specifies a file name. The *pathname* may include the directory or folder, and the drive. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given a *pathname* with a wildcard (`*` or `?`) that matches a file or a folder, **FileDateTime** returns the date and time of the first match, which may be a hidden file or a folder, and raises no error. VB6 and 64-bit VBA raise error 52, *Bad file name or number*. @@ -28,16 +28,16 @@ Syntax: **FileDateTime(** *pathname* **)** | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | no file or folder has the name *pathname*, which includes a zero-length string, a folder named with a backslash at its end, and a name with a character a name cannot hold
the folder or drive named in *pathname* does not exist
*pathname* holds a wildcard that matches no file or folder | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no file or folder has the name *pathname*, which includes a zero-length string, a folder named with a backslash at its end, and a name with a character a name cannot hold, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the folder or drive named in *pathname* does not exist, VB6 and 64-bit VBA raise error [76 (`&H4C`)](tb:Errors#76), *Path not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* holds a wildcard that matches no file or folder, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* holds a wildcard that matches a file or folder, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/FileSystem/FileLen.md b/docs/Reference/Default/VBA/FileSystem/FileLen.md index 2bdcd4de8..01ca5c31b 100644 --- a/docs/Reference/Default/VBA/FileSystem/FileLen.md +++ b/docs/Reference/Default/VBA/FileSystem/FileLen.md @@ -22,7 +22,7 @@ If the specified file is open when the **FileLen** function is called, the value > Use the [LOF](LOF) function to obtain the length of an open file. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given a *pathname* with a wildcard (`*` or `?`) that matches a file or a folder, **FileLen** returns the length of the first match, which may be a hidden file, or a folder, whose length is 0, and raises no error. VB6 and 64-bit VBA raise error 52, *Bad file name or number*. @@ -33,16 +33,16 @@ If the specified file is open when the **FileLen** function is called, the value | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | no file or folder has the name *pathname*, which includes a zero-length string, a folder named with a backslash at its end, and a name with a character a name cannot hold
the folder or drive named in *pathname* does not exist
*pathname* holds a wildcard that matches no file or folder | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no file or folder has the name *pathname*, which includes a zero-length string, a folder named with a backslash at its end, and a name with a character a name cannot hold, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the folder or drive named in *pathname* does not exist, VB6 and 64-bit VBA raise error [76 (`&H4C`)](tb:Errors#76), *Path not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* holds a wildcard that matches no file or folder, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* holds a wildcard that matches a file or folder, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/FileSystem/FreeFile.md b/docs/Reference/Default/VBA/FileSystem/FreeFile.md index d261b7eac..fc8040628 100644 --- a/docs/Reference/Default/VBA/FileSystem/FreeFile.md +++ b/docs/Reference/Default/VBA/FileSystem/FreeFile.md @@ -26,7 +26,7 @@ Use **FreeFile** to supply a file number that is not already in use. | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | every file number from 1 to 255 is in use | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rangenumber* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When every file number from 1 to 255 is in use, VB6 and 64-bit VBA raise error [67 (`&H43`)](tb:Errors#67), *Too many files*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/GetAttr.md b/docs/Reference/Default/VBA/FileSystem/GetAttr.md index 626d75c66..578a7ab93 100644 --- a/docs/Reference/Default/VBA/FileSystem/GetAttr.md +++ b/docs/Reference/Default/VBA/FileSystem/GetAttr.md @@ -46,16 +46,16 @@ A nonzero value is returned if the Archive attribute is set. | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | no file or folder has the name *pathname*, or it is a zero-length string
the folder or drive named in *pathname* does not exist
*pathname* holds a wildcard
*pathname* holds a character a name cannot hold, or names a file with a backslash at its end | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no file or folder has the name *pathname*, or it is a zero-length string, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the folder or drive named in *pathname* does not exist, VB6 and 64-bit VBA raise error [76 (`&H4C`)](tb:Errors#76), *Path not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* holds a wildcard, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* holds a character a name cannot hold, or names a file with a backslash at its end, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/Input.md b/docs/Reference/Default/VBA/FileSystem/Input.md index d5767fba7..a44616497 100644 --- a/docs/Reference/Default/VBA/FileSystem/Input.md +++ b/docs/Reference/Default/VBA/FileSystem/Input.md @@ -38,19 +38,19 @@ For files opened for **Binary** access, an attempt to read through the file usin | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *Number* is more characters than are left in a file open for **Input**
the file is open for **Output**, **Append** or **Random**
*Number* is negative, after rounding
*FileNumber* is not the number of an open file
*Number* is 0, after rounding | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *Number* or *FileNumber* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *Number* is more characters than are left in a file open for **Input**, VB6 and 64-bit VBA raise error [62 (`&H3E`)](tb:Errors#62), *Input past end of file*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the file is open for **Output**, **Append** or **Random**, VB6 and 64-bit VBA raise error [54 (`&H36`)](tb:Errors#54), *Bad file mode*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *Number* is negative, after rounding, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *FileNumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *Number* is 0, after rounding, VB6 and 64-bit VBA raise no error. diff --git a/docs/Reference/Default/VBA/FileSystem/InputB.md b/docs/Reference/Default/VBA/FileSystem/InputB.md index 67f8e764e..d2e32d10a 100644 --- a/docs/Reference/Default/VBA/FileSystem/InputB.md +++ b/docs/Reference/Default/VBA/FileSystem/InputB.md @@ -33,16 +33,16 @@ The bytes are packed into the result without any character-set translation; the | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *Number* is more bytes than are left in a file open for **Input**
the file is open for **Output**, **Append** or **Random**
*Number* is negative, after rounding
*FileNumber* is not the number of an open file | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *Number* or *FileNumber* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *Number* is more bytes than are left in a file open for **Input**, VB6 and 64-bit VBA raise error [62 (`&H3E`)](tb:Errors#62), *Input past end of file*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the file is open for **Output**, **Append** or **Random**, VB6 and 64-bit VBA raise error [54 (`&H36`)](tb:Errors#54), *Bad file mode*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *Number* is negative, after rounding, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *FileNumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/Kill.md b/docs/Reference/Default/VBA/FileSystem/Kill.md index 5970d24aa..73fc1fe02 100644 --- a/docs/Reference/Default/VBA/FileSystem/Kill.md +++ b/docs/Reference/Default/VBA/FileSystem/Kill.md @@ -19,7 +19,7 @@ Syntax: **Kill** *pathname* **Kill** supports the use of multiple-character (`*`) and single-character (`?`) wildcards to specify multiple files. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **Kill** deletes a hidden or a system file, whether *pathname* names it or a wildcard matches it, and raises no error. VB6 and 64-bit VBA never delete such a file: they raise error 53, *File not found*, when *pathname* matches only hidden or system files, and otherwise delete the other files a wildcard matches and leave these. > [!NOTE] @@ -33,16 +33,16 @@ Syntax: **Kill** *pathname* | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | no file matches *pathname*, which includes a folder, a folder or drive that does not exist, and a zero-length string
the file, or a file a wildcard matches, is read-only
the file, or a file a wildcard matches, is open | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no file matches *pathname*, which includes a folder, a folder or drive that does not exist, and a zero-length string, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the file, or a file a wildcard matches, is read-only, VB6 and 64-bit VBA raise error [75 (`&H4B`)](tb:Errors#75), *Path/File access error*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the file, or a file a wildcard matches, is open, VB6 and 64-bit VBA raise error [55 (`&H37`)](tb:Errors#55), *File already open*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* names a hidden or system file, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/FileSystem/LOF.md b/docs/Reference/Default/VBA/FileSystem/LOF.md index e360480db..ed8d47076 100644 --- a/docs/Reference/Default/VBA/FileSystem/LOF.md +++ b/docs/Reference/Default/VBA/FileSystem/LOF.md @@ -27,7 +27,7 @@ Syntax: **LOF(** *filenumber* **)** | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *filenumber* is not the number of an open file | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *filenumber* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *filenumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/Loc.md b/docs/Reference/Default/VBA/FileSystem/Loc.md index 3e9cc92cc..b491a1592 100644 --- a/docs/Reference/Default/VBA/FileSystem/Loc.md +++ b/docs/Reference/Default/VBA/FileSystem/Loc.md @@ -34,7 +34,7 @@ The return value depends on the file access mode: | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *filenumber* is not the number of an open file | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *filenumber* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *filenumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/MkDir.md b/docs/Reference/Default/VBA/FileSystem/MkDir.md index 2299b1465..4b8673b48 100644 --- a/docs/Reference/Default/VBA/FileSystem/MkDir.md +++ b/docs/Reference/Default/VBA/FileSystem/MkDir.md @@ -24,10 +24,10 @@ Syntax: **MkDir** *path* | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *path* already exists, as a folder or as a file
the folder or drive that would hold *path* does not exist, or *path* is a zero-length string or a name a folder cannot have | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *path* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *path* already exists, as a folder or as a file, VB6 and 64-bit VBA raise error [75 (`&H4B`)](tb:Errors#75), *Path/File access error*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the folder or drive that would hold *path* does not exist, or *path* is a zero-length string or a name a folder cannot have, VB6 and 64-bit VBA raise error [76 (`&H4C`)](tb:Errors#76), *Path not found*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/RmDir.md b/docs/Reference/Default/VBA/FileSystem/RmDir.md index 0ca90ac08..6e25963ef 100644 --- a/docs/Reference/Default/VBA/FileSystem/RmDir.md +++ b/docs/Reference/Default/VBA/FileSystem/RmDir.md @@ -26,10 +26,10 @@ Syntax: **RmDir** *path* | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | no folder has the name *path*, which includes a file, a zero-length string, and a name with a wildcard or a character a name cannot hold
the folder holds a file or a folder, or it is the current directory | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *path* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no folder has the name *path*, which includes a file, a zero-length string, and a name with a wildcard or a character a name cannot hold, VB6 and 64-bit VBA raise error [76 (`&H4C`)](tb:Errors#76), *Path not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the folder holds a file or a folder, or it is the current directory, VB6 and 64-bit VBA raise error [75 (`&H4B`)](tb:Errors#75), *Path/File access error*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/Seek.md b/docs/Reference/Default/VBA/FileSystem/Seek.md index 9e5777603..5564dee09 100644 --- a/docs/Reference/Default/VBA/FileSystem/Seek.md +++ b/docs/Reference/Default/VBA/FileSystem/Seek.md @@ -51,10 +51,10 @@ Performing a file-write operation after a **Seek** operation beyond the end of a | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *filenumber* is not the number of an open file
the statement's *position* is less than 1, after rounding | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *filenumber* or *position* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *filenumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the statement's *position* is less than 1, after rounding, VB6 and 64-bit VBA raise error [63 (`&H3F`)](tb:Errors#63), *Bad record number*, instead. diff --git a/docs/Reference/Default/VBA/FileSystem/SetAttr.md b/docs/Reference/Default/VBA/FileSystem/SetAttr.md index 9dbe07e2b..eb18099cd 100644 --- a/docs/Reference/Default/VBA/FileSystem/SetAttr.md +++ b/docs/Reference/Default/VBA/FileSystem/SetAttr.md @@ -39,7 +39,7 @@ The *attributes* settings are: **SetAttr** sets the attributes of a file that is open, whatever mode it is open in, without an error. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > This differs from VB6 and 64-bit VBA, which raise run-time error 55 (*File already open*) for a file open for **Output**, **Append**, **Binary** or **Random**, and leave its attributes unchanged. They set them only for a file open for **Input**. So twinBASIC can make a file read-only while the program still has it open for writing. @@ -50,13 +50,13 @@ The *attributes* settings are: | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | no file or folder has the name *pathname*, which includes one in a folder or drive that does not exist, a zero-length string, and a name with a character a name cannot hold
*pathname* holds a wildcard | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* or *attributes* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no file or folder has the name *pathname*, which includes one in a folder or drive that does not exist, a zero-length string, and a name with a character a name cannot hold, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* holds a wildcard, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the file is open for **Output**, **Append**, **Binary** or **Random**, VB6 and 64-bit VBA raise error [55 (`&H37`)](tb:Errors#55), *File already open*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/FileSystem/Width.md b/docs/Reference/Default/VBA/FileSystem/Width.md index b3da4e8fd..601f21d8f 100644 --- a/docs/Reference/Default/VBA/FileSystem/Width.md +++ b/docs/Reference/Default/VBA/FileSystem/Width.md @@ -24,7 +24,7 @@ Syntax: **Width #** *FileNumber* **,** *Width* > VB6 and 64-bit VBA take a *Width* from 0 to 255 only, and raise error 5, *Invalid procedure call or argument*, for one above 255. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > A negative *Width* raises no error, and **Print #** then starts a new line before each item after the first. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. @@ -35,10 +35,10 @@ Syntax: **Width #** *FileNumber* **,** *Width* | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *FileNumber* is not the number of an open file | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *Width* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *FileNumber* is not the number of an open file, VB6 and 64-bit VBA raise error [52 (`&H34`)](tb:Errors#52), *Bad file name or number*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *Width* is negative, after rounding, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Financial/DDB.md b/docs/Reference/Default/VBA/Financial/DDB.md index 2897b843b..a3dd9a380 100644 --- a/docs/Reference/Default/VBA/Financial/DDB.md +++ b/docs/Reference/Default/VBA/Financial/DDB.md @@ -45,13 +45,13 @@ Depreciation / *period* = ((*cost* - *salvage*) * *factor*) / *life* | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *factor* is not a number or a string that holds one
*factor* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *cost*, *salvage*, *life* or *period* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *life* is 0 or less, *period* is 0 or less or greater than *life*, *salvage* is less than 0, or *factor* is 0 or less (**Empty** and **True** included), VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *life* is greater than 0 and less than 1, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *factor* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/FV.md b/docs/Reference/Default/VBA/Financial/FV.md index 9b4469463..7f3823418 100644 --- a/docs/Reference/Default/VBA/Financial/FV.md +++ b/docs/Reference/Default/VBA/Financial/FV.md @@ -42,10 +42,10 @@ For all arguments, cash paid out (such as deposits to savings) is represented by | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *pv* or *type* is a string that is not a number, or an error value
*pv* or *type* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rate*, *nper* or *pmt* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *rate* is -1 and *nper* is less than 0, VB6 raises error [11 (`&HB`)](tb:Errors#11), *Division by zero*, instead; 64-bit VBA raises error [6 (`&H6`)](tb:Errors#6), *Overflow*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pv* or *type* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/IPmt.md b/docs/Reference/Default/VBA/Financial/IPmt.md index 59c68860b..f5aae82d4 100644 --- a/docs/Reference/Default/VBA/Financial/IPmt.md +++ b/docs/Reference/Default/VBA/Financial/IPmt.md @@ -36,7 +36,7 @@ The *rate* and *nper* arguments must be calculated by using payment periods expr For all arguments, cash paid out (such as deposits to savings) is represented by negative numbers; cash received (such as dividend checks) is represented by positive numbers. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given a *per* of 0 or less, or of *nper* + 1 or more, **IPmt** returns a value computed for that period, outside the annuity, and raises no error. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. @@ -48,13 +48,13 @@ For all arguments, cash paid out (such as deposits to savings) is represented by | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *fv* or *type* is a string that is not a number
*fv* or *type* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rate*, *per*, *nper* or *pv* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *per* is 0 or less, or *nper* + 1 or more, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *nper* is 0 or less, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *fv* or *type* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/IRR.md b/docs/Reference/Default/VBA/Financial/IRR.md index de5655589..c3d17f41d 100644 --- a/docs/Reference/Default/VBA/Financial/IRR.md +++ b/docs/Reference/Default/VBA/Financial/IRR.md @@ -24,7 +24,7 @@ The **IRR** function uses the order of values within the array to interpret the **IRR** is calculated by iteration. Starting with the value of *guess*, **IRR** cycles through the calculation until the result is accurate to within 0.00001 percent, and fails if it finds none in 20 tries. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given an array that has never been sized (`Dim A() As Double` with no **ReDim**, or one emptied by **Erase**), **IRR** ends the program with an access violation, in a 32-bit and a 64-bit build. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. @@ -37,10 +37,10 @@ The **IRR** function uses the order of values within the array to interpret the | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *guess* is a string that is not a number | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *guess* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *values* has no element less than 0 or none greater than 0, or **IRR** finds no result in 20 tries from *guess* (a *guess* of -1 or less, or far from the result, included), VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *values* has more than one dimension, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Financial/MIRR.md b/docs/Reference/Default/VBA/Financial/MIRR.md index 630467a51..4a9e9e890 100644 --- a/docs/Reference/Default/VBA/Financial/MIRR.md +++ b/docs/Reference/Default/VBA/Financial/MIRR.md @@ -30,11 +30,11 @@ The *finance_rate* and *reinvest_rate* arguments are percentages expressed as de The **MIRR** function uses the order of values within the array to interpret the order of payments and receipts. The payment and receipt values must be in the correct sequence. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given an array that has never been sized (`Dim A() As Double` with no **ReDim**, or one emptied by **Erase**), **MIRR** ends the program with an access violation, in a 32-bit and a 64-bit build. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **MIRR** returns a value and raises no error for arguments VB6 and 64-bit VBA refuse. Given *values* with one element it returns -1, and given a *finance_rate* or *reinvest_rate* of -1 it returns a rate; VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. Given *values* with no element less than 0 it returns infinity or NaN (not a number); VB6 and 64-bit VBA raise error 11, *Division by zero*. @@ -45,13 +45,13 @@ The **MIRR** function uses the order of values within the array to interpret the | [-2147418113 (`&H8000FFFF`)](tb:Errors#-2147418113), *Catastrophic failure* | *values* has more than one dimension | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *finance_rate* or *reinvest_rate* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *values* has one element, or *finance_rate* or *reinvest_rate* is -1, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *values* has no element less than 0, VB6 and 64-bit VBA raise error [11 (`&HB`)](tb:Errors#11), *Division by zero*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *values* has more than one dimension, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Financial/NPV.md b/docs/Reference/Default/VBA/Financial/NPV.md index 6154367aa..e07045232 100644 --- a/docs/Reference/Default/VBA/Financial/NPV.md +++ b/docs/Reference/Default/VBA/Financial/NPV.md @@ -31,11 +31,11 @@ The net present value calculation is based on future cash flows. If the first ca The **NPV** function is similar to the [**PV**](PV) function (present value) except that the **PV** function allows cash flows to begin either at the end or the beginning of a period. Unlike the variable **NPV** cash flow values, **PV** cash flows must be fixed throughout the investment. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given an array that has never been sized (`Dim A() As Double` with no **ReDim**, or one emptied by **Erase**), **NPV** ends the program with an access violation, in a 32-bit and a 64-bit build. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given a *rate* of -1, **NPV** returns NaN (not a number) and raises no error. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. @@ -46,10 +46,10 @@ The **NPV** function is similar to the [**PV**](PV) function (present value) exc | [-2147418113 (`&H8000FFFF`)](tb:Errors#-2147418113), *Catastrophic failure* | *values* has more than one dimension | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rate* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *rate* is -1, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *values* has more than one dimension, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Financial/NPer.md b/docs/Reference/Default/VBA/Financial/NPer.md index 7c94a3cd9..376361353 100644 --- a/docs/Reference/Default/VBA/Financial/NPer.md +++ b/docs/Reference/Default/VBA/Financial/NPer.md @@ -41,19 +41,19 @@ For all arguments, cash paid out (such as deposits to savings) is represented by | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *fv* or *type* is a string that is not a number
*fv* or *type* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rate*, *pmt* or *pv* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *rate* and *pmt* are of opposite signs, as in a loan or a savings plan, and a number of periods exists, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no number of periods exists, as when *pmt* does not cover the interest, or *rate* is -1 and *pmt* is greater than 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pmt* is 0 and *rate* is not 0, or *rate* is -1 and *pmt* is less than 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *rate* and *pmt* are both 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *fv* or *type* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/PPmt.md b/docs/Reference/Default/VBA/Financial/PPmt.md index 03ff21be1..e261d1a48 100644 --- a/docs/Reference/Default/VBA/Financial/PPmt.md +++ b/docs/Reference/Default/VBA/Financial/PPmt.md @@ -36,7 +36,7 @@ The *rate* and *nper* arguments must be calculated using payment periods express For all arguments, cash paid out (such as deposits to savings) is represented by negative numbers; cash received (such as dividend checks) is represented by positive numbers. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given a *per* of 0 or less, or of *nper* + 1 or more, **PPmt** returns a value computed for that period, outside the annuity, and raises no error. VB6 and 64-bit VBA raise error 5, *Invalid procedure call or argument*. @@ -49,16 +49,16 @@ For all arguments, cash paid out (such as deposits to savings) is represented by | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *fv* or *type* is a string that is not a number
*fv* or *type* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rate*, *per*, *nper* or *pv* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *per* is 0 or less, or *nper* + 1 or more, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *nper* is 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *nper* is less than 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *fv* or *type* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/PV.md b/docs/Reference/Default/VBA/Financial/PV.md index 6d07e69d1..c03b9541e 100644 --- a/docs/Reference/Default/VBA/Financial/PV.md +++ b/docs/Reference/Default/VBA/Financial/PV.md @@ -45,16 +45,16 @@ For all arguments, cash paid out (such as deposits to savings) is represented by | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *fv* or *type* is a string that is not a number
*fv* or *type* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rate*, *nper* or *pmt* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *rate* is -1 and *nper* is 0, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *rate* is -1 and *nper* is greater than 0, VB6 raises no error; 64-bit VBA raises error [11 (`&HB`)](tb:Errors#11), *Division by zero*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *rate* is -1 and *nper* is less than 0, VB6 raises no error; 64-bit VBA raises error [6 (`&H6`)](tb:Errors#6), *Overflow*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *fv* or *type* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/Pmt.md b/docs/Reference/Default/VBA/Financial/Pmt.md index e96521fa4..e9634ceb9 100644 --- a/docs/Reference/Default/VBA/Financial/Pmt.md +++ b/docs/Reference/Default/VBA/Financial/Pmt.md @@ -43,13 +43,13 @@ For all arguments, cash paid out (such as deposits to savings) is represented by | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *fv* or *type* is a string that is not a number
*fv* or *type* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *rate*, *nper* or *pv* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *nper* is 0 and *rate* is not 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *nper* and *rate* are both 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *fv* or *type* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/Rate.md b/docs/Reference/Default/VBA/Financial/Rate.md index af87a97c9..31bafe018 100644 --- a/docs/Reference/Default/VBA/Financial/Rate.md +++ b/docs/Reference/Default/VBA/Financial/Rate.md @@ -36,7 +36,7 @@ For all arguments, cash paid out (such as deposits to savings) is represented by **Rate** is calculated by iteration. Starting with the value of *guess*, **Rate** cycles through the calculation until the result is accurate to within 0.00001 percent, and fails if it finds none in 20 tries. If it fails from the default of 10 percent, try a different value for *guess*. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Given a lump sum (a *pmt* of 0) over an even number of periods, **Rate** can return a rate below -1 and raise no error: `Rate(2, 0, 100, -121)` and `Rate(4, 0, 100, -146.41)` return -2.1. VB6 returns 0.1. @@ -49,25 +49,25 @@ For all arguments, cash paid out (such as deposits to savings) is represented by | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *fv* or *type* is a string that is not a number
*fv* or *type* is **Null** | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *nper*, *pmt* or *pv* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When a rate exists (twinBASIC finds one only for a few annuities, none of them with a *pmt* other than 0), VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **Rate** finds no result in 20 tries from *guess* (a *guess* of -1 or less, or far from the result, included), or *nper* is 0 or less, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *nper* is less than 1 and the result is beyond the range of a **Double**, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *nper* is less than 1 and *pmt* is 0, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *guess* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *guess* is a string that is not a number, or an error value, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *fv* or *type* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. diff --git a/docs/Reference/Default/VBA/Financial/SLN.md b/docs/Reference/Default/VBA/Financial/SLN.md index 54acb5f73..e1e9779a2 100644 --- a/docs/Reference/Default/VBA/Financial/SLN.md +++ b/docs/Reference/Default/VBA/Financial/SLN.md @@ -32,10 +32,10 @@ The depreciation period must be expressed in the same unit as the *life* argumen | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *life* is 0 | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *cost*, *salvage* or *life* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *life* is 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the result is beyond the range of a **Double** (twinBASIC returns infinity), 64-bit VBA raises error [6 (`&H6`)](tb:Errors#6), *Overflow*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Financial/SYD.md b/docs/Reference/Default/VBA/Financial/SYD.md index 9f88d0dbf..ed0bf841b 100644 --- a/docs/Reference/Default/VBA/Financial/SYD.md +++ b/docs/Reference/Default/VBA/Financial/SYD.md @@ -35,7 +35,7 @@ The *life* and *period* arguments must be expressed in the same units. For examp | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *life* is 0 or less, *period* is 0 or less or greater than *life*, or *salvage* is less than 0 | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *cost*, *salvage*, *life* or *period* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *life* is 0 or less, *period* is 0 or less or greater than *life*, or *salvage* is less than 0, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/HiddenModule/AddClassInstanceFlag.md b/docs/Reference/Default/VBA/HiddenModule/AddClassInstanceFlag.md index bfbb4812e..95bfc49a4 100644 --- a/docs/Reference/Default/VBA/HiddenModule/AddClassInstanceFlag.md +++ b/docs/Reference/Default/VBA/HiddenModule/AddClassInstanceFlag.md @@ -54,7 +54,7 @@ Syntax: **InternalGetReturnAddress()** **As LongPtr** The function is provided for code generated in debug mode. It uses special internal bindings, so it may not behave like a regular function. In a 32-bit build compiled without LLVM it returns a non-zero address, in an IDE run and in a built exe alike. In code compiled with LLVM it returns 0. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > A procedure that calls **InternalGetReturnAddress** fails code generation in a 64-bit build, with or without LLVM, and the project does not build. diff --git a/docs/Reference/Default/VBA/HiddenModule/ConvertIconToBitmap.md b/docs/Reference/Default/VBA/HiddenModule/ConvertIconToBitmap.md index 57fb773e7..af005c02e 100644 --- a/docs/Reference/Default/VBA/HiddenModule/ConvertIconToBitmap.md +++ b/docs/Reference/Default/VBA/HiddenModule/ConvertIconToBitmap.md @@ -19,7 +19,7 @@ Syntax: **ConvertIconToBitmap(** *IconPicture* [ **,** *BackColor* ] **)** **As The returned picture is a fresh bitmap-typed **stdole.StdPicture** with the icon rasterised on top of the chosen background. The original icon picture is unchanged. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > An *IconPicture* of **Nothing** ends the program with an access violation, in a 32-bit and a 64-bit build alike. diff --git a/docs/Reference/Default/VBA/HiddenModule/Eval.md b/docs/Reference/Default/VBA/HiddenModule/Eval.md index ed5815992..aeb871e49 100644 --- a/docs/Reference/Default/VBA/HiddenModule/Eval.md +++ b/docs/Reference/Default/VBA/HiddenModule/Eval.md @@ -18,19 +18,19 @@ A fresh [**TbExpressionService**](../TbExpressionService/) is built for every ca For repeated evaluation of the same source, or for expressions that need to see application objects, construct the service explicitly and reuse a compiled [**ITbExpression**](../TbExpressionService/#itbexpression-interface). -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Some malformed expressions are not refused: the part that cannot be read is left out, and no error is raised. `Eval("2 +")`, `Eval("2 Mod")`, `Eval("(2")` and `Eval("2)")` each return 2. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > **Eval** raises -2147467259 for any error inside the expression: the error's own number and description are lost. `Eval("1 / 0")` raises -2147467259, not 11. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > **Eval** also raises -2147467259 for an expression whose value is an **Error** value, such as `Eval("CVErr(5)")`, and for **Len** of **Null**, which outside an expression returns **Null**. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > In a built program, the first error the expression service raises has the description *Automation error*, and every later one *Unspecified error*. In a run from the IDE, every one has the description *Automation error*. diff --git a/docs/Reference/Default/VBA/HiddenModule/GetInheritedOwner.md b/docs/Reference/Default/VBA/HiddenModule/GetInheritedOwner.md index 816756639..e4fca489c 100644 --- a/docs/Reference/Default/VBA/HiddenModule/GetInheritedOwner.md +++ b/docs/Reference/Default/VBA/HiddenModule/GetInheritedOwner.md @@ -16,7 +16,7 @@ Syntax: **GetInheritedOwner(** *Value* **)** **As Object** For controls that participate in a control-container hierarchy, the inherited owner is the topmost owning object that supplies ambient settings --- typically the form. Returns **Nothing** when no inherited owner is set. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > A *Value* of **Nothing**, or an object that is not a control, ends the program with an access violation: **Nothing** and a **Collection** in a 32-bit and a 64-bit build, a **Scripting.Dictionary** in a 64-bit build. diff --git a/docs/Reference/Default/VBA/HiddenModule/RuntimeCreateGetMessageHook.md b/docs/Reference/Default/VBA/HiddenModule/RuntimeCreateGetMessageHook.md index 24c0558aa..0b5225df1 100644 --- a/docs/Reference/Default/VBA/HiddenModule/RuntimeCreateGetMessageHook.md +++ b/docs/Reference/Default/VBA/HiddenModule/RuntimeCreateGetMessageHook.md @@ -13,7 +13,7 @@ Syntax: **RuntimeCreateGetMessageHook()** **As IGetMessageHook** The returned hook starts dormant. Subscribe a callback for one or more message types with [**RegisterMessage**](RegisterMessage), then call [**Start**](Start) to activate the subscriptions and [**Stop**](Stop) to remove them. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Assigning the result to a **Variant** without **Set**, as in `V = RuntimeCreateGetMessageHook()`, ends the program with an access violation, in a 32-bit and a 64-bit build alike. Assign it with **Set**, or to a variable declared **As IGetMessageHook**. ### Example diff --git a/docs/Reference/Default/VBA/HiddenModule/vbaCastObj.md b/docs/Reference/Default/VBA/HiddenModule/vbaCastObj.md index b58ebe36f..f568dcd07 100644 --- a/docs/Reference/Default/VBA/HiddenModule/vbaCastObj.md +++ b/docs/Reference/Default/VBA/HiddenModule/vbaCastObj.md @@ -21,7 +21,7 @@ A direct wrapper over **IUnknown::QueryInterface**, as VB6's runtime function `_ *IID* is read as the address of a **GUID**. A **String** is not converted: its text is not an interface ID, as `"{00000000-0000-0000-C000-000000000046}"` is not. A **GUID** variable passed itself, rather than its address, ends a 32-bit program with an access violation. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **vbaCastObj** raises no error when *Obj* does not have the interface, or when *IID* is a **String**: it returns **Nothing**. @@ -31,7 +31,7 @@ A direct wrapper over **IUnknown::QueryInterface**, as VB6's runtime function `_ |---|---| | [424 (`&H1A8`)](tb:Errors#424), *Object required* | *Obj* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *Obj* does not have the interface *IID* names, or *IID* is a **String**, whose text is not read as an interface ID, VB6 raises error [13 (`&HD`)](tb:Errors#13), *Type mismatch*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Information/LBound.md b/docs/Reference/Default/VBA/Information/LBound.md index 012fce9e7..bb2e23f5d 100644 --- a/docs/Reference/Default/VBA/Information/LBound.md +++ b/docs/Reference/Default/VBA/Information/LBound.md @@ -49,10 +49,10 @@ The default lower bound for any dimension is either 0 or 1, depending on the **O | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *arrayname* is a **Variant** that holds no array, **Empty** and **Null** included | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *dimension* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *dimension* is less than 1 or greater than the number of dimensions of *arrayname*, after rounding, VB6 and 64-bit VBA raise error [9 (`&H9`)](tb:Errors#9), *Subscript out of range*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *dimension* is greater than 32,767, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*, instead. diff --git a/docs/Reference/Default/VBA/Information/UBound.md b/docs/Reference/Default/VBA/Information/UBound.md index 5ae1d4f0f..013e46761 100644 --- a/docs/Reference/Default/VBA/Information/UBound.md +++ b/docs/Reference/Default/VBA/Information/UBound.md @@ -47,10 +47,10 @@ For an array `Dim A(1 To 100, 0 To 3, -3 To 4)`, **UBound** returns: | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *arrayname* is a **Variant** that holds no array, **Empty** and **Null** included | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *dimension* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *dimension* is less than 1 or greater than the number of dimensions of *arrayname*, after rounding, VB6 and 64-bit VBA raise error [9 (`&H9`)](tb:Errors#9), *Subscript out of range*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *dimension* is greater than 32,767, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/AppActivate.md b/docs/Reference/Default/VBA/Interaction/AppActivate.md index 7661d550f..a0efd07bf 100644 --- a/docs/Reference/Default/VBA/Interaction/AppActivate.md +++ b/docs/Reference/Default/VBA/Interaction/AppActivate.md @@ -40,16 +40,16 @@ In determining which application to activate, *title* is compared to the title s | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *title* is **Null** | | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | no window has *title* as its title, or its beginning or end, and no process with *title* as its task ID has a window (0, a negative number, **True** and **Empty** included) | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When no window has *title* as its title, or its beginning or end, and no process with *title* as its task ID has a window (0, a negative number, **True** and **Empty** included), VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the window *title* names is hidden, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *wait* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *wait* is a string that is not a **Boolean**, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Interaction/CallByName.md b/docs/Reference/Default/VBA/Interaction/CallByName.md index 142a33c6d..eb977302c 100644 --- a/docs/Reference/Default/VBA/Interaction/CallByName.md +++ b/docs/Reference/Default/VBA/Interaction/CallByName.md @@ -28,7 +28,7 @@ Syntax: **CallByName(** *object* **,** *procname* **,** *calltype* [ **,** *args The return value is a **Variant** containing whatever the call returned. For methods that return nothing, or for property assignments, the result is **Empty**. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the member called raises an error itself with a constant number, as in `Err.Raise 380`, or with the [**Error**](../../Core/Error) statement, **CallByName** raises error -2147352567 (`&H80020009`), *Exception occurred.*, not that number. VB6 raises the member's own number. A number the member passes in a variable, as in `Err.Raise Number`, and a run-time error such as a division by zero arrive unchanged. @@ -43,25 +43,25 @@ The return value is a **Variant** containing whatever the call returned. For met | [-2147352567 (`&H80020009`)](tb:Errors#-2147352567), *Exception occurred.* | the member raises an error of its own, such as **Add** of a **Dictionary** given a key it holds
the member raises an error of its own, such as a **Dictionary**'s **CompareMode** set when it has items | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *procname* or *calltype* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *procname* is a zero-length string, VB6 and 64-bit VBA raise error [450 (`&H1C2`)](tb:Errors#450), *Wrong number of arguments or invalid property assignment*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *calltype* is not one of the **VbCallType** values (3, **vbMethod** + **vbGet**, is accepted), VB6 and 64-bit VBA raise error [438 (`&H1B6`)](tb:Errors#438), *Object doesn't support this property or method*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *object* is **Nothing**, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the number of *args* is not the number the member takes, or a read-only property is assigned, VB6 and 64-bit VBA raise error [450 (`&H1C2`)](tb:Errors#450), *Wrong number of arguments or invalid property assignment*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *args* are given to a property that takes none, VB6 and 64-bit VBA raise error [451 (`&H1C3`)](tb:Errors#451), *Property let procedure not defined and property get procedure did not return an object*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the member raises an error of its own, such as **Add** of a **Dictionary** given a key it holds, VB6 and 64-bit VBA raise error [457 (`&H1C9`)](tb:Errors#457), *This key is already associated with an element of this collection*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the member raises an error of its own, such as a **Dictionary**'s **CompareMode** set when it has items, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/CreateObject.md b/docs/Reference/Default/VBA/Interaction/CreateObject.md index 5a942eca0..e7f7a820c 100644 --- a/docs/Reference/Default/VBA/Interaction/CreateObject.md +++ b/docs/Reference/Default/VBA/Interaction/CreateObject.md @@ -45,16 +45,16 @@ If an object has registered itself as single-instance, only one instance is ever | [-2147023174 (`&H800706BA`)](tb:Errors#-2147023174), *The RPC server is unavailable.* | *servername* names a computer that cannot be reached | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *class* or *servername* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *class* is not a registered class name, such as a number, or a CLSID in braces without `new:`, VB6 and 64-bit VBA raise error [429 (`&H1AD`)](tb:Errors#429), *ActiveX component can't create object*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *class* is `new:` with a CLSID that is not registered, VB6 and 64-bit VBA raise error [429 (`&H1AD`)](tb:Errors#429), *ActiveX component can't create object*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *class* is `new:` followed by text that is not a CLSID, VB6 and 64-bit VBA raise error [429 (`&H1AD`)](tb:Errors#429), *ActiveX component can't create object*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *class* is a zero-length string, VB6 and 64-bit VBA raise error [429 (`&H1AD`)](tb:Errors#429), *ActiveX component can't create object*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/DeleteSetting.md b/docs/Reference/Default/VBA/Interaction/DeleteSetting.md index 2d3889ab0..ad9e274c6 100644 --- a/docs/Reference/Default/VBA/Interaction/DeleteSetting.md +++ b/docs/Reference/Default/VBA/Interaction/DeleteSetting.md @@ -36,7 +36,7 @@ The root of these registry settings is: `Computer\HKEY_CURRENT_USER\Software\VB | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | the application, section or key named does not exist, or *appname* or *section* is a zero-length string | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | an argument is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the application, section or key named does not exist, or *appname* or *section* is a zero-length string, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/Environ.md b/docs/Reference/Default/VBA/Interaction/Environ.md index 93bcf1910..ce998a46b 100644 --- a/docs/Reference/Default/VBA/Interaction/Environ.md +++ b/docs/Reference/Default/VBA/Interaction/Environ.md @@ -38,10 +38,10 @@ When called with *number*, **Environ** returns the entire entry at that position | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *number* is less than 1 after rounding (**Empty** and **True** included), no entry has that position, or *envstring* is a zero-length string
*number* is greater than 32,767 | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *envstring* or *number* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *number* is less than 1 after rounding (**Empty** and **True** included), no entry has that position, or *envstring* is a zero-length string, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *number* is greater than 32,767, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/GetAllSettings.md b/docs/Reference/Default/VBA/Interaction/GetAllSettings.md index 36cdb5730..ec20b57f3 100644 --- a/docs/Reference/Default/VBA/Interaction/GetAllSettings.md +++ b/docs/Reference/Default/VBA/Interaction/GetAllSettings.md @@ -31,7 +31,7 @@ The root of these registry settings is: `Computer\HKEY_CURRENT_USER\Software\VB | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *appname* or *section* is a zero-length string | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *appname* or *section* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *appname* or *section* is a zero-length string, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/GetObject.md b/docs/Reference/Default/VBA/Interaction/GetObject.md index 387022543..b274cd1eb 100644 --- a/docs/Reference/Default/VBA/Interaction/GetObject.md +++ b/docs/Reference/Default/VBA/Interaction/GetObject.md @@ -63,19 +63,19 @@ For an object registered as single-instance, **GetObject** with the zero-length- | [-2147221020 (`&H800401E4`)](tb:Errors#-2147221020), *Invalid syntax* | *pathname* is neither a file name nor a name Windows can bind to an object | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* or *class* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* names a file that does not exist, and *class* is omitted, VB6 and 64-bit VBA raise error [432 (`&H1B0`)](tb:Errors#432), *File name or class name not found during Automation operation*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* names a file that does not exist, and *class* is given, VB6 and 64-bit VBA raise error [432 (`&H1B0`)](tb:Errors#432), *File name or class name not found during Automation operation*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *class* is not a registered class name, VB6 and 64-bit VBA raise error [429 (`&H1AD`)](tb:Errors#429), *ActiveX component can't create object*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* is omitted and no instance of *class* is running, VB6 and 64-bit VBA raise error [429 (`&H1AD`)](tb:Errors#429), *ActiveX component can't create object*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When both arguments are omitted, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/GetSetting.md b/docs/Reference/Default/VBA/Interaction/GetSetting.md index 4522c4ab8..0d076d868 100644 --- a/docs/Reference/Default/VBA/Interaction/GetSetting.md +++ b/docs/Reference/Default/VBA/Interaction/GetSetting.md @@ -42,7 +42,7 @@ The root of these registry settings is: `Computer\HKEY_CURRENT_USER\Software\VB | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *appname*, *section* or *key* is a zero-length string | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | an argument is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *appname*, *section* or *key* is a zero-length string, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/InputBox.md b/docs/Reference/Default/VBA/Interaction/InputBox.md index 6d1cd24b5..ea2889ee2 100644 --- a/docs/Reference/Default/VBA/Interaction/InputBox.md +++ b/docs/Reference/Default/VBA/Interaction/InputBox.md @@ -64,16 +64,16 @@ When both *helpfile* and *context* are supplied, the user can press F1 to view t | [6 (`&H6`)](tb:Errors#6), *Overflow* | *xpos* or *ypos* is outside the range of a **Long** | | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *helpfile* is given without *context* | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *helpfile* is **Null**, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *xpos* or *ypos* is outside -32,768 to 32,767 after rounding, and inside the range of a **Long**, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*; twinBASIC raises none. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *helpfile* is given without *context*, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *context* is given without *helpfile*, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Interaction/MsgBox.md b/docs/Reference/Default/VBA/Interaction/MsgBox.md index 12a7fd5e1..85493daaa 100644 --- a/docs/Reference/Default/VBA/Interaction/MsgBox.md +++ b/docs/Reference/Default/VBA/Interaction/MsgBox.md @@ -34,7 +34,7 @@ The *buttons* argument is a combination of values from the [**VbMsgBoxStyle**](. > **MsgBox** passes *buttons* to Windows as it is, so any style Windows accepts can be used. VB6 and 64-bit VBA show a plain **OK** box for a value they do not know --- `vbCancelTryAgainContinue`, two icons combined, a default-button value of &H400 --- and raise no error. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > A *buttons* value whose button group Windows does not have (7 to 15, -1 included) shows no box: **MsgBox** returns 0 and raises no error. VB6 and 64-bit VBA show an **OK** box and return **vbOK**. The return value is one of the constants from the [**VbMsgBoxResult**](../Constants/VbMsgBoxResult) enumeration, identifying which button the user clicked. @@ -52,13 +52,13 @@ If the dialog box displays a **Cancel** button, pressing the ESC key has the sam | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *prompt*, *buttons*, *title* or *context* is **Null**
*helpfile* is **Null** | | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *helpfile* is given without *context* | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *helpfile* is **Null**, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *helpfile* is given without *context*, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *context* is given without *helpfile*, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Interaction/Partition.md b/docs/Reference/Default/VBA/Interaction/Partition.md index edf219a52..b75498248 100644 --- a/docs/Reference/Default/VBA/Interaction/Partition.md +++ b/docs/Reference/Default/VBA/Interaction/Partition.md @@ -53,13 +53,13 @@ Any argument may be a decimal value, but is rounded to the nearest even integer |---|---| | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *start* is less than 0, *stop* is not greater than *start*, or *interval* is less than 1, after rounding
an argument is a string that is not a number
an argument is outside the range of a **LongLong** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *start* is less than 0, *stop* is not greater than *start*, or *interval* is less than 1, after rounding, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When an argument is a string that is not a number, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When an argument is outside the range of a **LongLong**, VB6 and 64-bit VBA raise error [6 (`&H6`)](tb:Errors#6), *Overflow*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/RaiseEventByName.md b/docs/Reference/Default/VBA/Interaction/RaiseEventByName.md index cd4c623a7..9b3e3e727 100644 --- a/docs/Reference/Default/VBA/Interaction/RaiseEventByName.md +++ b/docs/Reference/Default/VBA/Interaction/RaiseEventByName.md @@ -27,11 +27,11 @@ Returns a **Variant**. The returned value is the value left in the last `ByRef` If *procname* doesn't match any event declared on *object*, or the supplied arity doesn't match the event declaration, a run-time error occurs. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > An *object* that declares no events, such as a **Collection** or a **Scripting.Dictionary**, ends the program with an access violation, with no error to handle. Unsaved data is lost. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > An event that no handler is attached to raises error -2147467259 (`&H80004005`), *Unspecified error*. The **RaiseEvent** statement raises nothing for it. diff --git a/docs/Reference/Default/VBA/Interaction/RaiseEventByName2.md b/docs/Reference/Default/VBA/Interaction/RaiseEventByName2.md index 8ceb71e51..ccafbeec5 100644 --- a/docs/Reference/Default/VBA/Interaction/RaiseEventByName2.md +++ b/docs/Reference/Default/VBA/Interaction/RaiseEventByName2.md @@ -27,11 +27,11 @@ Returns a **Variant**. The returned value is the value left in the last `ByRef` If *procname* doesn't match any event declared on *object*, or the supplied arity doesn't match the event declaration, a run-time error occurs. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > An *object* that declares no events, such as a **Collection**, ends the program with an access violation, with no error to handle. Unsaved data is lost. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > An event that no handler is attached to raises error -2147467259 (`&H80004005`), *Unspecified error*. The **RaiseEvent** statement raises nothing for it. diff --git a/docs/Reference/Default/VBA/Interaction/SaveSetting.md b/docs/Reference/Default/VBA/Interaction/SaveSetting.md index 401685b00..c32163f26 100644 --- a/docs/Reference/Default/VBA/Interaction/SaveSetting.md +++ b/docs/Reference/Default/VBA/Interaction/SaveSetting.md @@ -41,7 +41,7 @@ The root of these registry settings is: `Computer\HKEY_CURRENT_USER\Software\VB | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *appname*, *section* or *key* is a zero-length string | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | an argument is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *appname*, *section* or *key* is a zero-length string, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/SendKeys.md b/docs/Reference/Default/VBA/Interaction/SendKeys.md index d8224bdfb..006ad5c55 100644 --- a/docs/Reference/Default/VBA/Interaction/SendKeys.md +++ b/docs/Reference/Default/VBA/Interaction/SendKeys.md @@ -70,7 +70,7 @@ To repeat a key, use the form `{key number}` --- for example, `"{LEFT 42}"` to p > **SendKeys** can't send keystrokes to applications that aren't running in Windows, and it cannot send the PRINT SCREEN key to any application: `{PRTSC}` sends the virtual key `VK_PRINT` (&H2A), not `VK_SNAPSHOT` (&H2C), as VB6 and 64-bit VBA do. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > A character that has no key on the keyboard layout sends the wrong key, and no error is raised. The string is first converted to the ANSI code page, so a character outside it becomes its nearest ANSI character (`Ā` becomes `A`, `☺` becomes `?`), and a character the layout has no key for is sent as the virtual key of its ANSI code (`é`, on a US layout, as &HE9, which types nothing or another character). VB6 and 64-bit VBA send such a character as the character itself, which types it in any window. @@ -81,13 +81,13 @@ To repeat a key, use the form `{key number}` --- for example, `"{LEFT 42}"` to p | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *string* is **Null** | | [-2147352567 (`&H80020009`)](tb:Errors#-2147352567), *Exception occurred.* | *string* has a brace that is not closed or not opened, an unknown key code (`{INS}` and `{F17}` included), a count in braces that is not a whole number from 0 to 8,175, unbalanced parentheses, or a modifier with nothing after it (`++`)
*wait* is **Null**
*wait* is a string that is not a **Boolean** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *string* has a brace that is not closed or not opened, an unknown key code (`{INS}` and `{F17}` included), a count in braces that is not a whole number from 0 to 8,175, unbalanced parentheses, or a modifier with nothing after it (`++`), VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *wait* is **Null**, VB6 and 64-bit VBA raise error [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *wait* is a string that is not a **Boolean**, VB6 and 64-bit VBA raise error [13 (`&HD`)](tb:Errors#13), *Type mismatch*, instead. diff --git a/docs/Reference/Default/VBA/Interaction/Shell.md b/docs/Reference/Default/VBA/Interaction/Shell.md index c0100e962..e1e39977c 100644 --- a/docs/Reference/Default/VBA/Interaction/Shell.md +++ b/docs/Reference/Default/VBA/Interaction/Shell.md @@ -35,16 +35,16 @@ If **Shell** successfully launches the named program, it returns the new process | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *pathname* or *windowstyle* is **Null** | | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | *pathname* is a zero-length string or spaces, names a folder or a file that is not a program, or is longer than 32,767 characters
the program, or a folder in its path, does not exist, or *pathname* opens a quotation mark it does not close
*windowstyle* is less than 0 or greater than 10 after rounding | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *pathname* is a zero-length string or spaces, names a folder or a file that is not a program, or is longer than 32,767 characters, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the program, or a folder in its path, does not exist, or *pathname* opens a quotation mark it does not close, VB6 and 64-bit VBA raise error [53 (`&H35`)](tb:Errors#53), *File not found*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *windowstyle* is less than 0 or greater than 10 after rounding, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *windowstyle* is 10 after rounding (`SW_SHOWDEFAULT`, which a new program's start-up information may not hold), VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Interaction/Switch.md b/docs/Reference/Default/VBA/Interaction/Switch.md index 694789e8e..72ca3cb69 100644 --- a/docs/Reference/Default/VBA/Interaction/Switch.md +++ b/docs/Reference/Default/VBA/Interaction/Switch.md @@ -34,7 +34,7 @@ The argument list consists of pairs of conditions and values. Conditions are eva | [-2147467259 (`&H80004005`)](tb:Errors#-2147467259), *Unspecified error* | the arguments are not in pairs: their number is odd | | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | an *expr* is a string that is not a **Boolean** or a number | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the arguments are not in pairs: their number is odd, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. diff --git a/docs/Reference/Default/VBA/Math/Cos.md b/docs/Reference/Default/VBA/Math/Cos.md index ae5e2ad58..f5e5a82c0 100644 --- a/docs/Reference/Default/VBA/Math/Cos.md +++ b/docs/Reference/Default/VBA/Math/Cos.md @@ -26,7 +26,7 @@ To convert degrees to radians, multiply degrees by pi/180. To convert radians to | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *number* is **Null** | | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | the magnitude of *number* is 9,223,372,036,854,775,808 (2^63) or more | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the magnitude of *number* is 9,223,372,000,000,000,000 or more but less than 2^63, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Math/ShiftRotateLeft.md b/docs/Reference/Default/VBA/Math/ShiftRotateLeft.md index a32571b80..9e0067451 100644 --- a/docs/Reference/Default/VBA/Math/ShiftRotateLeft.md +++ b/docs/Reference/Default/VBA/Math/ShiftRotateLeft.md @@ -26,7 +26,7 @@ Unlike the [**\<<**](../../Core/LeftShift) operator, which discards the bits shi With constant arguments, the call is evaluated when the code is compiled, so it can be used in a [**Const**](../../Core/Const) declaration, an **Enum** member's value or a **Case** expression. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **ShiftRotateLeft** ignores the names of named arguments and takes its arguments in the order they are written: `ShiftRotateLeft(ShiftAmount:=4, Number:=&H12345678)` rotates 4 left by `&H12345678` bits, and gives the **Integer** `&H400`. Write the arguments by position, *number* first. > [!NOTE] diff --git a/docs/Reference/Default/VBA/Math/ShiftRotateRight.md b/docs/Reference/Default/VBA/Math/ShiftRotateRight.md index ac5e72eff..2aefea4e4 100644 --- a/docs/Reference/Default/VBA/Math/ShiftRotateRight.md +++ b/docs/Reference/Default/VBA/Math/ShiftRotateRight.md @@ -26,7 +26,7 @@ Unlike the [**\>>**](../../Core/RightShift) operator, which discards the bits sh With constant arguments, the call is evaluated when the code is compiled, so it can be used in a [**Const**](../../Core/Const) declaration, an **Enum** member's value or a **Case** expression. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **ShiftRotateRight** ignores the names of named arguments and takes its arguments in the order they are written: `ShiftRotateRight(ShiftAmount:=4, Number:=&H12345678)` rotates 4 right by `&H12345678` bits. Write the arguments by position, *number* first. > [!NOTE] diff --git a/docs/Reference/Default/VBA/Math/ShiftUnsignedRight.md b/docs/Reference/Default/VBA/Math/ShiftUnsignedRight.md index 4d460a74e..447d52fac 100644 --- a/docs/Reference/Default/VBA/Math/ShiftUnsignedRight.md +++ b/docs/Reference/Default/VBA/Math/ShiftUnsignedRight.md @@ -26,7 +26,7 @@ A shift by as many bits as the type holds, or more, gives 0. A negative *shiftam With constant arguments, the call is evaluated when the code is compiled, so it can be used in a [**Const**](../../Core/Const) declaration, an **Enum** member's value or a **Case** expression. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **ShiftUnsignedRight** ignores the names of named arguments and takes its arguments in the order they are written: `ShiftUnsignedRight(ShiftAmount:=4, Number:=&H12345678)` shifts 4 right by `&H12345678` bits, and gives 0. Write the arguments by position, *number* first. > [!NOTE] diff --git a/docs/Reference/Default/VBA/Math/Sin.md b/docs/Reference/Default/VBA/Math/Sin.md index 75081c3b5..3934b602d 100644 --- a/docs/Reference/Default/VBA/Math/Sin.md +++ b/docs/Reference/Default/VBA/Math/Sin.md @@ -26,7 +26,7 @@ To convert degrees to radians, multiply degrees by pi/180. To convert radians to | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *number* is **Null** | | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | the magnitude of *number* is 9,223,372,036,854,775,808 (2^63) or more | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the magnitude of *number* is 9,223,372,000,000,000,000 or more but less than 2^63, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Math/Tan.md b/docs/Reference/Default/VBA/Math/Tan.md index 11c3a405a..47f982dc3 100644 --- a/docs/Reference/Default/VBA/Math/Tan.md +++ b/docs/Reference/Default/VBA/Math/Tan.md @@ -26,10 +26,10 @@ To convert degrees to radians, multiply degrees by pi/180. To convert radians to | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *number* is **Null** | | [-2147348207 (`&H80021111`)](tb:Errors#-2147348207), *Automation error* | the magnitude of *number* is 9,223,372,036,854,775,808 (2^63) or more | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the magnitude of *number* is 9,223,372,036,854,775,808 (2^63) or more, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*, instead. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When the magnitude of *number* is 9,223,372,000,000,000,000 or more but less than 2^63, VB6 and 64-bit VBA raise error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Strings/Filter.md b/docs/Reference/Default/VBA/Strings/Filter.md index b7a816e85..71e077d69 100644 --- a/docs/Reference/Default/VBA/Strings/Filter.md +++ b/docs/Reference/Default/VBA/Strings/Filter.md @@ -48,7 +48,7 @@ The array returned by the **Filter** function contains only enough elements to c | [13 (`&HD`)](tb:Errors#13), *Type mismatch* | *sourcearray* is **Null**, or has more than one dimension | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *match*, *include* or *compare* is **Null**, or an element of *sourcearray* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *compare* is 2 (**vbDatabaseCompare**), VB6 raises error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Strings/InStr.md b/docs/Reference/Default/VBA/Strings/InStr.md index 29e2f9230..e03d86a46 100644 --- a/docs/Reference/Default/VBA/Strings/InStr.md +++ b/docs/Reference/Default/VBA/Strings/InStr.md @@ -59,10 +59,10 @@ The **InStrB** function is used with byte data contained in a string. Instead of | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | *start* is less than 1
**InStr** is given a *start* greater than 1,073,741,824
**InStr** is given a *compare* that is less than 0, or greater than 1 and not a valid locale identifier
**InStr** is given a *compare* that is not a valid locale identifier, and *string1* or *string2* is zero-length | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *start* or *compare* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **InStr** is given a *compare* that is not a valid locale identifier, and *string1* or *string2* is zero-length, VB6 and 64-bit VBA raise no error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When **InStr** is given a *compare* of 2 (**vbDatabaseCompare**), VB6 raises error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Strings/Len.md b/docs/Reference/Default/VBA/Strings/Len.md index 098291dc7..334fe70ec 100644 --- a/docs/Reference/Default/VBA/Strings/Len.md +++ b/docs/Reference/Default/VBA/Strings/Len.md @@ -29,7 +29,7 @@ One (and only one) of the two possible arguments must be specified. With user-de > **Len** may not be able to determine the actual number of storage bytes required when used with variable-length strings in user-defined data types. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > **Len** and **LenB** accept an array as *varname* and return a number that is not its size in bytes: 40 for a fixed-size one-dimensional array of any element type or length in a 32-bit build (48 in a 64-bit build), 48 (56) for two dimensions, and 4 (8) for a dynamic array. VB6 refuses an array here when the program is compiled. Multiply the element count by the size of one element instead: `(UBound(Buffer) - LBound(Buffer) + 1) * LenB(Buffer(LBound(Buffer)))`. ### Example diff --git a/docs/Reference/Default/VBA/Strings/StrComp.md b/docs/Reference/Default/VBA/Strings/StrComp.md index e494fff94..d313f81fb 100644 --- a/docs/Reference/Default/VBA/Strings/StrComp.md +++ b/docs/Reference/Default/VBA/Strings/StrComp.md @@ -48,7 +48,7 @@ The *compare* argument settings are: | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | *compare* is less than 0, or greater than 1 and not a valid locale identifier | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *compare* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *compare* is 2 (**vbDatabaseCompare**), VB6 raises error [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument*; twinBASIC raises none. diff --git a/docs/Reference/Default/VBA/Strings/StrConv.md b/docs/Reference/Default/VBA/Strings/StrConv.md index b23ce43d6..34c282f08 100644 --- a/docs/Reference/Default/VBA/Strings/StrConv.md +++ b/docs/Reference/Default/VBA/Strings/StrConv.md @@ -57,7 +57,7 @@ When converting from a **Byte** array in ANSI format to a string, use the **StrC | [5 (`&H5`)](tb:Errors#5), *Invalid procedure call or argument* | *conversion* is a value the table does not list, or combines **vbUnicode**, **vbFromUnicode**, **vbUTF8** or **vbFromUTF8** with another value
*conversion* includes **vbWide**, **vbNarrow**, **vbKatakana** or **vbHiragana** on a system whose locale is not East Asian
*conversion* includes **vbWide**, **vbNarrow**, **vbKatakana** or **vbHiragana** and *LCID* names an East Asian locale, on a system whose locale is not East Asian
*LCID* is not a valid locale identifier | | [94 (`&H5E`)](tb:Errors#94), *Invalid use of Null* | *conversion* or *LCID* is **Null** | -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > When *conversion* includes **vbWide**, **vbNarrow**, **vbKatakana** or **vbHiragana** and *LCID* names an East Asian locale, on a system whose locale is not East Asian, VB6 and 64-bit VBA raise no error. diff --git a/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinder.md b/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinder.md index df5b7f74d..c35d53145 100644 --- a/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinder.md +++ b/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinder.md @@ -23,7 +23,7 @@ Use **AddCustomBinder** when [**AddCustomBinderObject**](AddCustomBinderObject) The engine calls [**Bind**](Bind) on each registered custom binder during compilation, once per unresolved symbol. The first binder that returns a non-**Nothing** result wins. Multiple custom binders can be registered with one service, and they are consulted in registration order. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > A *customBinder* of **Nothing** ends the program with an access violation, in a 32-bit and a 64-bit build alike. ### Example diff --git a/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinderObject.md b/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinderObject.md index d70ee627f..ea48e0009 100644 --- a/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinderObject.md +++ b/docs/Reference/Default/VBA/TbExpressionService/AddCustomBinderObject.md @@ -29,7 +29,7 @@ Member resolution is performed by name through the standard COM/IDispatch protoc Multiple objects can be bound to the same service, each under its own *name*. They are consulted in the order they were added. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > An *object* of **Nothing** ends the program with an access violation, in a 32-bit and a 64-bit build alike. diff --git a/docs/Reference/Default/VBA/TbExpressionService/Compile.md b/docs/Reference/Default/VBA/TbExpressionService/Compile.md index 1234a33dc..7d112c250 100644 --- a/docs/Reference/Default/VBA/TbExpressionService/Compile.md +++ b/docs/Reference/Default/VBA/TbExpressionService/Compile.md @@ -27,11 +27,11 @@ Compilation is the relatively expensive step; evaluation reuses the compiled for An expression that compiles can still fail when it is evaluated: `"1 / 0"` compiles, and [**Evaluate**](Evaluate) raises the error. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > Some malformed expressions are not refused: the part that cannot be read is left out, and no error is raised. `"2 +"`, `"2 Mod"`, `"(2"` and `"2)"` each compile to an expression whose value is 2. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > In a built program, the first error the expression service raises has the description *Automation error*, and every later one *Unspecified error*. In a run from the IDE, every one has the description *Automation error*. diff --git a/docs/Reference/Default/VBA/TbExpressionService/Evaluate.md b/docs/Reference/Default/VBA/TbExpressionService/Evaluate.md index b14c0961d..01634085d 100644 --- a/docs/Reference/Default/VBA/TbExpressionService/Evaluate.md +++ b/docs/Reference/Default/VBA/TbExpressionService/Evaluate.md @@ -22,11 +22,11 @@ Each call re-runs the expression against the current state of its bindings. If t A run-time error raised inside the expression --- division by zero, type mismatch, an invalid call into a bound object --- propagates out of **Evaluate** like any other run-time error. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > **Evaluate** raises -2147467259 for any error inside the expression: the error's own number and description are lost. `"1 / 0"` raises -2147467259, not 11, and a **Scripting.Dictionary**'s **Add** of a key it holds raises -2147467259, not 457. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > In a built program, the first error the expression service raises has the description *Automation error*, and every later one *Unspecified error*. In a run from the IDE, every one has the description *Automation error*. An error of a bound object's member has the description *Automation error* in both. diff --git a/docs/Reference/Default/VBA/index.md b/docs/Reference/Default/VBA/index.md index b84630550..405f29f24 100644 --- a/docs/Reference/Default/VBA/index.md +++ b/docs/Reference/Default/VBA/index.md @@ -6,7 +6,7 @@ permalink: /tB/Packages/VBA redirect_from: - /tB/Modules has_toc: false -indexed_from: beta-x-1010 +indexed_from: beta-x-1042 --- # VBA Package diff --git a/docs/Reference/Default/VBRUN/ErrorCallstack/index.md b/docs/Reference/Default/VBRUN/ErrorCallstack/index.md index a476f22b1..3972633d1 100644 --- a/docs/Reference/Default/VBRUN/ErrorCallstack/index.md +++ b/docs/Reference/Default/VBRUN/ErrorCallstack/index.md @@ -15,7 +15,7 @@ An **ErrorCallstack** object is a snapshot of the chain of procedures that were The snapshot is read through the **Callstack** property of an **ErrorContext** object, which is itself accessible from the structured error-handling machinery --- typically inside a `Catch` block or an **On Error** handler. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > twinBASIC code cannot obtain an **ErrorCallstack** object, because it cannot obtain the [**ErrorContext**](../ErrorContext) that returns one. The sample below compiles, but no code can supply its argument. ```tb check_build id=errorcallstack-argument diff --git a/docs/Reference/Default/VBRUN/ErrorContext/index.md b/docs/Reference/Default/VBRUN/ErrorContext/index.md index a376919d5..4508c9271 100644 --- a/docs/Reference/Default/VBRUN/ErrorContext/index.md +++ b/docs/Reference/Default/VBRUN/ErrorContext/index.md @@ -15,7 +15,7 @@ An **ErrorContext** object captures everything the runtime knows about a run-tim The error-identity properties (**Number**, **Description**, **Source**, **HelpFile**, **HelpContext**, **LastDLLError**) have the same meaning here as on the **Err** object --- see the [**ErrObject**](../../../Modules/ErrObject) module for a discussion of each. **State** and **Callstack** are unique to **ErrorContext** and reflect the structured error-handling machinery that has no equivalent on the legacy **Err** object. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > twinBASIC code cannot obtain an **ErrorContext** object. The **ErrEx** object that returns one is not available, and neither are the **Try**, **Catch** and **Finally** blocks that several [**State**](#state) values refer to. The **Err** object does not implement this interface. The VBRUN package declares the interface and its members, so code that uses them compiles, but nothing returns an object that implements them. > > ```tb check_build expect-error=TB5079 id=errorcontext-errex diff --git a/docs/Reference/Default/VBRUN/ErrorStackFrame/index.md b/docs/Reference/Default/VBRUN/ErrorStackFrame/index.md index 9bab058a5..c3f66c873 100644 --- a/docs/Reference/Default/VBRUN/ErrorStackFrame/index.md +++ b/docs/Reference/Default/VBRUN/ErrorStackFrame/index.md @@ -13,7 +13,7 @@ has_toc: false An **ErrorStackFrame** describes one procedure that was active on the call stack at the moment a run-time error was raised --- the project it belongs to, the module that contains it, and its own name. Frames are produced by iterating an [**ErrorCallstack**](../ErrorCallstack) snapshot, which in turn is reachable from the [**Callstack**](../ErrorContext#callstack) property of an [**ErrorContext**](../ErrorContext). Every property is read-only. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > twinBASIC code cannot obtain an **ErrorStackFrame** object, because it cannot obtain the [**ErrorContext**](../ErrorContext) that leads to one. The sample below compiles, but no code can supply its argument. ```tb check_build id=errorstackframe-argument diff --git a/docs/Reference/Default/VBRUN/index.md b/docs/Reference/Default/VBRUN/index.md index 9d33fbb79..5bf7d5e3c 100644 --- a/docs/Reference/Default/VBRUN/index.md +++ b/docs/Reference/Default/VBRUN/index.md @@ -4,7 +4,7 @@ parent: Default Packages nav_order: 3 permalink: /tB/Packages/VBRUN/ has_toc: false -indexed_from: beta-x-1010 +indexed_from: beta-x-1042 --- # VBRUN Package diff --git a/docs/Reference/Experimental.md b/docs/Reference/Experimental.md index 03e0b9a5e..1e3e21dd9 100644 --- a/docs/Reference/Experimental.md +++ b/docs/Reference/Experimental.md @@ -14,6 +14,7 @@ These packages are published through TWINSERV, as the [Contributed Packages](../ - [**ArrayListLib**](../Contributed/ArrayListLib/) -- a list class in place of .NET's `ArrayList`. Version 1.6.151.1 does not compile in twinBASIC BETA 1034, and in a copy that does, a **For Each** over a list with no items fails, **ToString** of such a list never returns, **Reverse** leaves the two middle items of an even run in place, and a second **GetEnumerator** over the same list ignores its arguments. - [**GdiPlus**](../Contributed/GdiPlus/) -- Windows GDI+: lines, shapes, text and images drawn with pens, brushes, fonts, paths and transformations. Version 0.9.45.0 compiles, and has many members that give wrong results, fail or do not return: a colour given as a **Long** has its red and blue swapped and loses its alpha, saving an image with encoder parameters fails, the font collections cannot be created, and several path, metafile and effect members fail. +- [**Generics**](../Contributed/Generics/) -- tuples, read-only objects that hold one to seven values of declared types. Version 1.0.0.0 does not compile in twinBASIC BETA 1042: the **WinDevLib** package it embeds declares six delegates with no return type, which this build reports as TB0003, an error under WinDevLib's own settings. - [**TBMANLIB**](../Contributed/TBMANLIB/) -- a toolkit of helpers: JSON, an HTTP client, logs, INI and CSV files, timers, strings, bytes, files and dictionaries. Version 1.0.0.29 compiles for 32-bit programs, does not compile in a 64-bit build, and has several members that fail or give wrong results. - [**TBMANLIB_Aes**](../Contributed/TBMANLIB_Aes/) -- AES encryption of text and byte arrays. Version 1.0.0.4 compiles, and its cipher modes are not the ones their names say: the default mode, CBC, runs ECB, and the output does not match the standard test vectors. - [**TBMANLIB_ConsoleComponents**](../Contributed/TBMANLIB_ConsoleComponents/) -- text-interface components for console programs: progress bars, charts, tables and panels. Version 1.0.0.1 compiles, and its components cannot use a console object of the published TBMANLIB_ConsoleCore, since the package carries a copy of that package whose types the compiler treats as different. diff --git a/docs/Reference/Literal-Keywords.md b/docs/Reference/Literal-Keywords.md index a5ad97c5c..adfa9abbe 100644 --- a/docs/Reference/Literal-Keywords.md +++ b/docs/Reference/Literal-Keywords.md @@ -31,11 +31,11 @@ vba_attribution: true Test for it with [**Is**](../tB/Core/Is), `Items Is Nothing`, or with twinBASIC's [**IsNot**](../tB/Core/IsNot), `Items IsNot Nothing`. Two more forms are twinBASIC's own: an initializer in a declaration, `Dim Items As Collection = Nothing`, needs no **Set**, and [**ByVal Nothing**](../Features/Language/Pointers#byval-nothing) passes a null pointer for a **ByRef** interface parameter. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > **Nothing** assigned without **Set** to a variable that is not an object or a **Variant**, such as `Count = Nothing` for a **Long**, and **Nothing** compared with `=` or `<>`, such as `If Obj = Nothing`, compile and raise error [91](tb:Errors#91) when they run. VB6 and 64-bit VBA refuse them when they compile, with *Invalid use of object*. -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > A **Variant** assigned **Nothing** without **Set**, `v = Nothing`, holds **Nothing**, as after `Set v = Nothing`, and no error is raised. VB6 and 64-bit VBA raise error [91](tb:Errors#91) and leave the **Variant** **Empty**. [**Object**](../tB/Core/Object#assigning) describes assigning and comparing object references. diff --git a/docs/Reference/Operators.md b/docs/Reference/Operators.md index 1c64823d4..79a8d192e 100644 --- a/docs/Reference/Operators.md +++ b/docs/Reference/Operators.md @@ -148,7 +148,7 @@ A result that does not fit its type raises error 6, *Overflow*. Some combination | **String** `+` **Integer** | **Double**: `"34" + 6` is 40 | -> [!WARNING] BETA 1034 +> [!WARNING] BETA 1042 > An addition, subtraction, multiplication or division whose result is a declared **Single** raises no error when the result overflows: the **Single** holds infinity (`1.#INF`) instead. VB6 raises error 6, *Overflow*. A division by zero stored in a declared **Single** raises no error either, whatever the types of its operands: the **Single** holds infinity, or NaN (`-1.#IND`) for zero divided by zero, where VB6 raises error 11, *Division by zero*, or error 6. Declare the variable **Double** where the error must be caught. Code compiled with LLVM has a similar defect for **Double**; see [Language support](../LLVM/Getting-Started#language-support). ### Variant operands diff --git a/docs/Reference/Run-time-Errors.md b/docs/Reference/Run-time-Errors.md index 9e964698c..a12dcbbd2 100644 --- a/docs/Reference/Run-time-Errors.md +++ b/docs/Reference/Run-time-Errors.md @@ -33,11 +33,11 @@ Each number is given in decimal and in hexadecimal, as a 32-bit **Long**: 5 (`&H The message is the one that **Err.Description** gives for the error once it is raised. For the numbers from 1 to 65535, [**Error**](../tB/Modules/Conversion/Error)`(number)` gives the same text. For an HRESULT, **Error** gives *Application-defined or object-defined error*, as it does for any number without a message of its own, and the table shows both. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > For a number from 1 to 65535 that has no message of its own, **Error** gives *Application-defined or object-defined error* in twinBASIC and VB6. After `Err.Raise` of such a number, **Err.Description** in VB6 is that same text; in twinBASIC it is empty for a number below 747, and for 747 and above it is the Windows system message of that number, such as *Page fault was a transition fault.* for 747. -> [!NOTE] BETA 1034 +> [!NOTE] BETA 1042 > `Err.Raise` of an HRESULT that has a VB error of the same meaning, such as `&H80070057` (`E_INVALIDARG`), raises the HRESULT in twinBASIC. VB6 and 64-bit VBA raise the VB error instead, 5 for that one. [**Raise**](../tB/Modules/ErrObject/Raise) lists them. ## Error numbers diff --git a/docs/Tutorials/CustomControls/Images/ccEvents.light.png b/docs/Tutorials/CustomControls/Images/ccEvents.light.png index f39206e36..07fe37d55 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccEvents.light.png and b/docs/Tutorials/CustomControls/Images/ccEvents.light.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccEvents.light.svg b/docs/Tutorials/CustomControls/Images/ccEvents.light.svg index 6159f236a..f377fefff 100644 --- a/docs/Tutorials/CustomControls/Images/ccEvents.light.svg +++ b/docs/Tutorials/CustomControls/Images/ccEvents.light.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1033)win32TOOLBOXEDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32TOOLBOXEDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin diff --git a/docs/Tutorials/CustomControls/Images/ccEvents.png b/docs/Tutorials/CustomControls/Images/ccEvents.png index 0174b6d5a..1982dbd87 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccEvents.png and b/docs/Tutorials/CustomControls/Images/ccEvents.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccEvents.svg b/docs/Tutorials/CustomControls/Images/ccEvents.svg index 8aa10ca08..ebcf3abf4 100644 --- a/docs/Tutorials/CustomControls/Images/ccEvents.svg +++ b/docs/Tutorials/CustomControls/Images/ccEvents.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1033)win32TOOLBOXEDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32TOOLBOXEDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin diff --git a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.png b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.png index 21728b37b..b4226fa53 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.png and b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.svg b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.svg index 438096e13..48ffdaf1e 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.light.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents.EDITOR 1MyGrid.twinfrmCustom.tbform +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents.EDITOR 1MyGrid.twinfrmCustom.tbform diff --git a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.png b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.png index 011fe98b4..91e8d5856 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.png and b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.svg b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.svg index 45a2450c7..cfa885e18 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyEnumFieldPropertySheet.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.png b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.png index fbfa664ed..e4a70e29b 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.svg index dccb038c8..bcec1f316 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.light.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1033)win32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.png b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.png index 856067f1f..68d8fcb63 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.svg index fac7e578e..521be9706 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldArray.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldArray.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1033)win32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbformMyGrid.twin diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.png b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.png index afe82e979..5ecda4750 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.svg index b0193e133..4919cb389 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.light.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1033)win32100%TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbform480 x 320 +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelp• project.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbform480 x 320 diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.png b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.png index 21eaceaa6..a613c90be 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.svg index 4900cee70..d508d899d 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldClass.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldClass.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1033)win32100%TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbform480 x 320 +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpproject.twinproj - twinBASIC (twinBASIC IDE BETA 1042)win32100%TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyButton.twinfrmCustom.tbform480 x 320 diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.png b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.png index 7e3217b6f..8224ee904 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.svg index f4623bf5b..3b20debf7 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.light.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.png b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.png index c3e52ec1e..7fc429920 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.svg index 7aa5ca4dd..5d2f0442f 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1a.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.png b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.png index 0e6a9da30..55a36116a 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.svg index c05ba6e5c..31f941f73 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.light.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.png b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.png index 4205d2040..40b76ff98 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.png and b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.svg b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.svg index 690c67764..8946eb86c 100644 --- a/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.svg +++ b/docs/Tutorials/CustomControls/Images/ccMyFieldPropertySheet1b.svg @@ -1 +1 @@ -FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform +FileEditViewProjectFormatDebugRunToolsAdd-InsWindowHelpwin32TOOLBOXCustomControlsDemoMorecomponents...EDITOR 1MyGrid.twinfrmCustom.tbform diff --git a/docs/Tutorials/CustomControls/Images/ccSampleProject.light.png b/docs/Tutorials/CustomControls/Images/ccSampleProject.light.png index 61657b9d2..116ce7ded 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccSampleProject.light.png and b/docs/Tutorials/CustomControls/Images/ccSampleProject.light.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccSampleProject.light.svg b/docs/Tutorials/CustomControls/Images/ccSampleProject.light.svg index 5e26d1b6d..8c344c3ea 100644 --- a/docs/Tutorials/CustomControls/Images/ccSampleProject.light.svg +++ b/docs/Tutorials/CustomControls/Images/ccSampleProject.light.svg @@ -1 +1 @@ -EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.12 +EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.12 diff --git a/docs/Tutorials/CustomControls/Images/ccSampleProject.png b/docs/Tutorials/CustomControls/Images/ccSampleProject.png index e383ee8cc..905539f7c 100644 Binary files a/docs/Tutorials/CustomControls/Images/ccSampleProject.png and b/docs/Tutorials/CustomControls/Images/ccSampleProject.png differ diff --git a/docs/Tutorials/CustomControls/Images/ccSampleProject.svg b/docs/Tutorials/CustomControls/Images/ccSampleProject.svg index 4e0883a60..35477142a 100644 --- a/docs/Tutorials/CustomControls/Images/ccSampleProject.svg +++ b/docs/Tutorials/CustomControls/Images/ccSampleProject.svg @@ -1 +1 @@ -EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.12 +EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)twinBASIC IDE Addin (VirtualListView)twinBASIC IDE Addin (GlobalSearch)twinBASIC IDE Addin (TODO Widgets demo)Static Library Example (SQLITE3)Static Library Example (libdeflate)MDI FormsSearch projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.12 diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.png b/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.png index 44b5a9055..9feec2f60 100644 Binary files a/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.png and b/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.png differ diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.svg b/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.svg index 476488eb1..8d866aafd 100644 --- a/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.svg +++ b/docs/Tutorials/WebView2/Images/tbWebView2Properties.light.svg @@ -1 +1 @@ -win32EDITOR 1frmWeb.tbform+ menu300 x 300PROPERTIESGENERALAnchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0AdditionalAllowedFrameAncestorsAreBrowserAcceleratorKeysEnabledTrueAreDefaultContextMenusEnabledTrueAreDefaultScriptDialogsEnabledTrueAreDevToolsEnabledTrueAreHostObjectsAllowedTrueDocumentURLEnvironmentOptions▶... { WebView2EnvironmentOptions }IsBuiltInErrorPageEnabledTrueIsGeneralAutoFillEnabledTrueIsMutedFalseIsPasswordAutoSaveEnabledTrueIsPinchZoomEnabledTrueIsScriptEnabledTrueIsStatusBarEnabledTrueIsSwipeNavigationEnabledTrueIsWebMessageEnabledTrueIsZoomControlEnabledTrueTagUseDeferredEventsTrueUserAgentZoomFactor0Web1    WebView2 +win32DIAGNOSTICS000300 x 300PROPERTIESAzGENERALAnchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0AdditionalAllowedFrameAncestorsAreBrowserAcceleratorKeysEnabledTrueAreDefaultContextMenusEnabledTrueAreDefaultScriptDialogsEnabledTrueAreDevToolsEnabledTrueAreHostObjectsAllowedTrueDocumentURLEnvironmentOptions▶... { WebView2EnvironmentOptions }IsBuiltInErrorPageEnabledTrueIsGeneralAutoFillEnabledTrueIsMutedFalseIsPasswordAutoSaveEnabledTrueIsPinchZoomEnabledTrueIsScriptEnabledTrueIsStatusBarEnabledTrueIsSwipeNavigationEnabledTrueIsWebMessageEnabledTrueIsZoomControlEnabledTrueTagUseDeferredEventsTrueUserAgentZoomFactor0Web1    WebView2 diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Properties.png b/docs/Tutorials/WebView2/Images/tbWebView2Properties.png index 62ff0d72d..47f6491c1 100644 Binary files a/docs/Tutorials/WebView2/Images/tbWebView2Properties.png and b/docs/Tutorials/WebView2/Images/tbWebView2Properties.png differ diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Properties.svg b/docs/Tutorials/WebView2/Images/tbWebView2Properties.svg index b64aae26b..618b206f4 100644 --- a/docs/Tutorials/WebView2/Images/tbWebView2Properties.svg +++ b/docs/Tutorials/WebView2/Images/tbWebView2Properties.svg @@ -1 +1 @@ -win32EDITOR 1frmWeb.tbform+ menu300 x 300PROPERTIESGENERALHeight3600Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0AdditionalAllowedFrameAncestorsAreBrowserAcceleratorKeysEnabledTrueAreDefaultContextMenusEnabledTrueAreDefaultScriptDialogsEnabledTrueAreDevToolsEnabledTrueAreHostObjectsAllowedTrueDocumentURLEnvironmentOptions▶... { WebView2EnvironmentOptions }IsBuiltInErrorPageEnabledTrueIsGeneralAutoFillEnabledTrueIsMutedFalseIsPasswordAutoSaveEnabledTrueIsPinchZoomEnabledTrueIsScriptEnabledTrueIsStatusBarEnabledTrueIsSwipeNavigationEnabledTrueIsWebMessageEnabledTrueIsZoomControlEnabledTrueTagUseDeferredEventsTrueUserAgentZoomFactor0Web1    WebView2 +win32DIAGNOSTICS000300 x 300PROPERTIESAzAzGENERALHeight3600Anchors▶... { AnchorsData }Dock0 - vbDockNoneDockOrder0AdditionalAllowedFrameAncestorsAreBrowserAcceleratorKeysEnabledTrueAreDefaultContextMenusEnabledTrueAreDefaultScriptDialogsEnabledTrueAreDevToolsEnabledTrueAreHostObjectsAllowedTrueDocumentURLEnvironmentOptions▶... { WebView2EnvironmentOptions }IsBuiltInErrorPageEnabledTrueIsGeneralAutoFillEnabledTrueIsMutedFalseIsPasswordAutoSaveEnabledTrueIsPinchZoomEnabledTrueIsScriptEnabledTrueIsStatusBarEnabledTrueIsSwipeNavigationEnabledTrueIsWebMessageEnabledTrueIsZoomControlEnabledTrueTagUseDeferredEventsTrueUserAgentZoomFactor0Web1    WebView2 diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.png b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.png index 43be85182..3eea13bff 100644 Binary files a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.png and b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.png differ diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.svg b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.svg index e51526d7e..f9a5b3978 100644 --- a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.svg +++ b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.light.svg @@ -1 +1 @@ -EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE. +EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE. diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.png b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.png index 767191721..6ceb3e179 100644 Binary files a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.png and b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.png differ diff --git a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.svg b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.svg index 6883bb1dc..a4eef104a 100644 --- a/docs/Tutorials/WebView2/Images/tbWebView2Sample0.svg +++ b/docs/Tutorials/WebView2/Images/tbWebView2Sample0.svg @@ -1 +1 @@ -EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10348260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE. +EDITOR 1DIAGNOSTICS0000CALL STACKVARIABLESPROJECT EXPLORERPROPERTIESNew / Open Project...Browse...OpenCancelNewSamplesRecentReports (Experimental)HelloWorldWebView2 ExamplesChromium Embedded Framework ExamplesGetIPAddressesMyCodeLibraryMyVBEAddin (NEW with ToolWindow)MyCOMAddinCustomControlsPackageFilePropertyViewer (CustomControls)ActiveX Control WebView2 + MonacotwinBASIC IDE AddintwinBASIC IDE Addin (Chart)twinBASIC IDE Addin (Monaco)twinBASIC IDE Addin (ListView)Search projects, samples, recent...BETA 10428260Double-click an item or press Enterto open it.Ready-made sample projects to explore the twinBASIC language and IDE. diff --git a/docs/_book.yml b/docs/_book.yml index f335b5595..5a1e13b7f 100644 --- a/docs/_book.yml +++ b/docs/_book.yml @@ -550,13 +550,6 @@ parts: landing_is_target: true outline_closed: true - - title: Generics Package - subtitle: Tuples, read-only objects that hold one to seven values of declared types - landing_page: /tB/Packages/Contributed/Generics/ - page: /tB/Packages/Contributed/Generics/ - landing_is_target: true - outline_closed: true - - title: OLEGuids Package subtitle: OLE and COM interfaces and structures in twinBASIC source, in place of OLEGuids.tlb landing_page: /tB/Packages/Contributed/OLEGuids/ @@ -683,6 +676,7 @@ left_out: pages: - /tB/Packages/Contributed/ArrayListLib/ - /tB/Packages/Contributed/GdiPlus/ + - /tB/Packages/Contributed/Generics/ - /tB/Packages/Contributed/TBMANLIB/ - /tB/Packages/Contributed/TBMANLIB_Aes/ - /tB/Packages/Contributed/TBMANLIB_ConsoleComponents/ diff --git a/errors/Core.yml b/errors/Core.yml index 02761134a..e16718e0d 100644 --- a/errors/Core.yml +++ b/errors/Core.yml @@ -1,5 +1,5 @@ # Statements and operators of docs/Reference/Core/. Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Core/ReDim.md: rows: diff --git a/errors/VBA.Collection.yml b/errors/VBA.Collection.yml index 280cb7add..5431747d4 100644 --- a/errors/VBA.Collection.yml +++ b/errors/VBA.Collection.yml @@ -1,5 +1,5 @@ # The VBA Collection class. Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Collection/Add.md: rows: diff --git a/errors/VBA.Compilation.yml b/errors/VBA.Compilation.yml index d69cf5d09..bb66b1ad7 100644 --- a/errors/VBA.Compilation.yml +++ b/errors/VBA.Compilation.yml @@ -1,7 +1,7 @@ # The VBA Compilation module. Format: WIP.Errors.md. # Every case is `only: tb`: VB6 and VBA have none of these procedures. Each member is a # compile-time intrinsic or a hint to the compiler, and raises nothing at run time. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Compilation/CompilerVersion.md: quiet: diff --git a/errors/VBA.Conversion.yml b/errors/VBA.Conversion.yml index d6df37e85..2d8c3bc21 100644 --- a/errors/VBA.Conversion.yml +++ b/errors/VBA.Conversion.yml @@ -1,5 +1,5 @@ # The VBA Conversion module. Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Conversion/Bin.md: rows: diff --git a/errors/VBA.DateTime.yml b/errors/VBA.DateTime.yml index af64044b9..5a834ab91 100644 --- a/errors/VBA.DateTime.yml +++ b/errors/VBA.DateTime.yml @@ -10,7 +10,7 @@ # Calendar is not implemented in twinBASIC (TB0009), and the owner chose not to report # it, so its cases are twinBASIC-only and have no VB6 NOTE. In VB6 vbCalHijri succeeds # and stays: a VB6 case that sets it must set vbCalGreg again. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/DateTime/Calendar.md: rows: diff --git a/errors/VBA.ErrObject.yml b/errors/VBA.ErrObject.yml index 77aca1d2b..763405703 100644 --- a/errors/VBA.ErrObject.yml +++ b/errors/VBA.ErrObject.yml @@ -3,7 +3,7 @@ # Number is that number, so that it reports 0; a runtime that raises or keeps another # number reports that one. HelpFile, HelpContext and ReturnHResult have no cases: assigning # them fails twinBASIC's build (bugs/err-helpfile-helpcontext-codegen). -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/ErrObject/Raise.md: rows: diff --git a/errors/VBA.FileSystem.yml b/errors/VBA.FileSystem.yml index 4468a2af9..5a8d79b63 100644 --- a/errors/VBA.FileSystem.yml +++ b/errors/VBA.FileSystem.yml @@ -1,7 +1,7 @@ # The VBA FileSystem module. Format: WIP.Errors.md. Every case runs under the files harness, in a # folder of its own that is the current directory: a.txt (10 bytes), empty.txt, ro.txt # (read-only), hid.txt (hidden), the empty folder sub, and full, which holds f.txt. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/FileSystem/ChDir.md: harness: files diff --git a/errors/VBA.Financial.yml b/errors/VBA.Financial.yml index 00f25f2cf..b8be76bf9 100644 --- a/errors/VBA.Financial.yml +++ b/errors/VBA.Financial.yml @@ -1,5 +1,5 @@ # The VBA Financial module. Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Financial/DDB.md: rows: diff --git a/errors/VBA.HiddenModule.yml b/errors/VBA.HiddenModule.yml index 2b98f4f00..99d4d740a 100644 --- a/errors/VBA.HiddenModule.yml +++ b/errors/VBA.HiddenModule.yml @@ -11,7 +11,7 @@ # Eval's row of errors raised while evaluating is bugs/expression-service-error-numbers (its # other -2147467259 rows are in no entry), and the crashes # bugs/nothing-argument-crashes. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/HiddenModule/AddClassInstanceFlag.md: rows: diff --git a/errors/VBA.Information.yml b/errors/VBA.Information.yml index aa2cd7284..3d0c2586b 100644 --- a/errors/VBA.Information.yml +++ b/errors/VBA.Information.yml @@ -1,5 +1,5 @@ # The VBA Information module. Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Information/LBound.md: rows: diff --git a/errors/VBA.Interaction.yml b/errors/VBA.Interaction.yml index 91b260f41..3b5e91f5a 100644 --- a/errors/VBA.Interaction.yml +++ b/errors/VBA.Interaction.yml @@ -1,5 +1,5 @@ # The VBA Interaction module: its non-interactive procedures (batch 6a) and its interactive ones (batch 6b). Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Interaction/Choose.md: rows: diff --git a/errors/VBA.Math.yml b/errors/VBA.Math.yml index c464baf47..a9a2c828a 100644 --- a/errors/VBA.Math.yml +++ b/errors/VBA.Math.yml @@ -1,5 +1,5 @@ # The VBA Math module. Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Math/Abs.md: rows: diff --git a/errors/VBA.Strings.yml b/errors/VBA.Strings.yml index 931c8df74..6658bbb13 100644 --- a/errors/VBA.Strings.yml +++ b/errors/VBA.Strings.yml @@ -1,5 +1,5 @@ # The VBA Strings module. Format: WIP.Errors.md. -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/Strings/Asc.md: rows: diff --git a/errors/VBA.TbExpressionService.yml b/errors/VBA.TbExpressionService.yml index fc8016556..411aa4cc1 100644 --- a/errors/VBA.TbExpressionService.yml +++ b/errors/VBA.TbExpressionService.yml @@ -8,7 +8,7 @@ # the probe module cannot declare, nor for AddCustomBinder Nothing and AddCustomBinderObject # with an object of Nothing, which crash (an access violation, 32-bit and 64-bit; the pages' # WARNINGs). -beta: 1034 +beta: 1042 pages: Reference/Default/VBA/TbExpressionService/Compile.md: harness: expression diff --git a/indexer/snapshots/built-in/AppGlobalClassObject/api.json b/indexer/snapshots/built-in/AppGlobalClassObject/api.json index e6b9676c3..ac880895c 100644 --- a/indexer/snapshots/built-in/AppGlobalClassObject/api.json +++ b/indexer/snapshots/built-in/AppGlobalClassObject/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "AppGlobalClassObject", "project": "AppGlobalClassProject", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "App", diff --git a/indexer/snapshots/built-in/CustomControls/api.json b/indexer/snapshots/built-in/CustomControls/api.json index 221b810f7..e815af381 100644 --- a/indexer/snapshots/built-in/CustomControls/api.json +++ b/indexer/snapshots/built-in/CustomControls/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "CustomControls", "project": "CustomControls", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "Constants", diff --git a/indexer/snapshots/built-in/CustomControlsPackage/api.json b/indexer/snapshots/built-in/CustomControlsPackage/api.json index 6d862dfa2..5e7a1e99d 100644 --- a/indexer/snapshots/built-in/CustomControlsPackage/api.json +++ b/indexer/snapshots/built-in/CustomControlsPackage/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "CustomControlsPackage", "project": "CustomControlsPackage", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "Anchors", diff --git a/indexer/snapshots/built-in/TwinBasicAssertions/api.json b/indexer/snapshots/built-in/TwinBasicAssertions/api.json index 6b4afabfc..02078be07 100644 --- a/indexer/snapshots/built-in/TwinBasicAssertions/api.json +++ b/indexer/snapshots/built-in/TwinBasicAssertions/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "TwinBasicAssertions", "project": "Assert", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "Exact", diff --git a/indexer/snapshots/built-in/WebView2Package/api.json b/indexer/snapshots/built-in/WebView2Package/api.json index 473737099..5060efa4d 100644 --- a/indexer/snapshots/built-in/WebView2Package/api.json +++ b/indexer/snapshots/built-in/WebView2Package/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "WebView2Package", "project": "WebView2Package", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "ControlAlt", diff --git a/indexer/snapshots/built-in/WinEventLogLib/api.json b/indexer/snapshots/built-in/WinEventLogLib/api.json index e36a56ba9..820c01352 100644 --- a/indexer/snapshots/built-in/WinEventLogLib/api.json +++ b/indexer/snapshots/built-in/WinEventLogLib/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "WinEventLogLib", "project": "WinEventLogLib", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "EventLog", diff --git a/indexer/snapshots/built-in/WinNamedPipesLib/api.json b/indexer/snapshots/built-in/WinNamedPipesLib/api.json index b15bed602..c999f1a0d 100644 --- a/indexer/snapshots/built-in/WinNamedPipesLib/api.json +++ b/indexer/snapshots/built-in/WinNamedPipesLib/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "WinNamedPipesLib", "project": "WinNamedPipesLib", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "INamedPipeClientConnectionInternal", diff --git a/indexer/snapshots/built-in/WinNativeCommonCtls/api.json b/indexer/snapshots/built-in/WinNativeCommonCtls/api.json index 1dfd3691e..9fb5872ee 100644 --- a/indexer/snapshots/built-in/WinNativeCommonCtls/api.json +++ b/indexer/snapshots/built-in/WinNativeCommonCtls/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "WinNativeCommonCtls", "project": "WinNativeCommonCtls", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "ColumnHeader", diff --git a/indexer/snapshots/built-in/WinServicesLib/api.json b/indexer/snapshots/built-in/WinServicesLib/api.json index 482850ddd..01facf5e5 100644 --- a/indexer/snapshots/built-in/WinServicesLib/api.json +++ b/indexer/snapshots/built-in/WinServicesLib/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "WinServicesLib", "project": "WinServicesLib", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "IServiceCreator", diff --git a/indexer/snapshots/built-in/cefPackage145/api.json b/indexer/snapshots/built-in/cefPackage145/api.json index 54ec5afc5..ef05ebb34 100644 --- a/indexer/snapshots/built-in/cefPackage145/api.json +++ b/indexer/snapshots/built-in/cefPackage145/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "cefPackage145", "project": "cefPackage", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "APIs", diff --git a/indexer/snapshots/built-in/tbIDE/api.json b/indexer/snapshots/built-in/tbIDE/api.json index d75ef9d5e..5067e200f 100644 --- a/indexer/snapshots/built-in/tbIDE/api.json +++ b/indexer/snapshots/built-in/tbIDE/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "tbIDE", "project": "tbIDE", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "AddIn", diff --git a/indexer/snapshots/default/VB/api.json b/indexer/snapshots/default/VB/api.json index a78e26a7e..6106e181a 100644 --- a/indexer/snapshots/default/VB/api.json +++ b/indexer/snapshots/default/VB/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "VB", "project": "VB", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "ActiveXControlExtender", @@ -467,8 +467,8 @@ {"name":"DragMode","kind":"property","vis":"public","signature":"Public Property Get DragMode() As DragModeConstants","returnType":"DragModeConstants","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"DragMode","kind":"property","vis":"public","signature":"Public Property Let DragMode(ByVal Value As DragModeConstants)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"DragModeINIT","kind":"field","vis":"protected","signature":"Protected DragModeINIT As VBRUN.DragModeConstants","attrs":[{"name":"Serialize","args":"True, \"DragMode\""}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let"}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"Move","kind":"sub","vis":"public","signature":"Public Sub Move(ByVal Left As Single, Optional ByVal Top As Variant, Optional ByVal Width As Variant, Optional ByVal Height As Variant)"}, {"name":"New","kind":"sub","vis":"public","signature":"Sub New(ByVal ControlType As ControlTypeConstants)"}, {"name":"TabIndex","kind":"property","vis":"public","signature":"Public Property Get TabIndex() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, @@ -477,8 +477,8 @@ {"name":"TabStop","kind":"property","vis":"public","signature":"Public Property Get TabStop() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"DispId","args":"-854"}]}, {"name":"TabStop","kind":"property","vis":"public","signature":"Public Property Let TabStop(ByVal Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"DispId","args":"-854"}]}, {"name":"TabStopINIT","kind":"field","vis":"protected","signature":"Protected TabStopINIT As Boolean = True","attrs":[{"name":"Serialize","args":"True, \"TabStop\""}],"description":"Indicates if the user can use the TAB key to focus on this control at runtime"}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get"}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let"} + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"SpecialCompilerBinding","args":"253"}]} ] }, { @@ -643,13 +643,13 @@ {"name":"Enabled","kind":"property","vis":"public","signature":"Property Let Enabled(Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"EnabledINIT","kind":"field","vis":"protected","signature":"Protected EnabledINIT As Boolean = True","attrs":[{"name":"Serialize","args":"True, \"Enabled\""}],"description":""}, {"name":"HandleCreateOrDPIChange","kind":"sub","vis":"protected","signature":"Protected Sub HandleCreateOrDPIChange() Implements IWindowElementEventsBaseControl.Create, IWindowElementEventsBaseControl.DPIChange"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"InternalHWND","kind":"property","vis":"protected","signature":"Protected Property Get InternalHWND() As HWND","returnType":"HWND","accessor":"Get"}, {"name":"InternalStateReset","kind":"sub","vis":"protected","signature":"Protected Sub InternalStateReset()"}, {"name":"InternalWindowAtomCached","kind":"field","vis":"protected","signature":"Protected InternalWindowAtomCached As Integer"}, - {"name":"Left","kind":"property","vis":"public","signature":"Public Property Get Left() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"}]}, - {"name":"Left","kind":"property","vis":"public","signature":"Public Property Let Left(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"}]}, + {"name":"Left","kind":"property","vis":"public","signature":"Public Property Get Left() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Left","kind":"property","vis":"public","signature":"Public Property Let Left(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"MouseIcon","kind":"property","vis":"public","signature":"Public Property Get MouseIcon() As StdPicture","returnType":"StdPicture","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"MouseIcon","kind":"property","vis":"public","signature":"Public Property Set MouseIcon(Value As StdPicture)","accessor":"Set","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"MouseIcon","kind":"property","vis":"public","signature":"Public Property Let MouseIcon(Value As StdPicture)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, @@ -670,16 +670,16 @@ {"name":"ToolTipText","kind":"property","vis":"public","signature":"Public Property Get ToolTipText() As String","returnType":"String","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"ToolTipText","kind":"property","vis":"public","signature":"Public Property Let ToolTipText(ByVal Value As String)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"ToolTipTextINIT","kind":"field","vis":"protected","signature":"Protected ToolTipTextINIT As String","attrs":[{"name":"CustomDesigner","args":"\"designer_MultiLineText\""},{"name":"Serialize","args":"True, \"ToolTipText\""}]}, - {"name":"Top","kind":"property","vis":"public","signature":"Public Property Get Top() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Top","kind":"property","vis":"public","signature":"Public Property Let Top(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Top","kind":"property","vis":"public","signature":"Public Property Get Top() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Top","kind":"property","vis":"public","signature":"Public Property Let Top(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"Visible","kind":"property","vis":"public","signature":"Property Get Visible() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":"Adjusts the visibility of this control at runtime"}, {"name":"Visible","kind":"property","vis":"public","signature":"Property Let Visible(Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":"Adjusts the visibility of this control at runtime"}, {"name":"VisibleINIT","kind":"field","vis":"protected","signature":"Protected VisibleINIT As Boolean = True","attrs":[{"name":"Serialize","args":"True, \":Visible\""}],"description":"Adjusts the visibility of this control at runtime"}, {"name":"VisualStyles","kind":"property","vis":"public","signature":"Public Property Get VisualStyles() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"VisualStyles","kind":"property","vis":"public","signature":"Public Property Let VisualStyles(ByVal Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":"Determines if the OS should use visual styles for rendering this control"}, {"name":"VisualStylesINIT","kind":"field","vis":"protected","signature":"Protected VisualStylesINIT As Boolean = True","attrs":[{"name":"Serialize","args":"True, \"VisualStyles\""}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"ZOrder","kind":"sub","vis":"public","signature":"Public Sub ZOrder([TypeHint(ZOrderConstants)] Optional ByVal Position As Variant)"}, {"name":"hWnd","kind":"property","vis":"public","signature":"Public Property Get hWnd() As LongPtr","returnType":"LongPtr","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]} ] @@ -735,8 +735,8 @@ {"name":"GetWindowTextCtl","kind":"function","vis":"protected","signature":"Protected Function GetWindowTextCtl() As String","returnType":"String"}, {"name":"HandleGetColorsCommon","kind":"sub","vis":"protected","signature":"Protected Sub HandleGetColorsCommon(ByVal hdc As HDC, ByRef BackBrushOut As LongPtr, ByVal RootThis As Object)"}, {"name":"HandleGetColorsCommon2","kind":"sub","vis":"protected","signature":"Protected Sub HandleGetColorsCommon2(ByVal hdc As HDC, ByRef BackBrushOut As LongPtr, ByVal RootThis As Object)"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"IgnoreMousePointerChanged","kind":"field","vis":"protected","signature":"Protected IgnoreMousePointerChanged As Boolean","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"InternalAlwaysAllowMove","kind":"field","vis":"protected","signature":"Protected InternalAlwaysAllowMove As Boolean"}, {"name":"InternalBaseControlBeforeCreateRootWindowRect","kind":"sub","vis":"protected","signature":"Protected Sub InternalBaseControlBeforeCreateRootWindowRect(ByRef InitData As WindowCreationData)"}, @@ -744,8 +744,8 @@ {"name":"InternalStateResetRect","kind":"sub","vis":"protected","signature":"Protected Sub InternalStateResetRect()"}, {"name":"InternalSyncDesignerDimensions","kind":"sub","vis":"protected","signature":"Protected Sub InternalSyncDesignerDimensions()"}, {"name":"IsInRect","kind":"function","vis":"protected","signature":"Protected Function IsInRect(ByVal X As Double, ByVal Y As Double) As Boolean","returnType":"Boolean"}, - {"name":"Left","kind":"property","vis":"public","signature":"Public Property Get Left() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"}]}, - {"name":"Left","kind":"property","vis":"public","signature":"Public Property Let Left(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"}]}, + {"name":"Left","kind":"property","vis":"public","signature":"Public Property Get Left() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Left","kind":"property","vis":"public","signature":"Public Property Let Left(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"BindOnlyIfNoArguments"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"LetWindowTextCtl","kind":"sub","vis":"protected","signature":"Protected Sub LetWindowTextCtl(ByRef Value As String)"}, {"name":"New","kind":"sub","vis":"public","signature":"Sub New(ByVal ControlType As ControlTypeConstants)"}, {"name":"PixelsHeight","kind":"property","vis":"protected","signature":"Protected Property Get PixelsHeight() As Double","returnType":"Double","accessor":"Get","hidden":true,"attrs":[{"name":"Serialize","args":"False"},{"name":"DispId","args":"-853"},{"name":"Hidden"}]}, @@ -759,10 +759,10 @@ {"name":"SendMessageCtl","kind":"function","vis":"protected","signature":"Protected Function SendMessageCtl(ByVal msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr) As LongPtr","returnType":"LongPtr"}, {"name":"SetStyleFlagCtl","kind":"function","vis":"protected","signature":"Protected Function SetStyleFlagCtl(ByVal flag As Long, ByVal Value As Boolean) As Boolean","returnType":"Boolean"}, {"name":"SetWindowLongCtl","kind":"sub","vis":"protected","signature":"Protected Sub SetWindowLongCtl(ByVal type As Long, ByVal Value As Long)"}, - {"name":"Top","kind":"property","vis":"public","signature":"Public Property Get Top() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Top","kind":"property","vis":"public","signature":"Public Property Let Top(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Top","kind":"property","vis":"public","signature":"Public Property Get Top() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Top","kind":"property","vis":"public","signature":"Public Property Let Top(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"WindowlessRefresh","kind":"sub","vis":"protected","signature":"Protected Sub WindowlessRefresh()"} ] }, @@ -3429,7 +3429,7 @@ "implements": ["Control","IWindowsControl","ITbCommonContainerPrivate","ITwinBasicDesignerExtensions2","IOleContainer","IOleWindow","IWindowElementEventsCommon","IWindowElementEventsCommonRoot","IScheduledCallback"], "attrs": [{"name":"ClassId","args":"\"F3DDA9CB-4FDE-4892-8BBA-38AF0BED7D94\""},{"name":"InterfaceId","args":"\"74411728-82A2-4D9B-83C6-FE40C47B8D41\""},{"name":"COMCreatable","args":"False"},{"name":"COMExtensible","args":"True"},{"name":"EventsUseDispInterface"},{"name":"ComImport","args":"True"}], "members": [ - {"name":"Activate","kind":"event","vis":"public","signature":"Event Activate()"}, + {"name":"Activate","kind":"event","vis":"public","signature":"Event Activate()","attrs":[{"name":"DispId","args":"&HEB0001"}]}, {"name":"ActiveControl","kind":"property","vis":"public","signature":"Public Property Get ActiveControl() As Control","returnType":"Control","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"AlwaysShowKeyboardCues","kind":"property","vis":"public","signature":"Property Get AlwaysShowKeyboardCues() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"AlwaysShowKeyboardCuesINIT","kind":"field","vis":"protected","signature":"Protected AlwaysShowKeyboardCuesINIT As Boolean","attrs":[{"name":"Serialize","args":"True, \"!AlwaysShowKeyboardCues\""}]}, @@ -3439,9 +3439,9 @@ {"name":"ClearSubMenusCachedInfo","kind":"sub","vis":"protected","signature":"Protected Sub ClearSubMenusCachedInfo(Container As Menu)"}, {"name":"Click","kind":"event","vis":"public","signature":"Event Click()","attrs":[{"name":"DispId","args":"&HEA0004"}]}, {"name":"Count","kind":"property","vis":"public","signature":"Public Property Get Count() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, + {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","attrs":[{"name":"DispId","args":"&HEB0014"}],"description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, {"name":"DblClick","kind":"event","vis":"public","signature":"Event DblClick()","attrs":[{"name":"DispId","args":"&HEA0005"}]}, - {"name":"Deactivate","kind":"event","vis":"public","signature":"Event Deactivate()"}, + {"name":"Deactivate","kind":"event","vis":"public","signature":"Event Deactivate()","attrs":[{"name":"DispId","args":"&HEB0002"}]}, {"name":"DesignerArrayFieldUpdated","kind":"sub","vis":"protected","signature":"Protected Sub DesignerArrayFieldUpdated(ByVal FieldName As String) Implements ITwinBasicDesignerExtensions2.DesignerArrayFieldUpdated"}, {"name":"DpiScaleFactorX","kind":"property","vis":"public","signature":"Public Property Get DpiScaleFactorX() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"DpiScaleFactorY","kind":"property","vis":"public","signature":"Public Property Get DpiScaleFactorY() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, @@ -3465,8 +3465,8 @@ {"name":"HandleQueryUnload","kind":"sub","vis":"protected","signature":"Protected Sub HandleQueryUnload(Cancel As Integer, ByVal UnloadMode As Long) Implements IWindowElementEventsCommonRoot.QueryUnload"}, {"name":"HandleShowHelp","kind":"sub","vis":"protected","signature":"Protected Sub HandleShowHelp(ByVal control As Object) Implements IWindowElementEventsCommonRoot.ShowHelp"}, {"name":"HandleShowMenuHelp","kind":"sub","vis":"protected","signature":"Protected Sub HandleShowMenuHelp(ByVal CommandID As Long) Implements IWindowElementEventsCommonRoot.ShowMenuHelp"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"HelpContextID","kind":"field","vis":"public","signature":"Public HelpContextID As Long"}, {"name":"IOleContainerEnumObjects","kind":"sub","vis":"protected","signature":"Protected Sub IOleContainerEnumObjects(ByVal grfFlags As Long, ppenum As IEnumUnknown) Implements IOleContainer.EnumObjects"}, {"name":"IOleContainerLockContainer","kind":"sub","vis":"protected","signature":"Protected Sub IOleContainerLockContainer(ByVal fLock As Long) Implements IOleContainer.LockContainer"}, @@ -3480,7 +3480,7 @@ {"name":"IconChanged","kind":"sub","vis":"protected","signature":"Protected Sub IconChanged()"}, {"name":"IconINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly IconINIT() As Byte","attrs":[{"name":"Serialize","args":"True, \"Icon\""},{"name":"CustomDesigner","args":"\"designer_IconBytes\""}]}, {"name":"InitOleDragDropHelper","kind":"sub","vis":"protected","signature":"Protected Sub InitOleDragDropHelper()"}, - {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()"}, + {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()","attrs":[{"name":"DispId","args":"&HEB0003"}]}, {"name":"InitializeMe","kind":"sub","vis":"protected","signature":"Protected Sub InitializeMe()"}, {"name":"InternalCurrentRootMenu","kind":"field","vis":"protected","signature":"Protected InternalCurrentRootMenu As LongPtr"}, {"name":"InternalEnumerator","kind":"function","vis":"public","signature":"Public Function InternalEnumerator() As stdole.IUnknown","returnType":"stdole.IUnknown","attrs":[{"name":"Enumerator"}]}, @@ -3497,13 +3497,13 @@ {"name":"KeyDown","kind":"event","vis":"public","signature":"Event KeyDown(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEA0008"}]}, {"name":"KeyPress","kind":"event","vis":"public","signature":"Event KeyPress(KeyAscii As Integer)","attrs":[{"name":"DispId","args":"&HEA0009"}]}, {"name":"KeyUp","kind":"event","vis":"public","signature":"Event KeyUp(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEA000A"}]}, - {"name":"LinkClose","kind":"event","vis":"public","signature":"Event LinkClose()","attrs":[{"name":"Unimplemented"}]}, - {"name":"LinkError","kind":"event","vis":"public","signature":"Event LinkError(LinkErr As Integer)","attrs":[{"name":"Unimplemented"}]}, - {"name":"LinkExecute","kind":"event","vis":"public","signature":"Event LinkExecute(CmdStr As String, Cancel As Integer)","attrs":[{"name":"Unimplemented"}]}, + {"name":"LinkClose","kind":"event","vis":"public","signature":"Event LinkClose()","attrs":[{"name":"DispId","args":"&HEB0009"},{"name":"Unimplemented"}]}, + {"name":"LinkError","kind":"event","vis":"public","signature":"Event LinkError(LinkErr As Integer)","attrs":[{"name":"DispId","args":"&HEB000A"},{"name":"Unimplemented"}]}, + {"name":"LinkExecute","kind":"event","vis":"public","signature":"Event LinkExecute(CmdStr As String, Cancel As Integer)","attrs":[{"name":"DispId","args":"&HEB000B"},{"name":"Unimplemented"}]}, {"name":"LinkMode","kind":"field","vis":"public","signature":"Public LinkMode As VBRUN.LinkModeConstants","attrs":[{"name":"Unimplemented"}]}, - {"name":"LinkOpen","kind":"event","vis":"public","signature":"Event LinkOpen(Cancel As Integer)","attrs":[{"name":"Unimplemented"}]}, + {"name":"LinkOpen","kind":"event","vis":"public","signature":"Event LinkOpen(Cancel As Integer)","attrs":[{"name":"DispId","args":"&HEB000C"},{"name":"Unimplemented"}]}, {"name":"LinkTopic","kind":"field","vis":"public","signature":"Public LinkTopic As String","attrs":[{"name":"Unimplemented"}]}, - {"name":"Load","kind":"event","vis":"public","signature":"Event Load()","attrs":[{"name":"DefaultDesignerEvent"}]}, + {"name":"Load","kind":"event","vis":"public","signature":"Event Load()","attrs":[{"name":"DefaultDesignerEvent"},{"name":"DispId","args":"&HEB0004"}]}, {"name":"LostFocus","kind":"event","vis":"public","signature":"Event LostFocus()","attrs":[{"name":"DispId","args":"&HEA0007"}]}, {"name":"MaxHeight","kind":"property","vis":"public","signature":"Property Get MaxHeight() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":"The maximum height of the CLIENT area, in twips"}, {"name":"MaxHeight","kind":"property","vis":"public","signature":"Property Let MaxHeight(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":"The maximum height of the CLIENT area, in twips"}, @@ -3523,19 +3523,19 @@ {"name":"MouseDown","kind":"event","vis":"public","signature":"Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0001"}]}, {"name":"MouseMove","kind":"event","vis":"public","signature":"Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0002"}]}, {"name":"MouseUp","kind":"event","vis":"public","signature":"Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0003"}]}, - {"name":"MouseWheel","kind":"event","vis":"public","signature":"Event MouseWheel(ByVal Delta As Integer, ByVal Horizontal As Boolean)"}, + {"name":"MouseWheel","kind":"event","vis":"public","signature":"Event MouseWheel(ByVal Delta As Integer, ByVal Horizontal As Boolean)","attrs":[{"name":"DispId","args":"&HEB0013"}]}, {"name":"Move","kind":"sub","vis":"public","signature":"Public Sub Move(ByVal Left As Single, Optional ByVal Top As Variant, Optional ByVal Width As Variant, Optional ByVal Height As Variant)"}, {"name":"NegotiateMenus","kind":"field","vis":"public","signature":"Public NegotiateMenus As Boolean","attrs":[{"name":"Unimplemented"}]}, - {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)"}, + {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)","attrs":[{"name":"DispId","args":"&HEB000D"}]}, {"name":"OLEDrag","kind":"sub","vis":"public","signature":"Public Sub OLEDrag()"}, - {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)"}, - {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)"}, - {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)"}, - {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)"}, - {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)"}, + {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEB000E"}]}, + {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)","attrs":[{"name":"DispId","args":"&HEB000F"}]}, + {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)","attrs":[{"name":"DispId","args":"&HEB0010"}]}, + {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)","attrs":[{"name":"DispId","args":"&HEB0011"}]}, + {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)","attrs":[{"name":"DispId","args":"&HEB0012"}]}, {"name":"OnGetControlType","kind":"function","vis":"protected","signature":"Protected Function OnGetControlType() As ControlTypeConstants Overrides GraphicsBase.OnGetControlType","returnType":"ControlTypeConstants"}, {"name":"Opacity","kind":"field","vis":"public","signature":"Public Opacity As Double = 100","description":"Opacity, given as a percentage, 0 - 100"}, - {"name":"Paint","kind":"event","vis":"public","signature":"Event Paint()"}, + {"name":"Paint","kind":"event","vis":"public","signature":"Event Paint()","attrs":[{"name":"DispId","args":"&HEB0005"}]}, {"name":"Palette","kind":"field","vis":"public","signature":"Public Palette As StdPicture","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, {"name":"PaletteINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly PaletteINIT() As Byte","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"True, \"Palette\""},{"name":"CustomDesigner","args":"\"designer_PictureBytes\""}]}, {"name":"PaletteMode","kind":"field","vis":"public","signature":"Public PaletteMode As VBRUN.PaletteModeConstants","attrs":[{"name":"Unimplemented"}]}, @@ -3548,7 +3548,7 @@ {"name":"RaiseChange","kind":"sub","vis":"protected","signature":"Protected Sub RaiseChange() Implements ITbCommonContainerPrivate.RaiseChange"}, {"name":"RaiseViewChanged","kind":"sub","vis":"protected","signature":"Protected Sub RaiseViewChanged() Implements ITbCommonContainerPrivate.RaiseViewChanged"}, {"name":"RebuildMenus","kind":"sub","vis":"protected","signatures":[{"cond":"FEATURE_MENU","signature":"Protected Sub RebuildMenus(ByVal IsRuntimeChange As Boolean) Implements ITbCommonContainerPrivate.RebuildMenus"},{"cond":"Not (FEATURE_MENU)","signature":"Protected Sub RebuildMenus(ByVal IsRuntimeChange As Boolean) Implements ITbCommonContainerPrivate.RebuildMenus"}]}, - {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()"}, + {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()","attrs":[{"name":"DispId","args":"&HEB0006"}]}, {"name":"RightToLeft","kind":"field","vis":"public","signature":"Public RightToLeft As Boolean","attrs":[{"name":"Unimplemented"}]}, {"name":"RuntimeMenuAdded","kind":"sub","vis":"protected","signature":"Protected Sub RuntimeMenuAdded(ByVal control As Object) Implements IWindowElementEventsCommonRoot.NotifyRuntimeMenuAdded"}, {"name":"RuntimeMenuRemoved","kind":"sub","vis":"protected","signature":"Protected Sub RuntimeMenuRemoved(ByVal control As Object) Implements IWindowElementEventsCommonRoot.NotifyRuntimeMenuRemoved"}, @@ -3559,19 +3559,19 @@ {"name":"TabFocusAutoSelect","kind":"property","vis":"public","signature":"Property Get TabFocusAutoSelect() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"TabFocusAutoSelect","kind":"property","vis":"public","signature":"Property Let TabFocusAutoSelect(ByVal Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"TabFocusAutoSelectINIT","kind":"field","vis":"protected","signature":"Protected TabFocusAutoSelectINIT As Boolean","attrs":[{"name":"Serialize","args":"True, \"TabFocusAutoSelect\""}],"description":"If set to True, TextBox content will be auto-selected when TAB key is used to focus their controls, provided the TextBox control has the TabFocusAutoSelect property set to True"}, - {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()"}, + {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()","attrs":[{"name":"DispId","args":"&HEB0007"}]}, {"name":"TopMost","kind":"property","vis":"public","signature":"Public Property Get TopMost() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"TopMostINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly TopMostINIT As Boolean","attrs":[{"name":"Serialize","args":"True, \":TopMost\""}]}, {"name":"TransparencyKey","kind":"field","vis":"public","signature":"Public TransparencyKey As OLE_COLOR = -1","attrs":[{"name":"CustomDesigner","args":"\"designer_SpectrumWindowsOrClear\""}],"description":"A color, when set, that will appear fully transparent in the window"}, - {"name":"Unload","kind":"event","vis":"public","signature":"Event Unload(Cancel As Integer)"}, + {"name":"Unload","kind":"event","vis":"public","signature":"Event Unload(Cancel As Integer)","attrs":[{"name":"DispId","args":"&HEB0008"}]}, {"name":"ValidateControls","kind":"sub","vis":"public","signature":"Public Sub ValidateControls()"}, {"name":"WhatsThisButton","kind":"property","vis":"public","signature":"Property Get WhatsThisButton() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"WhatsThisButton","kind":"property","vis":"public","signature":"Property Let WhatsThisButton(ByVal Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"WhatsThisButtonINIT","kind":"field","vis":"protected","signature":"Protected WhatsThisButtonINIT As Boolean","attrs":[{"name":"Serialize","args":"True, \"WhatsThisButton\""}],"description":"Displays '?' icon in the titlebar, only if MinButton=False, MaxButton=False, ControlBox=True and BorderStyle is not a toolwindow"}, {"name":"WhatsThisHelp","kind":"field","vis":"public","signature":"Public WhatsThisHelp As Boolean"}, {"name":"WhatsThisMode","kind":"sub","vis":"public","signature":"Public Sub WhatsThisMode()"}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"_Default","kind":"property","vis":"public","signature":"Public Property Get _Default() As Object","returnType":"Object","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"DefaultMember"}]}, {"name":"hDC","kind":"property","vis":"public","signature":"Public Property Get hDC() As LongPtr","returnType":"LongPtr","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]} ] @@ -4503,6 +4503,7 @@ {"name":"AutoRedraw","kind":"field","vis":"public","signature":"Public AutoRedraw As Boolean = False"}, {"name":"AutoRedrawChanged","kind":"sub","vis":"protected","signature":"Protected Sub AutoRedrawChanged() Handles AutoRedraw.OnPropertyLet"}, {"name":"BackColor","kind":"field","vis":"public","signature":"Public BackColor As OLE_COLOR = VBRUN.SystemColorConstants.vb3DFace","attrs":[{"name":"CustomDesigner","args":"\"designer_SpectrumWindows\""}]}, + {"name":"BackColorChanged","kind":"sub","vis":"protected","signature":"Protected Sub BackColorChanged(ByVal OldValue As OLE_COLOR) Handles BackColor.OnPropertyLet"}, {"name":"BaseGraphicsInfo","kind":"field","vis":"protected","signature":"Protected BaseGraphicsInfo As BaseGraphicsInfo"}, {"name":"Circle","kind":"sub","vis":"public","signature":"Public Sub Circle(ByVal Flags As VBPaintFlags, ByVal X As Single, ByVal Y As Single, ByVal Radius As Single, ByVal Color As Long, ByVal Start As Single, ByVal _End As Single, ByVal Aspect As Single)"}, {"name":"Class_Terminate","kind":"sub","vis":"protected","signature":"Protected Sub Class_Terminate()"}, @@ -4635,7 +4636,6 @@ {"name":"SetDrawingMixMode","kind":"sub","vis":"protected","signature":"Protected Sub SetDrawingMixMode()"}, {"name":"SetFont","kind":"sub","vis":"protected","signature":"Protected Sub SetFont(ByVal fontHandle As LongPtr, ByVal redraw As Boolean) Implements IWindowElementEventsGraphics.SetFont"}, {"name":"SignificantChange","kind":"sub","vis":"protected","signature":"Protected Sub SignificantChange()"}, - {"name":"SignificantChange","kind":"sub","vis":"protected","signature":"Protected Sub SignificantChange(ByVal OldValue As OLE_COLOR) Handles BackColor.OnPropertyLet"}, {"name":"SyncFont","kind":"sub","vis":"protected","signature":"Protected Sub SyncFont() Handles Font.OnPropertySet"}, {"name":"SyncFontProperties","kind":"sub","vis":"protected","signature":"Protected Sub SyncFontProperties()"}, {"name":"SyncScaleMode","kind":"sub","vis":"protected","signature":"Protected Sub SyncScaleMode()"}, @@ -6477,7 +6477,7 @@ "signature": "Type CADWORD", "fields": [ {"name":"cElems","vis":"public","signature":"cElems As Long"}, - {"name":"pElems","vis":"public","signature":"pElems As Long"} + {"name":"pElems","vis":"public","signature":"pElems As LongPtr"} ], "members": [] }, @@ -8125,7 +8125,7 @@ "implements": ["Control","IWindowsControl","ITbCommonContainerPrivate","IWindowElementEventsCommon","IWindowElementEventsCommonRoot","Form","ITwinBasicDesignerExtensions2","IOleContainer"], "attrs": [{"name":"ClassId","args":"\"631EC857-3B39-41C2-A7B1-A76669E94104\""},{"name":"InterfaceId","args":"\"E577FA2C-4F80-4F8B-AB69-8E7D4DB8B6A6\""},{"name":"COMCreatable","args":"False"},{"name":"COMExtensible","args":"True"},{"name":"EventsUseDispInterface"},{"name":"ComImport","args":"True"}], "members": [ - {"name":"Activate","kind":"event","vis":"public","signature":"Event Activate()"}, + {"name":"Activate","kind":"event","vis":"public","signature":"Event Activate()","attrs":[{"name":"DispId","args":"&HEB0001"}]}, {"name":"ActiveControl","kind":"property","vis":"public","signature":"Public Property Get ActiveControl() As Control","returnType":"Control","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"ActiveForm","kind":"property","vis":"public","signature":"Public Property Get ActiveForm() As Object","returnType":"Object","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"AlwaysShowKeyboardCues","kind":"property","vis":"public","signature":"Property Get AlwaysShowKeyboardCues() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":""}, @@ -8144,9 +8144,9 @@ {"name":"ClearSubMenusCachedInfo","kind":"sub","vis":"protected","signature":"Protected Sub ClearSubMenusCachedInfo(Container As Menu)"}, {"name":"Click","kind":"event","vis":"public","signature":"Event Click()","attrs":[{"name":"DispId","args":"&HEA0004"}]}, {"name":"Count","kind":"property","vis":"public","signature":"Public Property Get Count() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, + {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","attrs":[{"name":"DispId","args":"&HEB0014"}],"description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, {"name":"DblClick","kind":"event","vis":"public","signature":"Event DblClick()","attrs":[{"name":"DispId","args":"&HEA0005"}]}, - {"name":"Deactivate","kind":"event","vis":"public","signature":"Event Deactivate()"}, + {"name":"Deactivate","kind":"event","vis":"public","signature":"Event Deactivate()","attrs":[{"name":"DispId","args":"&HEB0002"}]}, {"name":"DesignerArrayFieldUpdated","kind":"sub","vis":"protected","signature":"Protected Sub DesignerArrayFieldUpdated(ByVal FieldName As String) Implements ITwinBasicDesignerExtensions2.DesignerArrayFieldUpdated"}, {"name":"DpiScaleFactorX","kind":"property","vis":"public","signature":"Public Property Get DpiScaleFactorX() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"DpiScaleFactorY","kind":"property","vis":"public","signature":"Public Property Get DpiScaleFactorY() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, @@ -8278,8 +8278,8 @@ {"name":"HandleResize","kind":"sub","vis":"protected","signature":"Protected Sub HandleResize() Implements IWindowElementEventsCommon.Resize"}, {"name":"HandleShowHelp","kind":"sub","vis":"protected","signature":"Protected Sub HandleShowHelp(ByVal control As Object) Implements IWindowElementEventsCommonRoot.ShowHelp"}, {"name":"HandleShowMenuHelp","kind":"sub","vis":"protected","signature":"Protected Sub HandleShowMenuHelp(ByVal CommandID As Long) Implements IWindowElementEventsCommonRoot.ShowMenuHelp"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"HelpContextID","kind":"field","vis":"public","signature":"Public HelpContextID As Long"}, {"name":"IOleContainerEnumObjects","kind":"sub","vis":"protected","signature":"Protected Sub IOleContainerEnumObjects(ByVal grfFlags As Long, ppenum As IEnumUnknown) Implements IOleContainer.EnumObjects"}, {"name":"IOleContainerLockContainer","kind":"sub","vis":"protected","signature":"Protected Sub IOleContainerLockContainer(ByVal fLock As Long) Implements IOleContainer.LockContainer"}, @@ -8290,7 +8290,7 @@ {"name":"IconChanged","kind":"sub","vis":"protected","signature":"Protected Sub IconChanged()"}, {"name":"IconINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly IconINIT() As Byte","attrs":[{"name":"Serialize","args":"True, \"Icon\""},{"name":"CustomDesigner","args":"\"designer_IconBytes\""}]}, {"name":"InitOleDragDropHelper","kind":"sub","vis":"protected","signature":"Protected Sub InitOleDragDropHelper()"}, - {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()"}, + {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()","attrs":[{"name":"DispId","args":"&HEB0003"}]}, {"name":"InternalActiveForm","kind":"field","vis":"protected","signature":"Protected InternalActiveForm As Object"}, {"name":"InternalCurrentRootMenu","kind":"field","vis":"protected","signature":"Protected InternalCurrentRootMenu As LongPtr"}, {"name":"InternalEnumerator","kind":"function","vis":"public","signature":"Public Function InternalEnumerator() As stdole.IUnknown","returnType":"stdole.IUnknown","attrs":[{"name":"Enumerator"}]}, @@ -8364,13 +8364,13 @@ {"name":"LetWhatsThisHelp","kind":"property","vis":"protected","signature":"Protected Property Let LetWhatsThisHelp(ByVal Value As Boolean) Implements Form.WhatsThisHelp","accessor":"Let"}, {"name":"LetWidth","kind":"property","vis":"protected","signature":"Protected Property Let LetWidth(ByVal Value As Double) Implements Form.Width","accessor":"Let"}, {"name":"LetWindowState","kind":"property","vis":"protected","signature":"Protected Property Let LetWindowState(ByVal Value As VBRUN.FormWindowStateConstants) Implements Form.WindowState","accessor":"Let"}, - {"name":"LinkClose","kind":"event","vis":"public","signature":"Event LinkClose()","attrs":[{"name":"Unimplemented"}]}, - {"name":"LinkError","kind":"event","vis":"public","signature":"Event LinkError(LinkErr As Integer)","attrs":[{"name":"Unimplemented"}]}, - {"name":"LinkExecute","kind":"event","vis":"public","signature":"Event LinkExecute(CmdStr As String, Cancel As Integer)","attrs":[{"name":"Unimplemented"}]}, + {"name":"LinkClose","kind":"event","vis":"public","signature":"Event LinkClose()","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB0008"}]}, + {"name":"LinkError","kind":"event","vis":"public","signature":"Event LinkError(LinkErr As Integer)","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB0009"}]}, + {"name":"LinkExecute","kind":"event","vis":"public","signature":"Event LinkExecute(CmdStr As String, Cancel As Integer)","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB000A"}]}, {"name":"LinkMode","kind":"field","vis":"public","signature":"Public LinkMode As VBRUN.LinkModeConstants","attrs":[{"name":"Unimplemented"}]}, - {"name":"LinkOpen","kind":"event","vis":"public","signature":"Event LinkOpen(Cancel As Integer)","attrs":[{"name":"Unimplemented"}]}, + {"name":"LinkOpen","kind":"event","vis":"public","signature":"Event LinkOpen(Cancel As Integer)","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB000B"}]}, {"name":"LinkTopic","kind":"field","vis":"public","signature":"Public LinkTopic As String","attrs":[{"name":"Unimplemented"}]}, - {"name":"Load","kind":"event","vis":"public","signature":"Event Load()","attrs":[{"name":"DefaultDesignerEvent"}]}, + {"name":"Load","kind":"event","vis":"public","signature":"Event Load()","attrs":[{"name":"DefaultDesignerEvent"},{"name":"DispId","args":"&HEB0004"}]}, {"name":"MaxHeight","kind":"property","vis":"public","signature":"Property Get MaxHeight() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":"The maximum height of the CLIENT area, in twips"}, {"name":"MaxHeight","kind":"property","vis":"public","signature":"Property Let MaxHeight(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":"The maximum height of the CLIENT area, in twips"}, {"name":"MaxHeightINIT","kind":"field","vis":"protected","signature":"Protected MaxHeightINIT As Double","attrs":[{"name":"Serialize","args":"True, \"MaxHeight\""}],"description":"The maximum height of the CLIENT area, in twips"}, @@ -8389,17 +8389,17 @@ {"name":"MouseDown","kind":"event","vis":"public","signature":"Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0001"}]}, {"name":"MouseMove","kind":"event","vis":"public","signature":"Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0002"}]}, {"name":"MouseUp","kind":"event","vis":"public","signature":"Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0003"}]}, - {"name":"MouseWheel","kind":"event","vis":"public","signature":"Event MouseWheel(ByVal Delta As Integer, ByVal Horizontal As Boolean)"}, + {"name":"MouseWheel","kind":"event","vis":"public","signature":"Event MouseWheel(ByVal Delta As Integer, ByVal Horizontal As Boolean)","attrs":[{"name":"DispId","args":"&HEB0013"}]}, {"name":"Move","kind":"sub","vis":"public","signature":"Public Sub Move(ByVal Left As Single, Optional ByVal Top As Variant, Optional ByVal Width As Variant, Optional ByVal Height As Variant)"}, {"name":"NegotiateToolbars","kind":"field","vis":"public","signature":"Public NegotiateToolbars As Boolean = True","attrs":[{"name":"Unimplemented"}]}, {"name":"New","kind":"sub","vis":"public","signature":"Sub New()"}, - {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)"}, + {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)","attrs":[{"name":"DispId","args":"&HEB000C"}]}, {"name":"OLEDrag","kind":"sub","vis":"public","signature":"Public Sub OLEDrag()"}, - {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)"}, - {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)"}, - {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)"}, - {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)"}, - {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)"}, + {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEB000D"}]}, + {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)","attrs":[{"name":"DispId","args":"&HEB000E"}]}, + {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)","attrs":[{"name":"DispId","args":"&HEB000F"}]}, + {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)","attrs":[{"name":"DispId","args":"&HEB0010"}]}, + {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)","attrs":[{"name":"DispId","args":"&HEB0011"}]}, {"name":"Opacity","kind":"field","vis":"public","signature":"Public Opacity As Double = 100","description":"Opacity, given as a percentage, 0 - 100"}, {"name":"Picture","kind":"field","vis":"public","signature":"Public Picture As StdPicture","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"PictureDpiScaling","kind":"field","vis":"public","signature":"Public PictureDpiScaling As Boolean"}, @@ -8408,11 +8408,11 @@ {"name":"PopUpMenu","kind":"sub","vis":"public","signature":"Public Sub PopUpMenu(ByVal Menu As Object, Optional ByVal Flags As Variant, Optional ByVal X As Variant, Optional ByVal Y As Variant, Optional ByVal DefaultMenu As Variant)"}, {"name":"PrepareMenus","kind":"sub","vis":"protected","signature":"Protected Sub PrepareMenus()"}, {"name":"PrintForm","kind":"sub","vis":"public","signature":"Public Sub PrintForm()","attrs":[{"name":"Unimplemented"}]}, - {"name":"QueryUnload","kind":"event","vis":"public","signature":"Event QueryUnload(Cancel As Integer, UnloadMode As Integer)"}, + {"name":"QueryUnload","kind":"event","vis":"public","signature":"Event QueryUnload(Cancel As Integer, UnloadMode As Integer)","attrs":[{"name":"DispId","args":"&HEB0012"}]}, {"name":"RaiseChange","kind":"sub","vis":"protected","signature":"Protected Sub RaiseChange() Implements ITbCommonContainerPrivate.RaiseChange"}, {"name":"RaiseViewChanged","kind":"sub","vis":"protected","signature":"Protected Sub RaiseViewChanged() Implements ITbCommonContainerPrivate.RaiseViewChanged"}, {"name":"RebuildMenus","kind":"sub","vis":"protected","signature":"Protected Sub RebuildMenus(ByVal IsRuntimeChange As Boolean) Implements ITbCommonContainerPrivate.RebuildMenus"}, - {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()"}, + {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()","attrs":[{"name":"DispId","args":"&HEB0005"}]}, {"name":"RightToLeft","kind":"field","vis":"public","signature":"Public RightToLeft As Boolean","attrs":[{"name":"Unimplemented"}]}, {"name":"RuntimeMenuAdded","kind":"sub","vis":"protected","signature":"Protected Sub RuntimeMenuAdded(ByVal control As Object) Implements IWindowElementEventsCommonRoot.NotifyRuntimeMenuAdded"}, {"name":"RuntimeMenuRemoved","kind":"sub","vis":"protected","signature":"Protected Sub RuntimeMenuRemoved(ByVal control As Object) Implements IWindowElementEventsCommonRoot.NotifyRuntimeMenuRemoved"}, @@ -8431,15 +8431,15 @@ {"name":"TabFocusAutoSelect","kind":"property","vis":"public","signature":"Property Get TabFocusAutoSelect() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"TabFocusAutoSelect","kind":"property","vis":"public","signature":"Property Let TabFocusAutoSelect(ByVal Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":""}, {"name":"TabFocusAutoSelectINIT","kind":"field","vis":"protected","signature":"Protected TabFocusAutoSelectINIT As Boolean","attrs":[{"name":"Serialize","args":"True, \"TabFocusAutoSelect\""}],"description":"If set to True, TextBox content will be auto-selected when TAB key is used to focus their controls, provided the TextBox control has the TabFocusAutoSelect property set to True"}, - {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()"}, + {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()","attrs":[{"name":"DispId","args":"&HEB0006"}]}, {"name":"TopMost","kind":"field","vis":"public","signature":"Public ReadOnly TopMost As Boolean","attrs":[{"name":"Serialize","args":"True, \":TopMost\""}]}, {"name":"TransparencyKey","kind":"field","vis":"public","signature":"Public TransparencyKey As OLE_COLOR = -1","attrs":[{"name":"CustomDesigner","args":"\"designer_SpectrumWindowsOrClear\""}],"description":"A color, when set, that will appear fully transparent in the window"}, - {"name":"Unload","kind":"event","vis":"public","signature":"Event Unload(Cancel As Integer)"}, + {"name":"Unload","kind":"event","vis":"public","signature":"Event Unload(Cancel As Integer)","attrs":[{"name":"DispId","args":"&HEB0007"}]}, {"name":"ValidateControls","kind":"sub","vis":"public","signature":"Public Sub ValidateControls()"}, {"name":"WhatsThisHelp","kind":"field","vis":"public","signature":"Public WhatsThisHelp As Boolean"}, {"name":"WhatsThisMode","kind":"sub","vis":"public","signature":"Public Sub WhatsThisMode()"}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"_Default","kind":"property","vis":"public","signature":"Public Property Get _Default() As Object","returnType":"Object","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"DefaultMember"}]} ] }, @@ -8858,7 +8858,7 @@ {"name":"CommonRaiseViewChanged","kind":"sub","vis":"public","signature":"Public Sub CommonRaiseViewChanged(Container As Object)"}, {"name":"CommonRebuildMenus","kind":"sub","vis":"public","signature":"Public Sub CommonRebuildMenus(Container As Object, ByVal IsRuntimeChange As Boolean)"}, {"name":"CommonResizeWindowless","kind":"sub","vis":"public","signature":"Public Sub CommonResizeWindowless(ByVal containerHwnd As HWND, ByVal adjustAmount As Long, ByVal oldLeft As Long, ByVal oldTop As Long, ByVal oldWidth As Long, ByVal oldHeight As Long, ByVal newLeft As Long, ByVal newTop As Long, ByVal newWidth As Long, ByVal newHeight As Long)"}, - {"name":"CommonValidateColorOrRevert","kind":"function","vis":"public","signature":"Public Function CommonValidateColorOrRevert(ByRef NewValueInOut As OLE_COLOR, ByVal OldValue As OLE_COLOR) As Boolean","returnType":"Boolean"}, + {"name":"CommonValidateColorOrRevert","kind":"function","vis":"public","signature":"Public Function CommonValidateColorOrRevert(ByRef NewValueInOut As OLE_COLOR, ByVal OldValue As OLE_COLOR, ByVal IgnoreExistingValue As Boolean) As Boolean","returnType":"Boolean"}, {"name":"ETO_CLIPPED","kind":"const","vis":"private","signature":"Const ETO_CLIPPED As Long = 4"}, {"name":"GA_ROOT","kind":"const","vis":"private","signature":"Private Const GA_ROOT As Long = 2"}, {"name":"GWL_EXSTYLE","kind":"const","vis":"private","signature":"Private Const GWL_EXSTYLE As Long = -20"}, @@ -10198,14 +10198,14 @@ {"name":"Activate","kind":"sub","vis":"protected","signature":"Protected Sub Activate(ByVal hWndParent As HWND, pRect As tbRECT, ByVal bModal As Long) Implements IPropertyPage2.Activate"}, {"name":"ActiveControl","kind":"property","vis":"public","signature":"Public Property Get ActiveControl() As Control","returnType":"Control","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"Apply","kind":"sub","vis":"protected","signature":"Protected Sub Apply() Implements IPropertyPage2.Apply"}, - {"name":"ApplyChanges","kind":"event","vis":"public","signature":"Event ApplyChanges()"}, + {"name":"ApplyChanges","kind":"event","vis":"public","signature":"Event ApplyChanges()","attrs":[{"name":"DispId","args":"&HEB0001"}]}, {"name":"BuildMenus","kind":"sub","vis":"protected","signature":"Protected Sub BuildMenus(existingMenuHandle As HMENU, windowListMenu As LongPtr, Container As Control, Level As Long, IsPopUp As Boolean, BoldMenuItem As Menu) Implements ITbCommonContainerPrivate.BuildMenus"}, {"name":"Changed","kind":"property","vis":"public","signature":"Public Property Get Changed() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"Changed","kind":"property","vis":"public","signature":"Public Property Let Changed(ByVal Value As Boolean)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"Class_Terminate","kind":"sub","vis":"protected","signature":"Protected Sub Class_Terminate()"}, {"name":"Click","kind":"event","vis":"public","signature":"Event Click()","attrs":[{"name":"DispId","args":"&HEA0004"}]}, {"name":"Count","kind":"property","vis":"public","signature":"Public Property Get Count() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, + {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","attrs":[{"name":"DispId","args":"&HEB000D"}],"description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, {"name":"DblClick","kind":"event","vis":"public","signature":"Event DblClick()","attrs":[{"name":"DispId","args":"&HEA0005"}]}, {"name":"Deactivate","kind":"sub","vis":"protected","signature":"Protected Sub Deactivate() Implements IPropertyPage2.Deactivate"}, {"name":"DesignerArrayFieldUpdated","kind":"sub","vis":"protected","signature":"Protected Sub DesignerArrayFieldUpdated(ByVal FieldName As String) Implements ITwinBasicDesignerExtensions2.DesignerArrayFieldUpdated"}, @@ -10213,7 +10213,7 @@ {"name":"DpiScaleFactorY","kind":"property","vis":"public","signature":"Public Property Get DpiScaleFactorY() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"DragDrop","kind":"event","vis":"public","signature":"Event DragDrop(Source As Control, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA000B"}]}, {"name":"DragOver","kind":"event","vis":"public","signature":"Event DragOver(Source As Control, X As Single, Y As Single, State As Integer)","attrs":[{"name":"DispId","args":"&HEA000C"}]}, - {"name":"EditProperty","kind":"event","vis":"public","signature":"Event EditProperty(PropertyName As String)"}, + {"name":"EditProperty","kind":"event","vis":"public","signature":"Event EditProperty(PropertyName As String)","attrs":[{"name":"DispId","args":"&HEB0002"}]}, {"name":"EditProperty","kind":"sub","vis":"protected","signature":"Protected Sub EditProperty(ByVal dispId As Long) Implements IPropertyPage2.EditProperty"}, {"name":"GetPageInfo","kind":"sub","vis":"protected","signature":"Protected Sub GetPageInfo(pPageInfo As PROPPAGEINFO) Implements IPropertyPage2.GetPageInfo"}, {"name":"GotFocus","kind":"event","vis":"public","signature":"Event GotFocus()","attrs":[{"name":"DispId","args":"&HEA0006"}]}, @@ -10224,15 +10224,15 @@ {"name":"HandlePaint","kind":"sub","vis":"protected","signature":"Protected Sub HandlePaint(ByRef Handled As Boolean) Implements IWindowElementEventsCommon.Paint"}, {"name":"HandlePreInitialize","kind":"sub","vis":"protected","signature":"Protected Sub HandlePreInitialize() Implements IWindowsControl.PreInitialize"}, {"name":"HandlePreLoad","kind":"sub","vis":"protected","signature":"Protected Sub HandlePreLoad() Implements IWindowElementEventsCommonRoot.PreLoadForm"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"Help","kind":"sub","vis":"protected","signature":"Protected Sub Help(ByVal pszHelpDir As LongPtr) Implements IPropertyPage2.Help"}, {"name":"HelpContextID","kind":"field","vis":"public","signature":"Public HelpContextID As Long"}, {"name":"IOleContainerEnumObjects","kind":"sub","vis":"protected","signature":"Protected Sub IOleContainerEnumObjects(ByVal grfFlags As Long, ppenum As IEnumUnknown) Implements IOleContainer.EnumObjects"}, {"name":"IOleContainerLockContainer","kind":"sub","vis":"protected","signature":"Protected Sub IOleContainerLockContainer(ByVal fLock As Long) Implements IOleContainer.LockContainer"}, {"name":"IOleContainerParseDisplayName","kind":"sub","vis":"protected","signature":"Protected Sub IOleContainerParseDisplayName(ByVal pbc As stdole.IUnknown, ByVal pszDisplayName As LongPtr, pchEaten As Long, ppmkOut As VBRUN.tbInternal_IMoniker) Implements IOleContainer.ParseDisplayName"}, {"name":"InitOleDragDropHelper","kind":"sub","vis":"protected","signature":"Protected Sub InitOleDragDropHelper()"}, - {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()"}, + {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()","attrs":[{"name":"DispId","args":"&HEB0003"}]}, {"name":"InitializeMe","kind":"sub","vis":"protected","signature":"Protected Sub InitializeMe()"}, {"name":"InternalEarlyTerminated","kind":"field","vis":"protected","signature":"Protected InternalEarlyTerminated As Boolean"}, {"name":"InternalEnumerator","kind":"function","vis":"public","signature":"Public Function InternalEnumerator() As stdole.IUnknown","returnType":"stdole.IUnknown","attrs":[{"name":"Enumerator"}]}, @@ -10242,6 +10242,7 @@ {"name":"IsDesignMode","kind":"field","vis":"protected","signature":"Protected IsDesignMode As Boolean"}, {"name":"IsInitialized","kind":"field","vis":"protected","signature":"Protected IsInitialized As Boolean"}, {"name":"IsPageDirty","kind":"sub","vis":"protected","signature":"Protected Sub IsPageDirty() Implements IPropertyPage2.IsPageDirty"}, + {"name":"IsTerminating","kind":"field","vis":"protected","signature":"Protected IsTerminating As Boolean"}, {"name":"KeyDown","kind":"event","vis":"public","signature":"Event KeyDown(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEA0008"}]}, {"name":"KeyPress","kind":"event","vis":"public","signature":"Event KeyPress(KeyAscii As Integer)","attrs":[{"name":"DispId","args":"&HEA0009"}]}, {"name":"KeyUp","kind":"event","vis":"public","signature":"Event KeyUp(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEA000A"}]}, @@ -10251,15 +10252,15 @@ {"name":"MouseMove","kind":"event","vis":"public","signature":"Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0002"}]}, {"name":"MouseUp","kind":"event","vis":"public","signature":"Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0003"}]}, {"name":"Move","kind":"sub","vis":"protected","signature":"Protected Sub Move(pRect As tbRECT) Implements IPropertyPage2.Move"}, - {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)"}, + {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)","attrs":[{"name":"DispId","args":"&HEB0004"}]}, {"name":"OLEDrag","kind":"sub","vis":"public","signature":"Public Sub OLEDrag()"}, - {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)"}, - {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)"}, - {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)"}, - {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)"}, - {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)"}, + {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEB0005"}]}, + {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)","attrs":[{"name":"DispId","args":"&HEB0006"}]}, + {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)","attrs":[{"name":"DispId","args":"&HEB0007"}]}, + {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)","attrs":[{"name":"DispId","args":"&HEB0008"}]}, + {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)","attrs":[{"name":"DispId","args":"&HEB0009"}]}, {"name":"OnGetControlType","kind":"function","vis":"protected","signature":"Protected Function OnGetControlType() As ControlTypeConstants Overrides GraphicsBase.OnGetControlType","returnType":"ControlTypeConstants"}, - {"name":"Paint","kind":"event","vis":"public","signature":"Event Paint()"}, + {"name":"Paint","kind":"event","vis":"public","signature":"Event Paint()","attrs":[{"name":"DispId","args":"&HEB000A"}]}, {"name":"Palette","kind":"field","vis":"public","signature":"Public Palette As StdPicture","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, {"name":"PaletteINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly PaletteINIT() As Byte","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"True, \"Palette\""},{"name":"CustomDesigner","args":"\"designer_PictureBytes\""}]}, {"name":"PaletteMode","kind":"field","vis":"public","signature":"Public PaletteMode As VBRUN.PaletteModeConstants","attrs":[{"name":"Unimplemented"}]}, @@ -10272,7 +10273,7 @@ {"name":"RebuildMenus","kind":"sub","vis":"protected","signature":"Protected Sub RebuildMenus(ByVal IsRuntimeChange As Boolean) Implements ITbCommonContainerPrivate.RebuildMenus"}, {"name":"RightToLeft","kind":"field","vis":"public","signature":"Public RightToLeft As Boolean","attrs":[{"name":"Unimplemented"}]}, {"name":"SelectedControls","kind":"property","vis":"public","signature":"Public Property Get SelectedControls() As SelectedControls","returnType":"SelectedControls","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"SelectionChanged","kind":"event","vis":"public","signature":"Event SelectionChanged()","attrs":[{"name":"DefaultDesignerEvent"}]}, + {"name":"SelectionChanged","kind":"event","vis":"public","signature":"Event SelectionChanged()","attrs":[{"name":"DefaultDesignerEvent"},{"name":"DispId","args":"&HEB000B"}]}, {"name":"SetFocus","kind":"sub","vis":"public","signature":"Public Sub SetFocus()"}, {"name":"SetObjects","kind":"sub","vis":"protected","signature":"Protected Sub SetObjects(ByVal cObjects As Long, ppUnk As IUnknown) Implements IPropertyPage2.SetObjects"}, {"name":"SetPageSite","kind":"sub","vis":"protected","signature":"Protected Sub SetPageSite(ByVal pPageSite As IPropertyPageSite) Implements IPropertyPage2.SetPageSite"}, @@ -10281,11 +10282,11 @@ {"name":"StandardSize","kind":"property","vis":"public","signature":"Public Property Get StandardSize() As EnumStandardSize","returnType":"EnumStandardSize","accessor":"Get"}, {"name":"StandardSize","kind":"property","vis":"public","signature":"Public Property Let StandardSize(ByVal Value As EnumStandardSize)","accessor":"Let"}, {"name":"SyncPictureINIT","kind":"sub","vis":"protected","signature":"Protected Sub SyncPictureINIT()"}, - {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()"}, + {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()","attrs":[{"name":"DispId","args":"&HEB000C"}]}, {"name":"TranslateAccelerator","kind":"sub","vis":"protected","signature":"Protected Sub TranslateAccelerator(pMsg As MSG) Implements IPropertyPage2.TranslateAccelerator"}, {"name":"ValidateControls","kind":"sub","vis":"public","signature":"Public Sub ValidateControls()"}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"_Default","kind":"property","vis":"public","signature":"Public Property Get _Default() As Object","returnType":"Object","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"DefaultMember"}]} ] }, @@ -10688,11 +10689,11 @@ "implements": ["Control","IWindowsControl","ITbCustomBinder","IWindowElementEventsCommon","IWindowElementEventsCommonRoot"], "attrs": [{"name":"ClassId","args":"\"F05FBC2A-209B-4167-B1D5-CA25E4C644BE\""},{"name":"InterfaceId","args":"\"B1A4587A-46D7-44D6-804B-AF1FB26D93A9\""},{"name":"COMCreatable","args":"False"},{"name":"COMExtensible","args":"True"},{"name":"EventsUseDispInterface"},{"name":"ComImport","args":"True"}], "members": [ - {"name":"Activate","kind":"event","vis":"public","signature":"Event Activate()"}, + {"name":"Activate","kind":"event","vis":"public","signature":"Event Activate()","attrs":[{"name":"DispId","args":"&HEB0001"}]}, {"name":"AggregateControls","kind":"field","vis":"protected","signature":"Protected AggregateControls() As Control"}, {"name":"AggregateControlsCount","kind":"field","vis":"protected","signature":"Protected AggregateControlsCount As Long"}, {"name":"AlreadyPainting","kind":"field","vis":"protected","signature":"Protected AlreadyPainting As Boolean"}, - {"name":"BeforePaintSection","kind":"event","vis":"public","signature":"Event BeforePaintSection(ByVal Section As ControlsSection)"}, + {"name":"BeforePaintSection","kind":"event","vis":"public","signature":"Event BeforePaintSection(ByVal Section As ControlsSection)","attrs":[{"name":"DispId","args":"&HEB0005"}]}, {"name":"BehindPageBackBrush","kind":"field","vis":"protected","signature":"Protected BehindPageBackBrush As LongPtr"}, {"name":"BehindPageBackColor","kind":"const","vis":"protected","signature":"Protected Const BehindPageBackColor As Long = &H909090"}, {"name":"BehindPageBackColor2","kind":"const","vis":"protected","signature":"Protected Const BehindPageBackColor2 As Long = &H101028"}, @@ -10714,9 +10715,9 @@ {"name":"CreateMetaFileForReportPage","kind":"function","vis":"protected","signature":"Protected Function CreateMetaFileForReportPage(ByVal pageNum As Long) As ReportPage","returnType":"ReportPage"}, {"name":"CurrentPageIsLast","kind":"field","vis":"protected","signature":"Protected CurrentPageIsLast As Boolean"}, {"name":"CurrentPaintingSectionDC","kind":"field","vis":"protected","signature":"Protected CurrentPaintingSectionDC As HDC"}, - {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, + {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","attrs":[{"name":"DispId","args":"&HEB000A"}],"description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, {"name":"DblClick","kind":"event","vis":"public","signature":"Event DblClick()","attrs":[{"name":"DispId","args":"&HEA0005"}]}, - {"name":"Deactivate","kind":"event","vis":"public","signature":"Event Deactivate()"}, + {"name":"Deactivate","kind":"event","vis":"public","signature":"Event Deactivate()","attrs":[{"name":"DispId","args":"&HEB0002"}]}, {"name":"DeleteCachedBufferBitmap","kind":"sub","vis":"protected","signature":"Protected Sub DeleteCachedBufferBitmap()"}, {"name":"DpiScaleFactorX","kind":"property","vis":"public","signature":"Public Property Get DpiScaleFactorX() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"DpiScaleFactorY","kind":"property","vis":"public","signature":"Public Property Get DpiScaleFactorY() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, @@ -10746,15 +10747,15 @@ {"name":"HandlePreLoad","kind":"sub","vis":"protected","signature":"Protected Sub HandlePreLoad() Implements IWindowElementEventsCommonRoot.PreLoadForm"}, {"name":"HandleQueryUnload","kind":"sub","vis":"protected","signature":"Protected Sub HandleQueryUnload(Cancel As Integer, ByVal UnloadMode As Long) Implements IWindowElementEventsCommonRoot.QueryUnload"}, {"name":"HandleResize","kind":"sub","vis":"protected","signature":"Protected Sub HandleResize() Implements IWindowElementEventsCommon.Resize"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"HelpContextID","kind":"field","vis":"public","signature":"Public HelpContextID As Long"}, {"name":"Icon","kind":"property","vis":"public","signature":"Public Property Get Icon() As StdPicture","returnType":"StdPicture","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"Icon","kind":"property","vis":"public","signature":"Public Property Set Icon(Value As StdPicture)","accessor":"Set","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"Icon","kind":"property","vis":"public","signature":"Public Property Let Icon(Value As StdPicture)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"IconChanged","kind":"sub","vis":"protected","signature":"Protected Sub IconChanged()"}, {"name":"IconINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly IconINIT() As Byte","attrs":[{"name":"Serialize","args":"True, \"Icon\""},{"name":"CustomDesigner","args":"\"designer_IconBytes\""}]}, - {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()"}, + {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()","attrs":[{"name":"DispId","args":"&HEB0003"}]}, {"name":"InitializeMe","kind":"sub","vis":"protected","signature":"Protected Sub InitializeMe()"}, {"name":"InternalControlSections","kind":"field","vis":"public","signature":"Public InternalControlSections() As ControlsSection","attrs":[{"name":"NonBrowsable"}]}, {"name":"InternalEnumerator","kind":"function","vis":"public","signature":"Public Function InternalEnumerator() As stdole.IUnknown","returnType":"stdole.IUnknown","attrs":[{"name":"Enumerator"}]}, @@ -10766,7 +10767,7 @@ {"name":"KeyDown","kind":"event","vis":"public","signature":"Event KeyDown(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEA0008"}]}, {"name":"KeyPress","kind":"event","vis":"public","signature":"Event KeyPress(KeyAscii As Integer)","attrs":[{"name":"DispId","args":"&HEA0009"}]}, {"name":"KeyUp","kind":"event","vis":"public","signature":"Event KeyUp(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEA000A"}]}, - {"name":"Load","kind":"event","vis":"public","signature":"Event Load()","attrs":[{"name":"DefaultDesignerEvent"}]}, + {"name":"Load","kind":"event","vis":"public","signature":"Event Load()","attrs":[{"name":"DefaultDesignerEvent"},{"name":"DispId","args":"&HEB0004"}]}, {"name":"LostFocus","kind":"event","vis":"public","signature":"Event LostFocus()","attrs":[{"name":"DispId","args":"&HEA0007"}]}, {"name":"MaxHeight","kind":"property","vis":"public","signature":"Property Get MaxHeight() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}],"description":"The maximum height of the CLIENT area, in twips"}, {"name":"MaxHeight","kind":"property","vis":"public","signature":"Property Let MaxHeight(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}],"description":"The maximum height of the CLIENT area, in twips"}, @@ -10805,7 +10806,7 @@ {"name":"PreviewPaperColorChanged","kind":"sub","vis":"protected","signature":"Protected Sub PreviewPaperColorChanged() Handles PaperColor.OnPropertyLet"}, {"name":"PrintReport","kind":"sub","vis":"public","signature":"Public Sub PrintReport(Optional ShowDialog As Boolean = True, Optional Range As PageRangeConstants, Optional PageFrom As Long, Optional PageTo As Long)"}, {"name":"PrintSinglePageViewer","kind":"sub","vis":"protected","signature":"Protected Sub PrintSinglePageViewer(ByVal hdc As HDC)"}, - {"name":"QueryUnload","kind":"event","vis":"public","signature":"Event QueryUnload(Cancel As Integer, UnloadMode As Integer)"}, + {"name":"QueryUnload","kind":"event","vis":"public","signature":"Event QueryUnload(Cancel As Integer, UnloadMode As Integer)","attrs":[{"name":"DispId","args":"&HEB0009"}]}, {"name":"RECORDSELECTORSWIDTH","kind":"const","vis":"private","signature":"Const RECORDSELECTORSWIDTH As Long = 140"}, {"name":"RecordNum","kind":"field","vis":"public","signature":"Public RecordNum As Long","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"Recordset","kind":"property","vis":"public","signature":"Public Property Get Recordset() As Object","returnType":"Object","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, @@ -10815,7 +10816,7 @@ {"name":"RefreshNoErase","kind":"sub","vis":"protected","signature":"Protected Sub RefreshNoErase()"}, {"name":"ReleaseGdiStuff","kind":"sub","vis":"protected","signature":"Protected Sub ReleaseGdiStuff()"}, {"name":"RenderSection","kind":"function","vis":"protected","signature":"Protected Function RenderSection(ByRef Section As ControlsSection, ByVal hdc As HDC, ByRef OffsetY As Double, ByRef AvailableHeight As Long, ByVal IsConsideredEmptyPage As Boolean) As Boolean","returnType":"Boolean"}, - {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()"}, + {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()","attrs":[{"name":"DispId","args":"&HEB0006"}]}, {"name":"ResyncScrollBars","kind":"sub","vis":"protected","signature":"Protected Sub ResyncScrollBars()"}, {"name":"RightToLeft","kind":"field","vis":"public","signature":"Public RightToLeft As Boolean","attrs":[{"name":"Unimplemented"}]}, {"name":"ScrollBarsVisible","kind":"field","vis":"protected","signature":"Protected ScrollBarsVisible As Boolean"}, @@ -10827,17 +10828,17 @@ {"name":"TOOLBARHEIGHT","kind":"const","vis":"private","signature":"Const TOOLBARHEIGHT As Long = 18"}, {"name":"TOOLBARPADDINGX","kind":"const","vis":"private","signature":"Const TOOLBARPADDINGX As Long = 6"}, {"name":"TOOLBARPADDINGY","kind":"const","vis":"private","signature":"Const TOOLBARPADDINGY As Long = 5"}, - {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()"}, + {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()","attrs":[{"name":"DispId","args":"&HEB0007"}]}, {"name":"ToolbarBackBrush","kind":"field","vis":"protected","signature":"Protected ToolbarBackBrush As LongPtr"}, {"name":"ToolbarBackColor","kind":"const","vis":"private","signature":"Const ToolbarBackColor As Long = &HE0E0E0"}, {"name":"TopMost","kind":"field","vis":"public","signature":"Public ReadOnly TopMost As Boolean"}, {"name":"TransparencyKey","kind":"field","vis":"public","signature":"Public TransparencyKey As OLE_COLOR = -1","attrs":[{"name":"CustomDesigner","args":"\"designer_SpectrumWindowsOrClear\""}],"description":"A color, when set, that will appear fully transparent in the window"}, - {"name":"Unload","kind":"event","vis":"public","signature":"Event Unload(Cancel As Integer)"}, + {"name":"Unload","kind":"event","vis":"public","signature":"Event Unload(Cancel As Integer)","attrs":[{"name":"DispId","args":"&HEB0008"}]}, {"name":"UpdateAggregates","kind":"sub","vis":"protected","signature":"Protected Sub UpdateAggregates()"}, {"name":"UpdateHoverButton","kind":"sub","vis":"protected","signature":"Protected Sub UpdateHoverButton(ByVal X As Single, ByVal Y As Single)"}, {"name":"WhiteBackBrush","kind":"field","vis":"protected","signature":"Protected WhiteBackBrush As LongPtr"}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal ValueTwips As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"ZOOMCONTROLSWIDTH","kind":"const","vis":"private","signature":"Const ZOOMCONTROLSWIDTH As Long = 80"}, {"name":"ZoomAutoFit","kind":"field","vis":"public","signature":"Public ZoomAutoFit As ZoomAutoFitConstants = vbZoomAutoFit"}, {"name":"ZoomPercent","kind":"field","vis":"public","signature":"Public ZoomPercent As Double = 100"}, @@ -11173,6 +11174,7 @@ {"name":"RuntimeUISetDrawingSectionId","kind":"sub","vis":"public","declare":true,"signature":"Public DeclareWide PtrSafe Sub RuntimeUISetDrawingSectionId Lib \"\" Alias \"#56\" (ByVal Me As WindowElement, ByVal SectionId As Long)","attrs":[{"name":"DLLStackCheck","args":"False"},{"name":"UseGetLastError","args":"False"},{"name":"PreserveSig","args":"True"},{"name":"SimplerByVals","args":"True"}]}, {"name":"RuntimeUISetFlags","kind":"sub","vis":"public","declare":true,"signature":"Public DeclareWide PtrSafe Sub RuntimeUISetFlags Lib \"\" Alias \"#46\" (ByVal Me As WindowElement, ByVal flags As EnumWindowElementFlags)","attrs":[{"name":"DLLStackCheck","args":"False"},{"name":"UseGetLastError","args":"False"},{"name":"PreserveSig","args":"True"},{"name":"SimplerByVals","args":"True"}]}, {"name":"RuntimeUISetMDIMenu","kind":"sub","vis":"public","declare":true,"signature":"Public DeclareWide PtrSafe Sub RuntimeUISetMDIMenu Lib \"\" Alias \"#50\" (ByVal Me As WindowElement, ByVal menu As LongPtr, ByVal menuWindowList As LongPtr)","attrs":[{"name":"DLLStackCheck","args":"False"},{"name":"UseGetLastError","args":"False"},{"name":"PreserveSig","args":"True"},{"name":"SimplerByVals","args":"True"}]}, + {"name":"RuntimeUISetMenu","kind":"sub","vis":"public","declare":true,"signature":"Public DeclareWide PtrSafe Sub RuntimeUISetMenu Lib \"\" Alias \"#74\" (ByVal Me As WindowElement, ByVal hMenu As LongPtr)","attrs":[{"name":"DLLStackCheck","args":"False"},{"name":"UseGetLastError","args":"False"},{"name":"PreserveSig","args":"True"},{"name":"SimplerByVals","args":"True"}]}, {"name":"RuntimeUIStartDrag","kind":"sub","vis":"public","declare":true,"signature":"Public DeclareWide PtrSafe Sub RuntimeUIStartDrag Lib \"\" Alias \"#28\" (ByVal Me As WindowElement)","attrs":[{"name":"DLLStackCheck","args":"False"},{"name":"UseGetLastError","args":"False"},{"name":"PreserveSig","args":"True"},{"name":"SimplerByVals","args":"True"}]}, {"name":"RuntimeUIStopTimers","kind":"sub","vis":"public","declare":true,"signature":"Public DeclareWide PtrSafe Sub RuntimeUIStopTimers Lib \"\" Alias \"#33\" (ByVal Me As WindowElement)","attrs":[{"name":"DLLStackCheck","args":"False"},{"name":"UseGetLastError","args":"False"},{"name":"PreserveSig","args":"True"},{"name":"SimplerByVals","args":"True"}]}, {"name":"RuntimeUIToolTipChanged","kind":"sub","vis":"public","declare":true,"signature":"Public DeclareWide PtrSafe Sub RuntimeUIToolTipChanged Lib \"\" Alias \"#24\" (ByVal Me As WindowElement)","attrs":[{"name":"DLLStackCheck","args":"False"},{"name":"UseGetLastError","args":"False"},{"name":"PreserveSig","args":"True"},{"name":"SimplerByVals","args":"True"}]}, @@ -12357,16 +12359,16 @@ "implements": ["IWindowsControl","Control","ITbCommonContainerPrivate","TbUserControlPrivate","IOleObject","IPersistStreamInit","IPersist","IOleControl","IPersistStorage","IPersistPropertyBag","IProvideClassInfo","IViewObject","IOleInPlaceObject","ISpecifyPropertyPages","IPerPropertyBrowsing","IOleInPlaceActiveObject","IOleInPlaceObjectWindowless","IViewObjectEx","IScheduledCallback","ITwinBasicDesignerExtensions2","IOleContainer","ISupportsNotifySink","IWindowElementEventsCommon","IWindowElementEventsCommonRoot","IWindowElementEventsUC","IUnsupportedInterface"], "attrs": [{"name":"ClassId","args":"\"2F974DBE-DE1D-474F-A7D7-AA52CAD31568\""},{"name":"InterfaceId","args":"\"D43E6EDB-D8C1-4FFE-85D0-459FBA563BBA\""},{"name":"COMCreatable","args":"False"},{"name":"EventsUseDispInterface"},{"name":"ComImport","args":"True"}], "members": [ - {"name":"AccessKeyPress","kind":"event","vis":"public","signature":"Event AccessKeyPress(KeyAscii As Integer)","attrs":[{"name":"Unimplemented"}]}, + {"name":"AccessKeyPress","kind":"event","vis":"public","signature":"Event AccessKeyPress(KeyAscii As Integer)","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB0014"}]}, {"name":"AccessKeys","kind":"field","vis":"public","signature":"Public AccessKeys As String","attrs":[{"name":"Unimplemented"}]}, {"name":"ActivateMessageHook","kind":"sub","vis":"protected","signature":"Protected Sub ActivateMessageHook()"}, {"name":"ActiveControl","kind":"property","vis":"public","signature":"Public Property Get ActiveControl() As Control","returnType":"Control","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"Alignable","kind":"field","vis":"public","signature":"Public Alignable As Boolean","attrs":[{"name":"Unimplemented"}]}, {"name":"Ambient","kind":"property","vis":"public","signature":"Property Get Ambient() As AmbientProperties","returnType":"AmbientProperties","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"AmbientChanged","kind":"event","vis":"public","signature":"Event AmbientChanged(PropertyName As String)"}, + {"name":"AmbientChanged","kind":"event","vis":"public","signature":"Event AmbientChanged(PropertyName As String)","attrs":[{"name":"DispId","args":"&HEB0015"}]}, {"name":"AsyncRead","kind":"sub","vis":"public","signature":"Public Sub AsyncRead(ByVal Target As String, ByVal AsyncType As Long, ByVal PropertyName As Variant, ByVal AsyncReadOptions As Variant)","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, - {"name":"AsyncReadComplete","kind":"event","vis":"public","signature":"Event AsyncReadComplete(AsyncProp As AsyncProperty)","attrs":[{"name":"Unimplemented"}]}, - {"name":"AsyncReadProgress","kind":"event","vis":"public","signature":"Event AsyncReadProgress(AsyncProp As AsyncProperty)","attrs":[{"name":"Unimplemented"}]}, + {"name":"AsyncReadComplete","kind":"event","vis":"public","signature":"Event AsyncReadComplete(AsyncProp As AsyncProperty)","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB0016"}]}, + {"name":"AsyncReadProgress","kind":"event","vis":"public","signature":"Event AsyncReadProgress(AsyncProp As AsyncProperty)","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB0017"}]}, {"name":"BackStyle","kind":"field","vis":"public","signature":"Public BackStyle As BackFillStyleConstants = BackFillStyleConstants.vbBFOpaque"}, {"name":"BeginWindowlessMouseCapture","kind":"sub","vis":"protected","signature":"Protected Sub BeginWindowlessMouseCapture(targetControl As Control)"}, {"name":"BorderStyle","kind":"field","vis":"public","signature":"Public BorderStyle As VBRUN.ControlBorderStyleConstants"}, @@ -12378,14 +12380,14 @@ {"name":"CanPropertyChange","kind":"function","vis":"public","signature":"Public Function CanPropertyChange(ByVal PropertyName As String) As Boolean","returnType":"Boolean","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, {"name":"CancelAsyncRead","kind":"sub","vis":"public","signature":"Public Sub CancelAsyncRead(ByVal Property As Variant)","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, {"name":"Class_Terminate","kind":"sub","vis":"protected","signature":"Protected Sub Class_Terminate()"}, - {"name":"Click","kind":"event","vis":"public","signature":"Event Click()","attrs":[{"name":"DispId","args":"&HEA0004"},{"name":"DispId","args":"&HEA0004"}],"description":""}, + {"name":"Click","kind":"event","vis":"public","signature":"Event Click()","attrs":[{"name":"DispId","args":"&HEA0004"}],"description":""}, {"name":"ClipBehavior","kind":"field","vis":"public","signature":"Public ClipBehavior As VbClipBehavior = VbClipBehavior.vbClipUseRegion"}, {"name":"ContainedControls","kind":"property","vis":"public","signature":"Public Property Get ContainedControls() As ContainedControls","returnType":"ContainedControls","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"ContainerHwnd","kind":"property","vis":"public","signature":"Public Property Get ContainerHwnd() As LongPtr","returnType":"LongPtr","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"ContextSensitiveHelp","kind":"sub","vis":"protected","signature":"Protected Sub ContextSensitiveHelp(ByVal fEnterMode As Long) Implements IOleInPlaceObject.ContextSensitiveHelp, IOleInPlaceActiveObject.ContextSensitiveHelp"}, {"name":"ControlContainer","kind":"field","vis":"public","signature":"Public ReadOnly ControlContainer As Boolean = False","attrs":[{"name":"Serialize","args":"True, \":ControlContainer\""}]}, {"name":"Count","kind":"property","vis":"public","signature":"Public Property Get Count() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, + {"name":"DPIChange","kind":"event","vis":"public","signature":"Event DPIChange(ByVal NewDPI As Long)","attrs":[{"name":"DispId","args":"&HEB001B"}],"description":"This event only fires when the application is per-monitor DPI aware (PROCESS_PER_MONITOR_DPI_AWARE)"}, {"name":"DVASPECT_CONTENT","kind":"const","vis":"protected","signature":"Protected Const DVASPECT_CONTENT As Long = 1"}, {"name":"DataBindingBehavior","kind":"field","vis":"public","signature":"Public DataBindingBehavior As VbDataBindingBehavior","attrs":[{"name":"Unimplemented"}]}, {"name":"DataMemberChanged","kind":"sub","vis":"public","signature":"Public Sub DataMemberChanged(ByVal DataMember As String)","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, @@ -12402,10 +12404,10 @@ {"name":"EditAtDesignTime","kind":"field","vis":"public","signature":"Public EditAtDesignTime As Boolean","attrs":[{"name":"Unimplemented"}]}, {"name":"EnableModeless","kind":"sub","vis":"protected","signature":"Protected Sub EnableModeless(ByVal fEnable As Long) Implements IOleInPlaceActiveObject.EnableModeless"}, {"name":"EndWindowlessMouseCapture","kind":"function","vis":"protected","signature":"Protected Function EndWindowlessMouseCapture(targetControl As Control) As Boolean","returnType":"Boolean"}, - {"name":"EnterFocus","kind":"event","vis":"public","signature":"Event EnterFocus()","description":""}, + {"name":"EnterFocus","kind":"event","vis":"public","signature":"Event EnterFocus()","attrs":[{"name":"DispId","args":"&HEB0010"}],"description":""}, {"name":"EnumObjects","kind":"sub","vis":"protected","signature":"Protected Sub EnumObjects(ByVal grfFlags As Long, ppenum As IEnumUnknown) Implements IOleContainer.EnumObjects"}, {"name":"EventsFrozen","kind":"property","vis":"public","signature":"Public Property Get EventsFrozen() As Boolean","returnType":"Boolean","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"ExitFocus","kind":"event","vis":"public","signature":"Event ExitFocus()","description":""}, + {"name":"ExitFocus","kind":"event","vis":"public","signature":"Event ExitFocus()","attrs":[{"name":"DispId","args":"&HEB0011"}],"description":""}, {"name":"ExperimentalLog","kind":"event","vis":"public","signature":"Event ExperimentalLog(ByVal Text As String)"}, {"name":"Extender","kind":"property","vis":"public","signature":"Public Property Get Extender() As Object","returnType":"Object","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"FixTbFocus","kind":"sub","vis":"private","signature":"Private Sub FixTbFocus()"}, @@ -12414,7 +12416,7 @@ {"name":"Freeze","kind":"sub","vis":"protected","signature":"Protected Sub Freeze(ByVal dwDrawAspect As Long, ByVal lindex As Long, ByVal pvAspect As LongPtr, ByRef pdwFreeze As Long) Implements IViewObjectEx.Freeze"}, {"name":"GetAdvise","kind":"sub","vis":"protected","signature":"Protected Sub GetAdvise(ByRef pAspects As Long, ByRef pAdvf As Long, ByRef ppAdvSink As VBRUN.tbInternal_IAdviseSink) Implements IViewObjectEx.GetAdvise"}, {"name":"GetColorSet","kind":"sub","vis":"protected","signature":"Protected Sub GetColorSet(ByVal dwDrawAspect As Long, ByVal lindex As Long, ByVal pvAspect As LongPtr, ByVal ptd As LongPtr, ByVal hicTargetDev As LongPtr, ByVal ppColorSet As LongPtr) Implements IViewObjectEx.GetColorSet"}, - {"name":"GetDataMember","kind":"event","vis":"public","signature":"Event GetDataMember(DataMember As String, Data As Object)","attrs":[{"name":"Unimplemented"}]}, + {"name":"GetDataMember","kind":"event","vis":"public","signature":"Event GetDataMember(DataMember As String, Data As Object)","attrs":[{"name":"Unimplemented"},{"name":"DispId","args":"&HEB0019"}]}, {"name":"GetDisplayString","kind":"function","vis":"protected","signature":"Protected Function GetDisplayString(ByVal dispID As Long) As String Implements IPerPropertyBrowsing.GetDisplayString","returnType":"String"}, {"name":"GetNaturalExtent","kind":"sub","vis":"protected","signature":"Protected Sub GetNaturalExtent(ByVal dwAspect As Long, ByVal lindex As Long, ByVal ptd As LongPtr, ByVal hicTargetDev As LongPtr, ByVal pExtentInfo As LongPtr, ByRef pSizel As SIZEL) Implements IViewObjectEx.GetNaturalExtent"}, {"name":"GetPredefinedStrings","kind":"sub","vis":"protected","signature":"Protected Sub GetPredefinedStrings(ByVal dispID As Long, ByRef pCaStringsOut As CALPOLESTR, ByRef pCaCookiesOut As CADWORD) Implements IPerPropertyBrowsing.GetPredefinedStrings"}, @@ -12447,11 +12449,11 @@ {"name":"HandlePreLoad","kind":"sub","vis":"protected","signature":"Protected Sub HandlePreLoad() Implements IWindowElementEventsCommonRoot.PreLoadForm"}, {"name":"HandlePreMessage","kind":"sub","vis":"protected","signature":"Protected Sub HandlePreMessage(ByVal hwnd As LongPtr, ByVal Msg As Long, ByVal wParam As LongPtr, ByVal lParam As LongPtr, ByRef MutedReturnValue As Variant, ByRef PostMessageCookie As Long) Implements IWindowElementEventsCommon.PreProcessMessage"}, {"name":"HandleUnconsumedKeyboardMessage","kind":"sub","vis":"protected","signature":"Protected Sub HandleUnconsumedKeyboardMessage(ByRef Msg As MSG, Consumed As Boolean) Implements IWindowElementEventsUC.UnconsumedKeyboardMessage"}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Hide","kind":"event","vis":"public","signature":"Event Hide()","description":""}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Get Height() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Height","kind":"property","vis":"public","signature":"Public Property Let Height(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Hide","kind":"event","vis":"public","signature":"Event Hide()","attrs":[{"name":"DispId","args":"&HEB0013"}],"description":""}, {"name":"HitBehavior","kind":"field","vis":"public","signature":"Public HitBehavior As VbHitTestBehavior = VbHitTestBehavior.vbHitTestUseRegion","attrs":[{"name":"Unimplemented"}]}, - {"name":"HitTest","kind":"event","vis":"public","signature":"Event HitTest(X As Single, Y As Single, HitResult As Integer)"}, + {"name":"HitTest","kind":"event","vis":"public","signature":"Event HitTest(X As Single, Y As Single, HitResult As Integer)","attrs":[{"name":"DispId","args":"&HEB0018"}]}, {"name":"Hyperlink","kind":"property","vis":"public","signature":"Public Property Get Hyperlink() As Hyperlink","returnType":"Hyperlink","accessor":"Get","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, {"name":"IGetExtent","kind":"sub","vis":"protected","signature":"Protected Sub IGetExtent(ByVal dwDrawAspect As Long, ByVal lindex As Long, ByVal ptd As LongPtr, ByRef lpsizel As SIZEL) Implements IViewObjectEx.GetExtent"}, {"name":"IOleControlFreezeEvents","kind":"sub","vis":"protected","signature":"Protected Sub IOleControlFreezeEvents(ByVal bFreeze As Long) Implements IOleControl.FreezeEvents"}, @@ -12511,8 +12513,8 @@ {"name":"InPlaceDeactivate","kind":"sub","vis":"protected","signature":"Protected Sub InPlaceDeactivate() Implements IOleInPlaceObject.InPlaceDeactivate"}, {"name":"InitNew","kind":"sub","vis":"protected","signature":"Protected Sub InitNew() Implements IPersistStreamInit.InitNew, IPersistPropertyBag.InitNew"}, {"name":"InitOleDragDropHelper","kind":"sub","vis":"protected","signature":"Protected Sub InitOleDragDropHelper()"}, - {"name":"InitProperties","kind":"event","vis":"public","signature":"Event InitProperties()","description":""}, - {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()","attrs":[{"name":"DefaultDesignerEvent"}],"description":""}, + {"name":"InitProperties","kind":"event","vis":"public","signature":"Event InitProperties()","attrs":[{"name":"DispId","args":"&HEB000D"}],"description":""}, + {"name":"Initialize","kind":"event","vis":"public","signature":"Event Initialize()","attrs":[{"name":"DefaultDesignerEvent"},{"name":"DispId","args":"&HEB0001"}],"description":""}, {"name":"InitializeMe","kind":"sub","vis":"protected","signature":"Protected Sub InitializeMe()"}, {"name":"InternalEnumerator","kind":"function","vis":"public","signature":"Public Function InternalEnumerator() As stdole.IUnknown","returnType":"stdole.IUnknown","attrs":[{"name":"Enumerator"}]}, {"name":"InternalHWND","kind":"property","vis":"protected","signature":"Protected Property Get InternalHWND() As HWND","returnType":"HWND","accessor":"Get"}, @@ -12546,16 +12548,16 @@ {"name":"MouseDown","kind":"event","vis":"public","signature":"Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0001"}],"description":""}, {"name":"MouseMove","kind":"event","vis":"public","signature":"Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0002"}],"description":""}, {"name":"MouseUp","kind":"event","vis":"public","signature":"Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEA0003"}],"description":""}, - {"name":"MouseWheel","kind":"event","vis":"public","signature":"Event MouseWheel(ByVal Delta As Integer, ByVal Horizontal As Boolean)"}, + {"name":"MouseWheel","kind":"event","vis":"public","signature":"Event MouseWheel(ByVal Delta As Integer, ByVal Horizontal As Boolean)","attrs":[{"name":"DispId","args":"&HEB001A"}]}, {"name":"MuteNextKeyInTranslateAccel","kind":"field","vis":"protected","signature":"Protected MuteNextKeyInTranslateAccel As Boolean"}, {"name":"MutedSetExtentResize","kind":"field","vis":"protected","signature":"Protected MutedSetExtentResize As Boolean"}, - {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)"}, + {"name":"OLECompleteDrag","kind":"event","vis":"public","signature":"Event OLECompleteDrag(Effect As Long)","attrs":[{"name":"DispId","args":"&HEB0007"}]}, {"name":"OLEDrag","kind":"sub","vis":"public","signature":"Public Sub OLEDrag()"}, - {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)"}, - {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)"}, - {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)"}, - {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)"}, - {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)"}, + {"name":"OLEDragDrop","kind":"event","vis":"public","signature":"Event OLEDragDrop(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single)","attrs":[{"name":"DispId","args":"&HEB0008"}]}, + {"name":"OLEDragOver","kind":"event","vis":"public","signature":"Event OLEDragOver(Data As DataObject, Effect As Long, Button As Integer, Shift As Integer, X As Single, Y As Single, State As Integer)","attrs":[{"name":"DispId","args":"&HEB0009"}]}, + {"name":"OLEGiveFeedback","kind":"event","vis":"public","signature":"Event OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean)","attrs":[{"name":"DispId","args":"&HEB000A"}]}, + {"name":"OLESetData","kind":"event","vis":"public","signature":"Event OLESetData(Data As DataObject, DataFormat As Integer)","attrs":[{"name":"DispId","args":"&HEB000B"}]}, + {"name":"OLEStartDrag","kind":"event","vis":"public","signature":"Event OLEStartDrag(Data As DataObject, AllowedEffects As Long)","attrs":[{"name":"DispId","args":"&HEB000C"}]}, {"name":"OnDocWindowActivate","kind":"sub","vis":"protected","signature":"Protected Sub OnDocWindowActivate(ByVal fActivate As Long) Implements IOleInPlaceActiveObject.OnDocWindowActivate"}, {"name":"OnFrameWindowActivate","kind":"sub","vis":"protected","signature":"Protected Sub OnFrameWindowActivate(ByVal fActivate As Long) Implements IOleInPlaceActiveObject.OnFrameWindowActivate"}, {"name":"OnGetBorderSize","kind":"function","vis":"public","signature":"Function OnGetBorderSize() As Long Overrides GraphicsBase.OnGetBorderSize","returnType":"Long"}, @@ -12567,7 +12569,7 @@ {"name":"OnMessageHookLostFocusWithin","kind":"function","vis":"private","signature":"Private Function OnMessageHookLostFocusWithin(msg As HookMSG) As LongPtr","returnType":"LongPtr"}, {"name":"PW_CLIENTONLY","kind":"const","vis":"protected","signature":"Protected Const PW_CLIENTONLY As Long = &H00000001"}, {"name":"PW_RENDERFULLCONTENT","kind":"const","vis":"protected","signature":"Protected Const PW_RENDERFULLCONTENT As Long = &H00000002"}, - {"name":"Paint","kind":"event","vis":"public","signature":"Event Paint()","description":""}, + {"name":"Paint","kind":"event","vis":"public","signature":"Event Paint()","attrs":[{"name":"DispId","args":"&HEB0004"}],"description":""}, {"name":"Palette","kind":"field","vis":"public","signature":"Public Palette As StdPicture","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"False"}]}, {"name":"PaletteINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly PaletteINIT() As Byte","attrs":[{"name":"Unimplemented"},{"name":"Serialize","args":"True, \"Palette\""},{"name":"CustomDesigner","args":"\"designer_PictureBytes\""}]}, {"name":"PaletteMode","kind":"field","vis":"public","signature":"Public PaletteMode As VBRUN.PaletteModeConstants = VBRUN.PaletteModeConstants.vbPaletteModeContainer","attrs":[{"name":"Unimplemented"}]}, @@ -12577,11 +12579,11 @@ {"name":"PictureINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly PictureINIT() As Byte","attrs":[{"name":"Serialize","args":"True, \"Picture\""},{"name":"CustomDesigner","args":"\"designer_PictureBytes\""}]}, {"name":"Point","kind":"function","vis":"public","signature":"Public Function Point(ByVal X As Single, ByVal Y As Single) As Long","returnType":"Long","attrs":[{"name":"Unimplemented"}]}, {"name":"PopUpMenu","kind":"sub","vis":"public","signature":"Public Sub PopUpMenu(ByVal Menu As Object, Optional ByVal Flags As Variant, Optional ByVal X As Variant, Optional ByVal Y As Variant, Optional ByVal DefaultMenu As Variant)","attrs":[{"name":"Unimplemented"}]}, - {"name":"PreKeyDown","kind":"event","vis":"public","signature":"Event PreKeyDown(KeyCode As Integer, Shift As Integer)","description":"Fires for all child/descendant controls, and the root UC control. PreKeyEvents property must be True for this event to fire. Not available on windowless controls. Can also use PreKeyWParam/PreKeyLParam properties inside these events."}, + {"name":"PreKeyDown","kind":"event","vis":"public","signature":"Event PreKeyDown(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEB0002"}],"description":"Fires for all child/descendant controls, and the root UC control. PreKeyEvents property must be True for this event to fire. Not available on windowless controls. Can also use PreKeyWParam/PreKeyLParam properties inside these events."}, {"name":"PreKeyEvents","kind":"field","vis":"public","signature":"Public ReadOnly PreKeyEvents As Boolean","attrs":[{"name":"Serialize","args":"True, \":PreKeyEvents\""}],"description":"Determines whether PreviewKeyDown/Up messages are active. Not available on windowless controls"}, {"name":"PreKeyLParam","kind":"field","vis":"public","signature":"Public PreKeyLParam As LongPtr","attrs":[{"name":"Serialize","args":"False"}],"description":"Populated for the PreKeyDown/PreKeyUp events"}, {"name":"PreKeyTargetHwnd","kind":"field","vis":"public","signature":"Public PreKeyTargetHwnd As LongPtr","attrs":[{"name":"Serialize","args":"False"}],"description":"Populated for the PreKeyDown/PreKeyUp events"}, - {"name":"PreKeyUp","kind":"event","vis":"public","signature":"Event PreKeyUp(KeyCode As Integer, Shift As Integer)","description":"Fires for all child/descendant controls, and the root UC control. PreKeyEvents property must be True for this event to fire. Not available on windowless controls. Can also use PreKeyWParam/PreKeyLParam properties inside these events."}, + {"name":"PreKeyUp","kind":"event","vis":"public","signature":"Event PreKeyUp(KeyCode As Integer, Shift As Integer)","attrs":[{"name":"DispId","args":"&HEB0003"}],"description":"Fires for all child/descendant controls, and the root UC control. PreKeyEvents property must be True for this event to fire. Not available on windowless controls. Can also use PreKeyWParam/PreKeyLParam properties inside these events."}, {"name":"PreKeyWParam","kind":"field","vis":"public","signature":"Public PreKeyWParam As LongPtr","attrs":[{"name":"Serialize","args":"False"}],"description":"Populated for the PreKeyDown/PreKeyUp events"}, {"name":"PropertyChanged","kind":"sub","vis":"public","signature":"Public Sub PropertyChanged(Optional ByVal PropertyName As Variant)"}, {"name":"PropertyPages","kind":"field","vis":"public","signature":"Public PropertyPages() As String","attrs":[{"name":"CustomDesigner","args":"\"designer_PropertyPages\""}]}, @@ -12592,11 +12594,11 @@ {"name":"RaiseShowEvent","kind":"sub","vis":"protected","signature":"Protected Sub RaiseShowEvent(ByVal wParam As LongPtr, ByVal lParam As LongPtr) Implements IWindowElementEventsUC.DeferredUcMessage"}, {"name":"RawArray","kind":"field","vis":"private","signature":"Private RawArray() As VerbInfo"}, {"name":"ReactivateAndUndo","kind":"sub","vis":"protected","signature":"Protected Sub ReactivateAndUndo() Implements IOleInPlaceObject.ReactivateAndUndo"}, - {"name":"ReadProperties","kind":"event","vis":"public","signature":"Event ReadProperties(ByRef PropBag As PropertyBag)","description":""}, + {"name":"ReadProperties","kind":"event","vis":"public","signature":"Event ReadProperties(ByRef PropBag As PropertyBag)","attrs":[{"name":"DispId","args":"&HEB000E"}],"description":""}, {"name":"ReadPropertiesFromPropBag","kind":"sub","vis":"protected","signature":"Protected Sub ReadPropertiesFromPropBag(propBag As PropertyBag)"}, {"name":"RebuildMenus","kind":"sub","vis":"protected","signature":"Protected Sub RebuildMenus(ByVal IsRuntimeChange As Boolean) Implements ITbCommonContainerPrivate.RebuildMenus"}, {"name":"Refresh","kind":"sub","vis":"public","signature":"Sub Refresh()"}, - {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()","description":""}, + {"name":"Resize","kind":"event","vis":"public","signature":"Event Resize()","attrs":[{"name":"DispId","args":"&HEB0005"}],"description":""}, {"name":"ResizeBorder","kind":"sub","vis":"protected","signature":"Protected Sub ResizeBorder(ByRef prcBorder As tbRECT, ByVal pUIWindow As IOleInPlaceUIWindow, ByVal fFrameWindow As Long) Implements IOleInPlaceActiveObject.ResizeBorder"}, {"name":"RightToLeft","kind":"field","vis":"public","signature":"Public RightToLeft As Boolean","attrs":[{"name":"Unimplemented"}]}, {"name":"SELF_DEFFERED_CLIP","kind":"const","vis":"protected","signature":"Protected Const SELF_DEFFERED_CLIP As Long = 2"}, @@ -12609,10 +12611,10 @@ {"name":"SetFocus","kind":"sub","vis":"public","signature":"Public Sub SetFocus()"}, {"name":"SetObjectRects","kind":"sub","vis":"protected","signature":"Protected Sub SetObjectRects(lprcPosRect As tbRECT, lprcClipRect As tbRECT) Implements IOleInPlaceObject.SetObjectRects"}, {"name":"SetPendingPopupMenu","kind":"sub","vis":"protected","signature":"Protected Sub SetPendingPopupMenu(Menu As Menu) Implements ITbCommonContainerPrivate.SetPendingPopupMenu"}, - {"name":"Show","kind":"event","vis":"public","signature":"Event Show()","description":""}, + {"name":"Show","kind":"event","vis":"public","signature":"Event Show()","attrs":[{"name":"DispId","args":"&HEB0012"}],"description":""}, {"name":"Size","kind":"sub","vis":"public","signature":"Public Sub Size(ByVal Width As Single, ByVal Height As Single)"}, {"name":"SyncPictureINIT","kind":"sub","vis":"protected","signature":"Protected Sub SyncPictureINIT()"}, - {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()","description":""}, + {"name":"Terminate","kind":"event","vis":"public","signature":"Event Terminate()","attrs":[{"name":"DispId","args":"&HEB0006"}],"description":""}, {"name":"ToolboxBitmapINIT","kind":"field","vis":"protected","signature":"Protected ReadOnly ToolboxBitmapINIT() As Byte","attrs":[{"name":"Serialize","args":"True, \"ToolboxBitmap\""},{"name":"CustomDesigner","args":"\"designer_PictureBytes\""}]}, {"name":"TranslateAccelerator","kind":"sub","vis":"protected","signature":"Protected Sub TranslateAccelerator(ByRef lpmsg As MSG) Implements IOleInPlaceActiveObject.TranslateAccelerator"}, {"name":"TranslateContainerXToHimetric","kind":"function","vis":"protected","signature":"Protected Function TranslateContainerXToHimetric(ByVal containerValue As Single) As Long Implements TbUserControlPrivate.TranslateContainerXToHimetric","returnType":"Long"}, @@ -12622,17 +12624,17 @@ {"name":"Unfreeze","kind":"sub","vis":"protected","signature":"Protected Sub Unfreeze(ByVal dwFreeze As Long) Implements IViewObjectEx.Unfreeze"}, {"name":"UnsupportedInterfaceRequested","kind":"sub","vis":"protected","signature":"Protected Sub UnsupportedInterfaceRequested(ByRef iid As GUID2, ByRef out As stdole.IUnknown) Implements IUnsupportedInterface.UnsupportedInterfaceRequested"}, {"name":"ValidateControls","kind":"sub","vis":"public","signature":"Public Sub ValidateControls()","attrs":[{"name":"Unimplemented"}]}, - {"name":"VerbInvoked","kind":"event","vis":"public","signature":"Event VerbInvoked(ByVal Verb As String)","description":"Fires for any Verbs triggered in the host application"}, + {"name":"VerbInvoked","kind":"event","vis":"public","signature":"Event VerbInvoked(ByVal Verb As String)","attrs":[{"name":"DispId","args":"&HEB001C"}],"description":"Fires for any Verbs triggered in the host application"}, {"name":"Verbs","kind":"field","vis":"public","signature":"Public Verbs() As String"}, {"name":"WM_TB_INTERNAL_SELF_DEFERRED_MESSAGE","kind":"const","vis":"protected","signature":"Protected Const WM_TB_INTERNAL_SELF_DEFERRED_MESSAGE As Long = (WM_USER + &H300 + 14)"}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Get Width() As Double","returnType":"Double","accessor":"Get","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, + {"name":"Width","kind":"property","vis":"public","signature":"Public Property Let Width(ByVal Value As Double)","accessor":"Let","attrs":[{"name":"Serialize","args":"False"},{"name":"SpecialCompilerBinding","args":"253"}]}, {"name":"Windowless","kind":"field","vis":"public","signature":"Public Windowless As Boolean"}, {"name":"WindowlessRectBottom","kind":"property","vis":"protected","signature":"Protected Property Get WindowlessRectBottom() As Long Implements TbUserControlPrivate.WindowlessRectBottom","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"WindowlessRectLeft","kind":"property","vis":"protected","signature":"Protected Property Get WindowlessRectLeft() As Long Implements TbUserControlPrivate.WindowlessRectLeft","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"WindowlessRectRight","kind":"property","vis":"protected","signature":"Protected Property Get WindowlessRectRight() As Long Implements TbUserControlPrivate.WindowlessRectRight","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, {"name":"WindowlessRectTop","kind":"property","vis":"protected","signature":"Protected Property Get WindowlessRectTop() As Long Implements TbUserControlPrivate.WindowlessRectTop","returnType":"Long","accessor":"Get","attrs":[{"name":"Serialize","args":"False"}]}, - {"name":"WriteProperties","kind":"event","vis":"public","signature":"Event WriteProperties(ByRef PropBag As PropertyBag)","description":""}, + {"name":"WriteProperties","kind":"event","vis":"public","signature":"Event WriteProperties(ByRef PropBag As PropertyBag)","attrs":[{"name":"DispId","args":"&HEB000F"}],"description":""}, {"name":"XFORMCOORDS_CONTAINERTOHIMETRIC","kind":"const","vis":"protected","signature":"Protected Const XFORMCOORDS_CONTAINERTOHIMETRIC As Long = &H8"}, {"name":"XFORMCOORDS_HIMETRICTOCONTAINER","kind":"const","vis":"protected","signature":"Protected Const XFORMCOORDS_HIMETRICTOCONTAINER As Long = &H4"}, {"name":"XFORMCOORDS_POSITION","kind":"const","vis":"protected","signature":"Protected Const XFORMCOORDS_POSITION As Long = &H1"}, diff --git a/indexer/snapshots/default/VBA/api.json b/indexer/snapshots/default/VBA/api.json index dff2c424e..603912dad 100644 --- a/indexer/snapshots/default/VBA/api.json +++ b/indexer/snapshots/default/VBA/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "VBA", "project": "VBA", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "Collection", @@ -778,16 +778,6 @@ "attrs": [{"name":"CoClassCustomConstructor","args":"\"_HiddenModule.RuntimeCreateExpressionService\""}], "members": [] }, - { - "name": "TestGeneric", - "kind": "class", - "vis": "public", - "file": "_HiddenModule.twin", - "signature": "Public Class TestGeneric(Of T)", - "members": [ - {"name":"Something","kind":"sub","vis":"public","signature":"Public Sub Something()"} - ] - }, { "name": "TextEncodingConstants", "kind": "module", @@ -890,7 +880,7 @@ {"name":"LastHresult","kind":"property","vis":"public","signature":"Property Get LastHresult() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"DispId","args":"&H6002000E"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.GetErrLastHresult\""}],"description":"Retrieves the last HRESULT return value from object method calls .\n### Syntax\n`Dim hresult As Long `\n`hresult = Err.LastHresult `\n### Properties\nThis property is read-only .\n### Return Value\nThe return value is a `Long` representing the raw HRESULT value from the most recent object method call. Failure HRESULTs are negative values, whereas non-failure HRESULTs (indicating success or status) are positive .\n### Remarks\nIn twinBASIC, `LastHresult` allows for the examination of return values from COM object method calls that do not necessarily trigger an error in the runtime. Negative HRESULT values correspond to failures and are the ones that trigger an error within twinBASIC, which can then be captured using the `Err` object. However, positive HRESULT values, which indicate success or non-error statuses, do not trigger errors and thus do not disrupt the normal flow of the program .\nTo handle both success and failure codes effectively, `LastHresult` should be checked immediately after the object method call, as any subsequent calls may change its value .\n### Example\n```vb\n' Assume we have a COM object with a method that returns an HRESULT\n' Dim comObject As SomeComObject\nSub CheckHresult()\n Dim result As Long\n ' Call a method that returns an HRESULT value\n comObject.SomeMethod\n ' Check the HRESULT returned from the method call\n result = Err.LastHresult\n If result > 0 Then\n ' Handle the non-failure HRESULT if necessary\n End If\nEnd Sub\n```\nIn this example, the `Err.LastHresult` property is used after a call to a COM object method to check if the method succeeded without triggering a twinBASIC runtime error. The handling of non-failure HRESULTs is demonstrated."}, {"name":"Number","kind":"property","vis":"public","signature":"Property Get Number() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"DispId","args":"0"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.GetErrNumber\""}],"description":"Returns or sets a numeric value specifying an error. Number is the Err object's default property .\n### Syntax\n`errorNumber = Err.Number `\n`Err.Number = [errorNumber] `\n### Properties\n`Number` (Long): Numeric value specifying an error. Read/write .\n### Return Value\nThe `Number` property returns a `Long` representing the error number. If no error has occurred, it returns zero (`0`) .\n### Example\n```vb\nOn Error Resume Next ' Temporarily ignore errors .\n' Cause an error .\nErr.Raise 6 ' Raise an Overflow error .\nMsgBox \"The error number is: \" & Err.Number ' Displays \"6\" .\nErr.Clear ' Clear the error .\nMsgBox \"The error number is: \" & Err.Number ' Displays \"0\\\" .\n```\nThe `Err.Number` property is automatically set to the corresponding error number when an error is raised with `Err.Raise`. If you're creating custom errors, you can also set this property to your own error number. It's a common practice to check the `Err.Number` property within an error-handling routine to determine the cause of the error and respond accordingly."}, {"name":"Number","kind":"property","vis":"public","signature":"Property Let Number(ByVal Value As Long)","accessor":"Let","attrs":[{"name":"DispId","args":"0"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.LetErrNumber\""}],"description":"Returns or sets a numeric value specifying an error. Number is the Err object's default property .\n### Syntax\n`errorNumber = Err.Number `\n`Err.Number = [errorNumber] `\n### Properties\n`Number` (Long): Numeric value specifying an error. Read/write .\n### Return Value\nThe `Number` property returns a `Long` representing the error number. If no error has occurred, it returns zero (`0`) .\n### Example\n```vb\nOn Error Resume Next ' Temporarily ignore errors .\n' Cause an error .\nErr.Raise 6 ' Raise an Overflow error .\nMsgBox \"The error number is: \" & Err.Number ' Displays \"6\" .\nErr.Clear ' Clear the error .\nMsgBox \"The error number is: \" & Err.Number ' Displays \"0\\\" .\n```\nThe `Err.Number` property is automatically set to the corresponding error number when an error is raised with `Err.Raise`. If you're creating custom errors, you can also set this property to your own error number. It's a common practice to check the `Err.Number` property within an error-handling routine to determine the cause of the error and respond accordingly."}, - {"name":"Raise","kind":"sub","vis":"public","signature":"Sub Raise(ByVal Number As Long, Optional ByVal Source As String, Optional ByVal Description As String, Optional ByVal HelpFile As String, Optional ByVal HelpFileContext As Long)","attrs":[{"name":"DispId","args":"&H6002000A"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.ErrRaise\""}],"description":"Generates a runtime error that can be handled with error handling code (such as an `On Error` statement) .\n### Syntax\n`Err.Raise(Number, [Source], [Description], [HelpFile], [HelpContext]) `\n### Parameters\n`Number` (Long): Required. The error number. Can be a user-defined number (use `vbObjectError + someNumber`) or a standard twinBASIC error number .\n`Source` (String): Optional. The name of the source of the error. Generally, this is the name of the application or object that generated the error .\n`Description` (String): Optional. A string expression describing the error .\n`HelpFile` (String): Optional. The fully qualified path to the Help file in which help on this error can be found. If omitted, the `Err` object's `HelpFile` property is cleared .\n`HelpContext` (Long): Optional. The context ID within the Help file that provides help for this error. If omitted, the `Err` object's `HelpContext` property is cleared .\n### Return Value\nThis method has no return value .\n### Remarks\nWhen `Err.Raise` is called with valid arguments, the current program execution is halted and the `Err` object's properties are set. If there's an enabled error handler (via an `On Error` statement), execution passes to that error handler .\n### Example\n```vb\n' Custom error information\nSub CauseError()\n Err.Raise vbObjectError + 9999, \"CauseError\", \"This is a custom error message\", \"C:\\HelpFiles\\MyApplicationHelp.chm\", 205\nEnd Sub\n```\nIn this example, a custom error is raised with `Err.Raise`, using a user-defined error number and providing custom error information including the source, description, and Help context. Remember to catch the error with proper error handling in your application to prevent unwanted program termination."}, + {"name":"Raise","kind":"sub","vis":"public","signature":"Sub Raise(ByVal Number As Long, Optional ByVal Source As String, Optional ByVal Description As String, Optional ByVal HelpFile As String, Optional ByVal HelpContext As Long)","attrs":[{"name":"DispId","args":"&H6002000A"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.ErrRaise\""}],"description":"Generates a runtime error that can be handled with error handling code (such as an `On Error` statement) .\n### Syntax\n`Err.Raise(Number, [Source], [Description], [HelpFile], [HelpContext]) `\n### Parameters\n`Number` (Long): Required. The error number. Can be a user-defined number (use `vbObjectError + someNumber`) or a standard twinBASIC error number .\n`Source` (String): Optional. The name of the source of the error. Generally, this is the name of the application or object that generated the error .\n`Description` (String): Optional. A string expression describing the error .\n`HelpFile` (String): Optional. The fully qualified path to the Help file in which help on this error can be found. If omitted, the `Err` object's `HelpFile` property is cleared .\n`HelpContext` (Long): Optional. The context ID within the Help file that provides help for this error. If omitted, the `Err` object's `HelpContext` property is cleared .\n### Return Value\nThis method has no return value .\n### Remarks\nWhen `Err.Raise` is called with valid arguments, the current program execution is halted and the `Err` object's properties are set. If there's an enabled error handler (via an `On Error` statement), execution passes to that error handler .\n### Example\n```vb\n' Custom error information\nSub CauseError()\n Err.Raise vbObjectError + 9999, \"CauseError\", \"This is a custom error message\", \"C:\\HelpFiles\\MyApplicationHelp.chm\", 205\nEnd Sub\n```\nIn this example, a custom error is raised with `Err.Raise`, using a user-defined error number and providing custom error information including the source, description, and Help context. Remember to catch the error with proper error handling in your application to prevent unwanted program termination."}, {"name":"ReturnHResult","kind":"property","vis":"public","signature":"Property Get ReturnHResult() As Long","returnType":"Long","accessor":"Get","attrs":[{"name":"DispId","args":"&H60020010"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.GetErrReturnHResult\""}],"description":"Allows a developer to set their own HRESULT when returning from an object method .\n### Syntax\n`Err.ReturnHResult = [value] `\n### Properties\nThis property is write-only .\n### Parameters\n`[value] `\nA `Long` representing the raw HRESULT value to be returned. Positive values indicate a non-failure result .\n### Remarks\nIn twinBASIC, `ReturnHResult` provides a mechanism to set an HRESULT explicitly when exiting an object method. This is particularly useful for returning non-failure (positive) HRESULTs, which indicate success or status information not conveyed by standard success codes. While `Err.Raise` is typically used to generate failure HRESULTs (negative values), `ReturnHResult` allows for setting specific non-failure results .\nA calling procedure can use `Err.LastHresult` to read the positive HRESULT that was returned from the method. It is important to set the `ReturnHResult` only when necessary, typically just before the method exit point, to ensure that the intended HRESULT is the one that's actually returned .\n### Example\n```vb\n' This example demonstrates setting a non-failure HRESULT upon successfully\n' completing a method within a COM object .\nFunction MyMethod() As Variant\n ' Perform method actions here.. .\n ' .. .\n ' Indicate success with a specific non-failure HRESULT\n Err.ReturnHResult = 123 ' Set a positive HRESULT of 123 indicating a specific success condition\nEnd Function\n```\nIn the example above, `Err.ReturnHResult` is set to 123, a positive HRESULT value chosen to indicate a specific success condition. After the method completes, the caller can check `Err.LastHresult` to read this specific HRESULT value .\n### See Also\n`Err.Raise`, `Err.LastHresult`, `Err.Number`, `Err.Description`"}, {"name":"ReturnHResult","kind":"property","vis":"public","signature":"Property Let ReturnHResult(ByVal Value As Long)","accessor":"Let","attrs":[{"name":"DispId","args":"&H60020010"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.LetErrReturnHResult\""}],"description":"Allows a developer to set their own HRESULT when returning from an object method .\n### Syntax\n`Err.ReturnHResult = [value] `\n### Properties\nThis property is write-only .\n### Parameters\n`[value] `\nA `Long` representing the raw HRESULT value to be returned. Positive values indicate a non-failure result .\n### Remarks\nIn twinBASIC, `ReturnHResult` provides a mechanism to set an HRESULT explicitly when exiting an object method. This is particularly useful for returning non-failure (positive) HRESULTs, which indicate success or status information not conveyed by standard success codes. While `Err.Raise` is typically used to generate failure HRESULTs (negative values), `ReturnHResult` allows for setting specific non-failure results .\nA calling procedure can use `Err.LastHresult` to read the positive HRESULT that was returned from the method. It is important to set the `ReturnHResult` only when necessary, typically just before the method exit point, to ensure that the intended HRESULT is the one that's actually returned .\n### Example\n```vb\n' This example demonstrates setting a non-failure HRESULT upon successfully\n' completing a method within a COM object .\nFunction MyMethod() As Variant\n ' Perform method actions here.. .\n ' .. .\n ' Indicate success with a specific non-failure HRESULT\n Err.ReturnHResult = 123 ' Set a positive HRESULT of 123 indicating a specific success condition\nEnd Function\n```\nIn the example above, `Err.ReturnHResult` is set to 123, a positive HRESULT value chosen to indicate a specific success condition. After the method completes, the caller can check `Err.LastHresult` to read this specific HRESULT value .\n### See Also\n`Err.Raise`, `Err.LastHresult`, `Err.Number`, `Err.Description`"}, {"name":"Source","kind":"property","vis":"public","signature":"Property Get Source() As String","returnType":"String","accessor":"Get","attrs":[{"name":"DispId","args":"&H60020002"},{"name":"RedirectToStaticImplementation","args":"\"_HiddenModule.GetErrSource\""}],"description":"Returns or sets a string expression representing the object or application that generated the error. `Source` property is especially useful for debugging purposes .\n### Syntax\n`errorSource = Err.Source `\n`Err.Source = [errorSource] `\n### Properties\n`Source` (String): The name of the object or application that generated the error. Read/write .\n### Return Value\nThe `Source` property returns a `String` representing the name of the source of the error .\n### Example\n```vb\nOn Error Resume Next ' Enable error-handling routine .\n' Cause an error .\nErr.Raise vbObjectError + 9999, \"MyApplication\", \"Custom error occurred\"\nMsgBox \"The error source is: \" & Err.Source ' Displays \"MyApplication\" .\nErr.Clear ' Clear the error .\n```\nThe `Err.Source` property provides information about the origin of the error. When an error is raised via `Err.Raise`, the `Source` can be set to a string that identifies where the error originated. This is typically the name of the application or the object that caused the error. After an `Err.Clear` is issued, the `Source` property is set to an empty string until another error is raised."}, diff --git a/indexer/snapshots/default/VBRUN/api.json b/indexer/snapshots/default/VBRUN/api.json index de352a0c7..0f8af7e2a 100644 --- a/indexer/snapshots/default/VBRUN/api.json +++ b/indexer/snapshots/default/VBRUN/api.json @@ -2,7 +2,7 @@ "format": 3, "package": "VBRUN", "project": "VBRUN", - "version": "beta-x-1010", + "version": "beta-x-1042", "types": [ { "name": "AmbientProperties", diff --git a/lib/markdown-files.mjs b/lib/markdown-files.mjs index 9db379997..46e6ebee8 100644 --- a/lib/markdown-files.mjs +++ b/lib/markdown-files.mjs @@ -13,7 +13,7 @@ // skips the same ones when it looks for sources newer than a build; a list of // its own would miss folders sitting beside the ones it named. -import { promises as fs } from "node:fs"; +import { promises as fs, readdirSync } from "node:fs"; import path from "node:path"; /** @@ -41,3 +41,21 @@ export async function markdownFiles(root) { await walk(root, ""); return rels.sort(); } + +/** + * markdownFiles, for a caller that cannot wait: the screenshot review tool's writes under + * docs/ are synchronous, so that two never interleave (shot-sizes.mjs). + */ +export function markdownFilesSync(root) { + const rels = []; + const walk = (dir, rel) => { + for (const e of readdirSync(dir, { withFileTypes: true })) { + if (!rel && isOutputTree(e.name)) continue; + const entryRel = rel ? `${rel}/${e.name}` : e.name; + if (e.isDirectory()) walk(path.join(dir, e.name), entryRel); + else if (e.isFile() && e.name.endsWith(".md")) rels.push(entryRel); + } + }; + walk(root, ""); + return rels.sort(); +} diff --git a/lib/sse.mjs b/lib/sse.mjs index fe436988d..1d6de5154 100644 --- a/lib/sse.mjs +++ b/lib/sse.mjs @@ -7,9 +7,11 @@ * request with the event stream and keeps it until the page goes; `send` writes one event * to every page holding the channel, `data` a string (one line) or any value, sent as its * JSON; `close` ends every stream. A comment goes to each page every 30 seconds, so that - * nothing between the two ends it as idle. + * nothing between the two ends it as idle. With `ping` (milliseconds), a `ping` event goes to each + * page that often as well, which a page can listen for to tell a stream that still runs from one + * that has stopped (the screenshot review's pages say so). */ -export function createSseChannel() { +export function createSseChannel({ ping = 0 } = {}) { const clients = new Set(); const write = (res, text) => { try { @@ -25,8 +27,10 @@ export function createSseChannel() { res.write(": connected\n\n"); clients.add(res); const keepalive = setInterval(() => write(res, ": keepalive\n\n"), 30000); + const beat = ping ? setInterval(() => write(res, "event: ping\ndata: {}\n\n"), ping) : null; req.on("close", () => { clearInterval(keepalive); + clearInterval(beat); clients.delete(res); }); }, diff --git a/scripts/check_package_tests.mjs b/scripts/check_package_tests.mjs index eb6f2f6c4..63973ffdb 100644 --- a/scripts/check_package_tests.mjs +++ b/scripts/check_package_tests.mjs @@ -28,7 +28,8 @@ // * RunAll.twin is what scripts/package_tests.mjs would write; // * the project does not carry its own copy of Expect.twin. // A section listed in PENDING has no test project yet and is not checked; one listed there that -// has one, or one not listed that has none, fails the gate, so the list only shrinks. +// has one, or one not listed that has none, fails the gate. A package joins it only when the newest +// version of it does not compile on the newest BETA (WIP.md), and its compile/ folder then says so. // // Probes of the gate's own reading (markers, RunAll, expect.json, verdicts) run first, on inputs // built here, so the gate means the same against a tree with no test project at all. @@ -95,10 +96,10 @@ if ( ) printHelpAndExit(USAGE); -// The contributed sections that have no test project yet. Each package's project removes it -// from here; the gate fails on a name here with a project, and on a section neither here nor -// with one. -const PENDING = new Set(["ArrayListLib", "WinReg"]); +// The contributed sections that have no test project, because the package does not compile on the +// newest BETA (Generics since BETA 1042). A project of a version that compiles removes it from +// here; the gate fails on a name here with a project, and on a section neither here nor with one. +const PENDING = new Set(["ArrayListLib", "WinReg", "Generics"]); const DOCS = path.join(REPO_ROOT, "docs"); const SECTIONS = path.join(DOCS, "Reference", "Contributed"); diff --git a/scripts/check_shot_sizes.mjs b/scripts/check_shot_sizes.mjs new file mode 100644 index 000000000..0c1cdbde8 --- /dev/null +++ b/scripts/check_shot_sizes.mjs @@ -0,0 +1,77 @@ +// The gate on rule 4 of WIP.ShotReview.md (One way to take pictures): every page that shows a +// screenshot of the manifest (test/shots/manifest.json) declares the size its pixels are shown +// at, `{:width="..." height="..."}`, its pixels divided by its scale (2, or the manifest's `scale` +// for a program's window), rounded (scripts/lib/shot-sizes.mjs). +// +// The tools set those sizes whenever they write a picture: shoot_docs.mjs, its --cleanup and the +// screenshot review tool. A size typed by hand, a picture copied in, or a page that starts showing +// a picture later are what this gate is for. A size that is wrong makes the picture blurred or +// stretched, and nothing else notices: the build checks the link, not the numbers. +// +// It reads the pages under docs/ and the pictures' headers, not the built site, so it needs no +// build; it is in check.bat because it means nothing without the documentation. + +import path from "node:path"; +import { exitOnCrash, parseCli, printHelpAndExit, withUsageError } from "../lib/cli.mjs"; +import { DOCS_DIR, REPO_ROOT } from "../lib/repo-paths.mjs"; +import { MANIFEST, openManifest } from "./lib/shot-manifest.mjs"; +import { isDark, sizeMismatches } from "./lib/shot-sizes.mjs"; + +exitOnCrash(); + +const USAGE = `usage: node scripts/check_shot_sizes.mjs [--docs ] [--manifest ] [-h, --help] + +Checks that every page showing a screenshot of the manifest declares the size +its pixels are shown at: {:width="..." height="..."}, its pixels divided by its +scale (2, or the manifest's scale), rounded. + + --docs the pages and pictures (default: docs) + --manifest the screenshot manifest (default: test/shots/manifest.json) + -h, --help print this text and exit + +Exit codes: + 0 every reference declares its picture's size + 1 at least one reference declares another size + 2 the gate could not run: a refused command line, a manifest that cannot be + read, or a crash`; + +const cli = withUsageError(() => + parseCli(process.argv.slice(2), { + options: { + docs: { type: "string" }, + manifest: { type: "string" }, + help: { type: "boolean", short: "h" }, + }, + stopAt: ["help"], + }), +); +if (cli.values.help) printHelpAndExit(USAGE); + +const docsRoot = path.resolve(cli.values.docs ?? DOCS_DIR); +let manifest; +try { + manifest = openManifest(cli.values.manifest ? path.resolve(cli.values.manifest) : MANIFEST); +} catch (e) { + console.error(`check_shot_sizes: ${e.message}`); + process.exit(2); +} +const pictures = Object.keys(JSON.parse(manifest.text()).pictures).filter(isDark); +const wrong = sizeMismatches(docsRoot, pictures, manifest.entry); +const rel = (p) => path.relative(REPO_ROOT, path.join(docsRoot, p)).replace(/\\/g, "/"); +for (const w of wrong) { + const declared = + w.declared.width === null || w.declared.height === null ? "no size" : `${w.declared.width}x${w.declared.height}`; + const scale = manifest.entry(w.out)?.scale; + console.error( + `${rel(w.page)}:${w.line}: ${w.out} declares ${declared}; its pixels are shown at {:width="${w.shown.width}" height="${w.shown.height}"}${scale ? ` (scale ${scale})` : ""}`, + ); +} +if (wrong.length) { + console.error( + `check_shot_sizes: ${wrong.length} reference${wrong.length === 1 ? "" : "s"} to a screenshot declare${wrong.length === 1 ? "s" : ""} another size than its pixels. The screenshot tools set these sizes when they write a picture; set them as the lines above say.`, + ); + process.exit(1); +} +console.log( + `check_shot_sizes: ${pictures.length} screenshots of the manifest, every reference to them sized from its pixels`, +); diff --git a/scripts/check_tb_registry.mjs b/scripts/check_tb_registry.mjs index 8ea2d7baa..2e1e0b0b4 100644 --- a/scripts/check_tb_registry.mjs +++ b/scripts/check_tb_registry.mjs @@ -40,7 +40,8 @@ // alone when there is none, against one that did not, which is put back; // * two runs at once: the one that ends first puts nothing back, the last // one removes both runs' entries, which an IDE wrote after the first -// ended; a run that died is swept by the next one to start; +// ended; a run that died is swept by the next one to start, and one whose +// record names a folder the sweep refuses is dropped, not thrown on; // * the guards: a key near the root and a sweep outside the temp folder // refused, and an error raised inside PowerShell arriving as a sentence; // * the ownership rule: a dead owner does not block tidying, a live one makes @@ -48,7 +49,7 @@ import { execFileSync } from "node:child_process"; import assert from "node:assert/strict"; -import { readdirSync } from "node:fs"; +import { existsSync, readdirSync, writeFileSync } from "node:fs"; import { tmpdir } from "node:os"; import path from "node:path"; import { fileURLToPath, pathToFileURL } from "node:url"; @@ -351,6 +352,14 @@ try { const nextRun = R.startTidy({ root: ROOT, keys: [ASSOC] }); assert.deepEqual(runsLeft(), [], "a dead run's entries are deleted by the next run"); assert.ok(!R.finishTidy(nextRun).deferred); + // A dead run's record naming a folder this run refuses (written by an older tool, or by hand) + // is dropped with a note, not thrown on: a throw kept the record, and it blocked every later run. + const refusedRecord = path.join(runA.dir, "1-1.json"); + writeFileSync(refusedRecord, JSON.stringify({ pid: 1, started: 1, prefixes: ["C:\\not-a-tool-folder"] })); + const afterRefused = R.startTidy({ root: ROOT, keys: [ASSOC] }); + assert.ok(afterRefused, "a dead record naming a refused folder does not stop the tidy"); + assert.ok(!existsSync(refusedRecord), "and it goes"); + assert.ok(!R.finishTidy(afterRefused).deferred); // ------------------------------------------------ the guards assert.throws(() => R.restoreKeys([{ path: "Software", snap: null }]), /close to the root/); @@ -362,8 +371,13 @@ try { "the temp folder itself is not a sweepable prefix", ); - // One folder outside the temp folder is swept, shoot_docs's, and no other: not one beside it, - // not its parent, and not a folder inside it. + // One kind of folder outside the temp folder is swept, shoot_docs's in any checkout, and no + // other: not one beside it, not its parent, and not a folder inside it. + const OTHER_TOOL_ROOT = "O:\\elsewhere\\.claude\\worktrees\\gone\\.claude\\tbshots"; + const OTHER_PROJECT = `${OTHER_TOOL_ROOT}\\Building\\project.twinproj`; + setValues(`${ROOT}\\ProjectState`, { [OTHER_PROJECT]: "{}" }); + R.restoreProjects({ root: ROOT, entries: [] }, { prefixes: [OTHER_TOOL_ROOT] }); + assert.ok(!R.ideLists({ root: ROOT }).projectState.includes(OTHER_PROJECT), "another checkout's is swept too"); const TOOL_PROJECT = `${TOOL_ROOT}\\Building\\project.twinproj`; const TOOL_NEIGHBOUR = `${TOOL_ROOT}2\\Building\\project.twinproj`; setValues(`${ROOT}\\ProjectState`, { [TOOL_PROJECT]: "{}", [TOOL_NEIGHBOUR]: "{}" }); diff --git a/scripts/ide-js/command-text.json b/scripts/ide-js/command-text.json index b4c560701..1cbdd4598 100644 --- a/scripts/ide-js/command-text.json +++ b/scripts/ide-js/command-text.json @@ -18,7 +18,8 @@ "tbDebug_StepOut": "At a breakpoint, runs on until the current procedure ends and stops in its caller.", "tbDebug_StepOver": "At a breakpoint, runs the current statement and stops at the next, without entering any procedure it calls.", "tbDebug_Stop": "Ends the running program.", - "tbDebug_ToggleBreakOnAllErrors": "Turns the project's Break On All Errors setting on or off.", + "tbDebug_ToggleBreakOnAllErrors": "Turns the project's Break On All Errors (this project) setting on or off.", + "tbDebug_ToggleBreakOnAllErrorsInPackages": "Turns the project's Break On All Errors (inside packages) setting on or off.", "tbDebug_ToggleBreakpoint": "Sets a breakpoint on the cursor's line, or removes the one that is there.", "tbDebug_ToggleDebuggable": "Turns the project's Allow Breakpoints (Debuggable) setting on or off.", "tbDebugConsole_Clear": "Clears the Debug Console.", @@ -36,6 +37,7 @@ "tbDebugConsole_ToggleAutoScroll": "Turns the Debug Console's Auto Scroll on or off.", "tbDebugConsole_ToggleInvertOutputDirection": "Turns the Debug Console's Invert Output Direction option on or off.", "tbDebugConsole_ToggleShowTimestamps": "Turns the Debug Console's Show Timestamps option on or off.", + "tbDebugConsole_ToggleSmoothScrolling": "Turns the Debug Console's Smoother Scrolling option on or off.", "tbDebugConsole_TurnAutoScrollOff": "Turns the Debug Console's Auto Scroll off.", "tbDebugConsole_TurnAutoScrollOn": "Turns the Debug Console's Auto Scroll on.", "tbDebugConsole_TurnInvertOutputDirectionOff": "Turns the Debug Console's Invert Output Direction option off.", @@ -483,6 +485,7 @@ "tbProperties_FocusPanel": "Moves the focus to the Properties panel.", "tbProperties_HidePanel": "Closes the Properties panel.", "tbProperties_Search": "Opens the search box of the Properties panel, or moves the focus to it.", + "tbProperties_ToggleAlphabeticSort": "Turns the alphabetic sort order of the Properties panel on or off.", "tbProperties_ShowPanel": "Shows the Properties panel.", "tbShowObjectBrowser": "Opens the Object Browser, for the text selected in the code editor.", "tbSignatureHelpCancel": "Dismisses the signature help that is showing.", diff --git a/scripts/ide-js/names.json b/scripts/ide-js/names.json index fca92258a..1156a7f4c 100644 --- a/scripts/ide-js/names.json +++ b/scripts/ide-js/names.json @@ -3,8 +3,8 @@ "about": "Our names for minified locals of the IDE's main.js, keyed by unit and scope path (scripts/ide_js.mjs). These are our names, not the twinBASIC source's.", "units": { "debugOutputPartial": { - "namedOn": "BETA 1007", - "shape": "ea9f1277c4c9df1b", + "namedOn": "BETA 1042", + "shape": "60e3ab0958d8209c", "names": { "0#0": { "name": "text", @@ -36,14 +36,14 @@ }, "0#4": { "name": "endsLine", - "was": "r", + "was": "i", "def": "Variable", "kind": "var", "refs": 5 }, "0#5": { "name": "addedHTML", - "was": "i", + "was": "r", "def": "Variable", "kind": "var", "refs": 2 @@ -57,7 +57,7 @@ }, "0/2#0": { "name": "stampHTML", - "was": "i", + "was": "r", "def": "Variable", "kind": "let", "refs": 4 @@ -65,7 +65,7 @@ } }, "TEXTtoHTML": { - "namedOn": "BETA 1007", + "namedOn": "BETA 1042", "shape": "ec9b42ee6730cbed", "names": { "0#0": { @@ -78,22 +78,22 @@ } }, "designer_PropertyPage": { - "namedOn": "BETA 1007", - "shape": "8adba2241a344d25", + "namedOn": "BETA 1042", + "shape": "22546a225101ead6", "names": { "0/0#0": { "name": "container", "was": "e", "def": "Parameter", "kind": "param0", - "refs": 1 + "refs": 5 }, "0/0#4": { - "name": "placeholder", - "was": "r", + "name": "dispId", + "was": "i", "def": "Variable", "kind": "var", - "refs": 4 + "refs": 2 }, "0/1#0": { "name": "element", @@ -107,12 +107,19 @@ "was": "t", "def": "Parameter", "kind": "param1", - "refs": 4 + "refs": 5 + }, + "0/0#5": { + "name": "input", + "was": "r", + "def": "Variable", + "kind": "var", + "refs": 10 } } }, "showModalDialog": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "a5d811b2364e1882", "names": { "0#0": { @@ -363,7 +370,7 @@ } }, "applyLanguagePack": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "22e73f2f6b3e21b1", "names": { "0#0": { @@ -432,7 +439,7 @@ } }, "bindIconToIdeCommand": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "4354f8d025fd428e", "names": { "0#0": { @@ -487,7 +494,7 @@ } }, "toggleBreakpointAtLine": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "a8c904f3bb2ed769", "names": { "0#0": { @@ -542,7 +549,7 @@ } }, "sendDocumentChangeToServer": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "b766f01cbd123c73", "names": { "0#0": { @@ -583,7 +590,7 @@ } }, "getSemanticTokensForCurrentFile": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "70d7f71a100106a9", "names": { "0#0": { @@ -610,7 +617,7 @@ } }, "propertyOnGotFocus": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "f8b68229b9ac5ef2", "names": { "0#0": { @@ -637,7 +644,7 @@ } }, "serverSaveDirtyDocuments": { - "namedOn": "BETA 1034", + "namedOn": "BETA 1042", "shape": "2771b4406de4f175", "names": { "0#0": { @@ -727,8 +734,8 @@ } }, "parseDocumentDecorations": { - "namedOn": "BETA 1034", - "shape": "020e0b390b047515", + "namedOn": "BETA 1042", + "shape": "ab0da7309dcffdfb", "names": { "0#0": { "name": "editorNode", @@ -742,7 +749,7 @@ "was": "t", "def": "Parameter", "kind": "param1", - "refs": 9 + "refs": 11 }, "0#2": { "name": "versionId", @@ -829,6 +836,138 @@ "refs": 3 } } + }, + "createListView": { + "namedOn": "BETA 1042", + "shape": "34976dd6071f8d61", + "names": { + "0#0": { + "name": "container", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 1 + }, + "0#1": { + "name": "list", + "was": "t", + "def": "Variable", + "kind": "var", + "refs": 62 + }, + "0/0#0": { + "name": "htmlRow", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 1 + }, + "0/1#0": { + "name": "heightRow", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 4 + }, + "0/1#1": { + "name": "element", + "was": "o", + "def": "Parameter", + "kind": "param1", + "refs": 1 + }, + "0/1#2": { + "name": "width", + "was": "n", + "def": "Variable", + "kind": "var", + "refs": 3 + }, + "0/1#3": { + "name": "height", + "was": "i", + "def": "Variable", + "kind": "var", + "refs": 3 + }, + "0/2#0": { + "name": "itemRow", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 1 + }, + "0/3#0": { + "name": "dataRow", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 1 + }, + "0/4#0": { + "name": "updatedRow", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 4 + }, + "0/4#1": { + "name": "newHtml", + "was": "o", + "def": "Parameter", + "kind": "param1", + "refs": 2 + }, + "0/5#0": { + "name": "addedHtml", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 2 + }, + "0/5#1": { + "name": "addedData", + "was": "o", + "def": "Parameter", + "kind": "param1", + "refs": 2 + }, + "0/5#2": { + "name": "addedRow", + "was": "n", + "def": "Variable", + "kind": "var", + "refs": 6 + }, + "0/6#0": { + "name": "use", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 5 + }, + "0/7#0": { + "name": "removedRow", + "was": "e", + "def": "Parameter", + "kind": "param0", + "refs": 5 + }, + "0/7#1": { + "name": "visible", + "was": "o", + "def": "Variable", + "kind": "var", + "refs": 3 + }, + "0/7#2": { + "name": "lastVisible", + "was": "n", + "def": "Variable", + "kind": "var", + "refs": 2 + } + } } } } diff --git a/scripts/lib/shot-apply.mjs b/scripts/lib/shot-apply.mjs index d7e73bfd2..f14f79c02 100644 --- a/scripts/lib/shot-apply.mjs +++ b/scripts/lib/shot-apply.mjs @@ -113,6 +113,23 @@ export function applySvg(outRoot, svgOut, svg, { dryRun = false } = {}) { return "removed"; } +/** + * Puts the SVG `svgOut` back as `revision` (openRevision) has it, through git, as a checkout + * writes it: an SVG that draws the same pixels as the revision's (keep.mjs's sameSvgAs). + * "restored", or "unchanged" when the file holds the revision's text already (line endings + * aside). With `dryRun` nothing is written, and the state is what would be. Throws when the + * revision has no such SVG. + */ +export function restoreSvg(outRoot, revision, svgOut, { dryRun = false } = {}) { + const atRevision = revision.bytes(svgOut); + if (!atRevision) throw new Error(`${revision.short} has no ${svgOut}`); + const file = path.join(outRoot, svgOut); + const lf = (bytes) => bytes.toString("utf8").replace(/\r\n/g, "\n"); + if (existsSync(file) && lf(readFileSync(file)) === lf(atRevision)) return "unchanged"; + if (!dryRun) restoreFromRevision(outRoot, revision.hash, [svgOut]); + return "restored"; +} + // ---- what a picture held before a verdict was applied -------------------------------- // // The screenshot review tool applies a run's verdicts as they arrive, and a review may then @@ -120,8 +137,9 @@ export function applySvg(outRoot, svgOut, svg, { dryRun = false } = {}) { // the verdict decided. So before it applies a run's verdict on a picture it keeps what the // picture held, in a folder of the run's (`dir`): // -// .json {out, png, svg, bundle, build}: whether each was there, and the build -// the manifest recorded for the file (null for none) +// .json {out, png, svg, bundle, build, scale}: whether each was there, and the +// build and scale the manifest recorded for the file (null for none; a +// record from before scales were recorded has no `scale`) // files/ the PNG, and files/ its SVG, when there // bundles/ its bundle, laid out as the bundle cache is (bundle.mjs) @@ -155,10 +173,10 @@ export function heldPictures(dir) { /** * Keeps in `dir` what the picture `out` under `outRoot` holds now: its PNG, its SVG, its - * bundle under `bundlesRoot` (or none) and `build`, the build the manifest records for it. - * What `dir` kept of it before is replaced. + * bundle under `bundlesRoot` (or none), and `build` and `scale`, the build and the scale the + * manifest records for it. What `dir` kept of it before is replaced. */ -export function holdPicture(dir, outRoot, out, bundlesRoot, build) { +export function holdPicture(dir, outRoot, out, bundlesRoot, build, scale = null) { const f = heldFiles(dir, out); const keep = (from, to) => { if (!existsSync(from)) { @@ -173,7 +191,39 @@ export function holdPicture(dir, outRoot, out, bundlesRoot, build) { const svg = keep(path.join(outRoot, svgOf(out)), f.svg); const bundle = bundlesRoot ? copyBundle(bundlesRoot, f.bundles, out) : false; mkdirSync(dir, { recursive: true }); - writeFileSync(f.record, `${JSON.stringify({ out, png, svg, bundle, build: build ?? null })}\n`); + writeFileSync(f.record, `${JSON.stringify({ out, png, svg, bundle, build: build ?? null, scale: scale ?? null })}\n`); +} + +/** + * The scale the manifest recorded for the picture `out` when `dir` kept it (holdPicture): a + * number, null for none (SHOT_SCALE), or undefined when `dir` keeps nothing of it or kept it + * before scales were recorded. + */ +export function heldScale(dir, out) { + const f = heldFiles(dir, out); + if (!existsSync(f.record)) return undefined; + return JSON.parse(readFileSync(f.record, "utf8")).scale; +} + +/** + * Replaces one file of what `dir` keeps of the picture `out` (holdPicture): `part` "png" or + * "svg", `bytes` what the picture held, or null when it held no such file. Used when a file + * changed outside the session's runs is put back as the baseline has it: the layer that found + * it then finds the baseline's. Returns false, and changes nothing, when `dir` keeps nothing of + * the picture. + */ +export function setHeldPart(dir, out, part, bytes) { + const f = heldFiles(dir, out); + if (!existsSync(f.record)) return false; + const record = JSON.parse(readFileSync(f.record, "utf8")); + const to = part === "png" ? f.png : f.svg; + if (bytes) { + mkdirSync(path.dirname(to), { recursive: true }); + writeFileSync(to, bytes); + } else rmSync(to, { force: true }); + record[part] = !!bytes; + writeFileSync(f.record, `${JSON.stringify(record)}\n`); + return true; } /** diff --git a/scripts/lib/shot-first-run.mjs b/scripts/lib/shot-first-run.mjs index 6acc94eb9..9c28a53a0 100644 --- a/scripts/lib/shot-first-run.mjs +++ b/scripts/lib/shot-first-run.mjs @@ -17,7 +17,8 @@ // * A second proxy stands under the hook, on the host object itself, and records any of those // calls that reached it in `through`, and drops it too. The record of a run is that list and // the counts of what was blocked; shoot_docs fails on any entry in `through`. -// * The Recent lists are answered empty, so no path of the user's comes into the page. +// * The Recent lists are the hook's to answer, empty here, so no path of the user's comes into +// the page. // // An answer comes after a real call to the host. The page's theme files are read by host calls // made before GENERAL is asked for, so the host answers them first, and a first start draws its @@ -91,7 +92,6 @@ function pageGuard(cfg) { return target.GetIDESetting("LICENCEAGREEMENTV3").then(() => cfg.settings[key]); }; } - if (name === "GetRecentsList" || name === "GetVB6RecentProjects") return () => Promise.resolve(""); if (STOPPED.has(name)) return stopped(name); return target[name]; }, diff --git a/scripts/lib/shot-front.mjs b/scripts/lib/shot-front.mjs new file mode 100644 index 000000000..babf56bd2 --- /dev/null +++ b/scripts/lib/shot-front.mjs @@ -0,0 +1,256 @@ +// A screenshot run typed in a terminal is a run of the session (WIP.ShotReview.md, One way to take +// pictures, rule 1): shoot_docs.mjs, its --cleanup, replay.mjs and chromeshot.mjs, whenever they +// would write under docs/. Each calls sessionRun once its command line has passed, before it does +// anything else; it returns only when the tool is to run as it was asked: the run is one of a +// session already (SESSION_RUN, startRun's), has a stage of its own, or writes nothing under docs/. +// Otherwise the run is handed to the screenshot review tool when it is open for this checkout, and +// followed in the terminal; and when it is not, this process opens the session itself and runs the +// tool as the review tool would, through the same code (shot-host.mjs): a child with --stage and +// --events, its verdicts applied under docs/ as they arrive, the run recorded in the session. Either +// way the terminal shows the run's lines, Ctrl+C stops it as the tool's Stop does (a second one +// ends its process), and the process exits with the run's code. + +import { existsSync, readFileSync, rmSync, writeFileSync } from "node:fs"; +import { request } from "node:http"; +import path from "node:path"; +import { DOCS_DIR, REPO_ROOT } from "../../lib/repo-paths.mjs"; +import { defaultBundleCache } from "../svgshot/bundle.mjs"; +import { readRecords } from "./record-lines.mjs"; +import { baselineAt } from "./shot-git-worker.mjs"; +import { createRunHost } from "./shot-host.mjs"; +import { openManifest } from "./shot-manifest.mjs"; +import { openRevision, revisionOf } from "./shot-revision.mjs"; +import { EXIT_KIND, followPath, SESSION_RUN, TERMINAL_RUN_PATH, terminalRunOf } from "./shot-runs.mjs"; +import { acquireLock, openSession, REVIEW_ROOT, sessionPaths } from "./shot-session.mjs"; +import { createApplier } from "./shot-verdicts.mjs"; + +/** The file the open review tool says where it listens in: {pid, port}. */ +export const serverFile = (root = REVIEW_ROOT) => path.join(root, "server.json"); + +/** Says, for the review tool of this process, that it listens on `port`; returns what forgets it. */ +export function announceServer(port, root = REVIEW_ROOT) { + const file = serverFile(root); + writeFileSync(file, `${JSON.stringify({ pid: process.pid, port })}\n`); + return () => { + try { + if (JSON.parse(readFileSync(file, "utf8")).pid === process.pid) rmSync(file, { force: true }); + } catch {} + }; +} + +const isAlive = (pid) => { + try { + process.kill(pid, 0); + return true; + } catch (e) { + return e.code === "EPERM"; + } +}; + +/** The review tool open for the session under `root`, {pid, port}, or null. */ +export function openTool(root = REVIEW_ROOT, alive = isAlive) { + const file = serverFile(root); + if (!existsSync(file)) return null; + try { + const { pid, port } = JSON.parse(readFileSync(file, "utf8")); + return Number.isInteger(pid) && Number.isInteger(port) && alive(pid) ? { pid, port } : null; + } catch { + return null; + } +} + +// A request to the review tool on `port`, as one of its own pages makes it (its Origin), the body +// JSON: resolves to {status, body} for a POST, and to the response itself for a GET. +function ask(port, method, where, body) { + return new Promise((resolve, reject) => { + const data = body === undefined ? null : Buffer.from(JSON.stringify(body)); + const req = request( + { + host: "127.0.0.1", + port, + method, + path: where, + headers: { + Host: `127.0.0.1:${port}`, + ...(data + ? { Origin: `http://127.0.0.1:${port}`, "Content-Type": "application/json", "Content-Length": data.length } + : {}), + }, + }, + (res) => { + if (method === "GET") return resolve(res); + const chunks = []; + res.on("data", (c) => chunks.push(c)); + res.on("end", () => { + let parsed = {}; + try { + parsed = JSON.parse(Buffer.concat(chunks).toString("utf8")); + } catch {} + resolve({ status: res.statusCode, body: parsed }); + }); + }, + ); + req.on("error", reject); + req.end(data ?? undefined); + }); +} + +// Ctrl+C: `stop()` the first time, `kill()` the next. +function onInterrupt(name, stop, kill) { + let asked = false; + process.on("SIGINT", () => { + if (asked) { + console.error(`${name}: ending the run's process: the registry is not put back`); + kill(); + return; + } + asked = true; + console.error(`${name}: stopping the run as the review tool's Stop does; Ctrl+C again ends its process`); + stop(); + }); +} + +/** + * The run of `tool` with `args` handed to the review tool `open` ({port}, openTool's) and followed: + * a promise of the run's exit code, or 2 when the tool refused it or stopped answering. Its lines go + * to `out`, what is said about it to `err`; `onRun(n)` is told its number, and `interrupt` makes + * Ctrl+C stop it (then end it). + */ +export async function handToTool({ + name, + open: { port }, + tool, + args, + interrupt = true, + out = console.log, + err = console.error, + onRun = () => {}, +}) { + let answer; + try { + answer = await ask(port, "POST", TERMINAL_RUN_PATH, { tool, args }); + } catch (e) { + err(`${name}: the review tool open for this checkout does not answer on port ${port}: ${e.message}`); + return 2; + } + if (answer.status !== 200) { + err(`${name}: the review tool refused the run: ${answer.body.error ?? `status ${answer.status}`}`); + return 2; + } + const n = answer.body.run; + onRun(n); + out(`${name}: run ${n} of the session, handed to the review tool: http://127.0.0.1:${port}/runs`); + const action = (what) => + ask(port, "POST", `/api/run/${n}`, { action: what }).then( + (r) => r.status !== 200 && err(`${name}: ${what}: ${r.body.error ?? r.status}`), + (e) => err(`${name}: ${what}: ${e.message}`), + ); + if (interrupt) + onInterrupt( + name, + () => action("stop"), + () => action("kill"), + ); + let res; + try { + res = await ask(port, "GET", followPath(n)); + } catch (e) { + err(`${name}: the run could not be followed: ${e.message}; it goes on in the review tool`); + return 2; + } + return new Promise((resolve) => { + let exit; + readRecords(res, [EXIT_KIND], { + onRecord: (_, value) => { + exit = value.exit; + }, + onLine: out, + }); + res.on("end", () => { + if (exit === undefined) { + err(`${name}: the review tool stopped answering before run ${n} ended`); + return resolve(2); + } + resolve(exit ?? 1); + }); + res.on("error", () => {}); + }); +} + +// The session opened here, the run made in it and its verdicts applied: the run's exit code, or 2. +async function runHere(name, tool, args, root) { + const paths = sessionPaths(root); + let release; + try { + release = acquireLock(paths.lock); + } catch (e) { + console.error( + `${name}: ${e.message}. A run from a terminal holds it too: try again once that run has ended, or open the review tool`, + ); + return 2; + } + try { + const head = revisionOf(DOCS_DIR, "HEAD"); + const session = openSession(root, () => baselineAt(REPO_ROOT, head)); + const baseline = session.data.baseline; + const revision = openRevision(DOCS_DIR, baseline.hash); + const applier = createApplier({ + session, + docsRoot: DOCS_DIR, + bundlesRoot: defaultBundleCache(name), + revision: () => revision, + manifest: () => openManifest(), + }); + const pending = applier.pending(); + if (pending) + console.log(`${name}: applied ${pending} verdicts the session's runs had reported and were not applied`); + if (baseline.hash !== head.hash) + console.log( + `${name}: the session's baseline is ${baseline.short} and HEAD is ${head.short}: the run is compared with ${baseline.short}; the review tool moves the session to HEAD`, + ); + let request; + try { + request = terminalRunOf(tool, args, baseline); + } catch (e) { + console.error(`${name}: ${e.message}`); + return 2; + } + let ended; + const done = new Promise((resolve) => { + ended = resolve; + }); + const host = createRunHost({ + session: () => session, + applier: () => applier, + onLine: (_, text, stream) => (stream === "stderr" ? console.error : console.log)(text), + onExit: (record) => ended(record), + }); + const handle = host.start(request); + console.log( + `${name}: run ${handle.run.n} of the session in .shot-review, compared with ${baseline.short}; node scripts/shot_review.mjs reviews it`, + ); + onInterrupt(name, handle.stop, handle.kill); + await done; + host.close(); + const record = session.run(handle.run.n); + return record?.exit ?? 1; + } catch (e) { + console.error(`${name}: the session could not be opened: ${e.message}`); + return 2; + } finally { + release(); + } +} + +/** + * Makes this run of `tool` (as a run records it: "shoot_docs", "cleanup", "replay" or "chromeshot") + * a run of the session when it `writes` under docs/: never returns then, and exits with the run's + * code. Returns at once when it does not, or when this process is a session's run already. `name` + * is what the terminal's lines are said by; `args` the command line as typed. + */ +export async function sessionRun({ tool, name = tool, args = process.argv.slice(2), writes, root = REVIEW_ROOT }) { + if (!writes || process.env[SESSION_RUN]) return; + const open = openTool(root); + const code = open ? await handToTool({ name, open, tool, args }) : await runHere(name, tool, args, root); + process.exit(code); +} diff --git a/scripts/lib/shot-git-worker.mjs b/scripts/lib/shot-git-worker.mjs new file mode 100644 index 000000000..59cc340a7 --- /dev/null +++ b/scripts/lib/shot-git-worker.mjs @@ -0,0 +1,80 @@ +// What the screenshot review reads from git while it serves its pages, read in a worker thread: +// the baseline HEAD would make (`head`) and the pictures that differ from the session's baseline +// (`changed`). Each is a few git processes run with execFileSync (shot-revision.mjs), which, in +// the server's own thread, held every request and every event of a run while they ran: on +// 2026-11-11 a page of the overview of a session of 132 pictures took 2 s, and each page in the +// browser fetches itself again on each update a run sends, so that a run's progress came minutes +// late and a page fetched again by hand waited behind the others. The server keeps the last value +// and serves it at once (shot-server.mjs, `kept`). + +import path from "node:path"; +import { isMainThread, parentPort, Worker, workerData } from "node:worker_threads"; +import { MANIFEST, parseManifest } from "./shot-manifest.mjs"; +import { changedPictures, openRevision, revisionOf } from "./shot-revision.mjs"; +import { newestBuild } from "./shot-session.mjs"; + +/** + * The baseline the commit `{hash, short}` makes, in the git repository whose working tree is + * `repoRoot`: the commit, and the newest build its manifest records. + */ +export function baselineAt(repoRoot, { hash, short }) { + const bytes = openRevision(repoRoot, hash).bytes(path.relative(repoRoot, MANIFEST).replace(/\\/g, "/")); + const pictures = bytes ? parseManifest(bytes.toString("utf8")).pictures : {}; + return { hash, short, build: newestBuild(pictures) }; +} + +const reads = ({ docsDir, repoRoot }) => ({ + head: () => baselineAt(repoRoot, revisionOf(docsDir, "HEAD")), + changed: (baseline) => changedPictures(docsDir, baseline, undefined, { svgs: true }).pictures, +}); + +/** + * Starts the worker for the pictures' folder `docsDir` in the working tree `repoRoot`. Returns + * {head(), changed(baseline), close()}: `head` a promise of the baseline HEAD would make, + * `changed` one of the pictures whose PNG or SVG differs from the commit `baseline` + * (changedPictures' with `svgs`), each rejected as the read throws; and `close` ends the worker. + * One read at a time, in the order asked. The worker does not keep the process alive. + */ +export function startGitReader({ docsDir, repoRoot }) { + const worker = new Worker(new URL(import.meta.url), { workerData: { gitReader: { docsDir, repoRoot } } }); + worker.unref(); + const waiting = new Map(); + let next = 0; + let gone = null; + const fail = (e) => { + gone = e; + for (const w of waiting.values()) w.reject(e); + waiting.clear(); + }; + worker.on("message", ({ id, value, error }) => { + const w = waiting.get(id); + waiting.delete(id); + if (error === undefined) w?.resolve(value); + else w?.reject(new Error(error)); + }); + worker.on("error", fail); + worker.on("exit", (code) => fail(new Error(`the git reader ended (exit ${code})`))); + const ask = (fn, args) => + new Promise((resolve, reject) => { + if (gone) return reject(gone); + const id = next++; + waiting.set(id, { resolve, reject }); + worker.postMessage({ id, fn, args }); + }); + return { + head: () => ask("head", []), + changed: (baseline) => ask("changed", [baseline]), + close: () => worker.terminate(), + }; +} + +if (!isMainThread && workerData?.gitReader) { + const fns = reads(workerData.gitReader); + parentPort.on("message", ({ id, fn, args }) => { + try { + parentPort.postMessage({ id, value: fns[fn](...args) }); + } catch (e) { + parentPort.postMessage({ id, error: e.message }); + } + }); +} diff --git a/scripts/lib/shot-host.mjs b/scripts/lib/shot-host.mjs new file mode 100644 index 000000000..621bf3d3c --- /dev/null +++ b/scripts/lib/shot-host.mjs @@ -0,0 +1,146 @@ +// A session's runs as whoever holds the session handles them (WIP.ShotReview.md, One way to take +// pictures, rule 1): the review tool's server (shot-server.mjs), which adds its pages, and a run +// typed in a terminal while no review tool is open (shot-front.mjs). Both start a run with +// startRun, keep each run's events, what they say and its verdicts, apply each verdict through the +// session's applier (shot-verdicts.mjs) as it arrives, and mark the run's end, by this code alone, +// so that a run from a terminal and one from the tool reach the same files under docs/. +// +// One run at a time: a picture's verdicts are applied in the runs' order, which two runs at once +// would not keep, and a clean-up writes under docs/ itself. + +import { readEvents, runPaths } from "./shot-session.mjs"; +import { runFacts, verdictOfEvent } from "./shot-review.mjs"; +import { readVerdicts } from "./shot-stage.mjs"; +import { startRun } from "./shot-runs.mjs"; + +/** + * What a run of the session under `root` left, `record` its record in the session: its events, + * what they say (runFacts) and its verdicts, {out => {png, svg}}, as its stage holds them. + */ +export function readRun(root, record) { + const files = runPaths(root, record.n); + const events = readEvents(files.events); + const verdicts = new Map(readVerdicts(files.stage).map((v) => [v.out, { png: v.png, svg: v.svg }])); + return { events, facts: runFacts(record.tool, events), verdicts }; +} + +/** + * The runs of a session and their applying. `session()` and `applier()` give the session and its + * applier as they are now (a commit replaces both). Called back, each after the host has done its + * part: `onEvent(record, event)` for each event, `onApplied(out)` once a verdict on `out` is + * applied, `onLine(record, text, stream)` for each line meant for a person ("stdout" or "stderr"), + * and `onExit(record)` once a run has ended and every verdict it reported is applied. `command` is + * the probes' stand-in for the tools (startRun). + * + * Returns {runs, load(), start({tool, args}), liveRuns(), live(), enqueue(job), close()}: `runs` + * the map n => {record, live, handle, stopAsked, events, facts, verdicts}; `load` reads them again + * from the session; `start` starts a run and returns startRun's handle, and throws while another + * runs; `live` the handles of the runs that are running; `enqueue` puts a job in the queue the + * verdicts are applied from; `close` applies what is left at once, and stops the queue. + */ +export function createRunHost({ + session, + applier, + onEvent = () => {}, + onApplied = () => {}, + onLine = () => {}, + onExit = () => {}, + command, +}) { + const runs = new Map(); + const load = () => { + runs.clear(); + const s = session(); + for (const record of s.data.runs) + runs.set(record.n, { record, live: false, handle: null, ...readRun(s.root, record) }); + }; + load(); + + // A run's verdicts are applied in order, one in each turn of the event loop, so that a server + // answers between them: a replay reports several pictures a second, each taking 0.1 s or more to + // apply (its bundle copied into the cache), and applied as their events were read they held + // every request up for as long as the replay ran. A run that has exited stays live until its + // verdicts are applied, so that nothing that waits for a run's end (a new run, a commit, Remove) + // meets one half applied. close() applies what is left at once, then `shut` stops the queue. + const queue = []; + let draining = false; + let shut = false; + const enqueue = (job) => { + queue.push(job); + if (draining) return; + draining = true; + setImmediate(drain); + }; + function drain() { + const job = shut ? null : queue.shift(); + if (!job) { + draining = false; + return; + } + try { + job(); + } finally { + setImmediate(drain); + } + } + // applied as it arrives: the stage holds the verdict by the time its event is written; one that + // could not be read is tried again a moment later. A run removed meanwhile is not. + const applyArrival = (n, out, part) => { + if (!runs.has(n)) return; + const a = applier(); + if (a.arrive(n, out, part)) onApplied(out); + else if (a.errors.has(out)) + setTimeout(() => { + if (!shut && runs.has(n) && applier().arrive(n, out, part)) onApplied(out); + }, 500); + }; + const eventOf = (record, e) => { + const r = runs.get(record.n); + r.events.push(e); + r.facts = runFacts(record.tool, r.events); + if (e.type === "picture" || e.type === "svg") { + const [part, value] = verdictOfEvent(e); + const v = r.verdicts.get(e.out) ?? { png: null, svg: null }; + v[part] = value; + r.verdicts.set(e.out, v); + enqueue(() => applyArrival(record.n, e.out, part)); + } + onEvent(record, e); + }; + const exitOf = (record) => + enqueue(() => { + const r = runs.get(record.n); + if (!r) return; + r.live = false; + r.handle = null; + onExit(record); + }); + const liveRuns = () => [...runs.values()].filter((r) => r.live); + function start({ tool, args }) { + const busy = liveRuns()[0]; + if (busy) throw new Error(`run ${busy.record.n} is running: a new run starts once it has ended`); + const handle = startRun(session(), { tool, args }, { onEvent: eventOf, onExit: exitOf, onLine, command }); + runs.set(handle.run.n, { + record: handle.run, + live: true, + handle, + stopAsked: false, + events: [], + facts: runFacts(tool, []), + verdicts: new Map(), + }); + return handle; + } + return { + runs, + load, + start, + liveRuns, + live: () => liveRuns().map((r) => r.handle), + enqueue, + close() { + while (queue.length) queue.shift()(); + shut = true; + }, + }; +} diff --git a/scripts/lib/shot-manifest.mjs b/scripts/lib/shot-manifest.mjs index 1849d3827..b135bab97 100644 --- a/scripts/lib/shot-manifest.mjs +++ b/scripts/lib/shot-manifest.mjs @@ -8,6 +8,10 @@ // theme is a picture of its own), holds only what differs from the defaults: // // build the twinBASIC build the file was taken on +// scale the picture's device pixels to a CSS pixel, when not SHOT_SCALE (2): a +// program's window is taken at the display's DPI (1.5 at 150%), a box unaware +// of the display's scaling at 96 DPI (1). A page declares the picture's +// pixels divided by it as its size (shot-sizes.mjs) // png.noise {levels, share}: the noise rule's limits for this picture (withinNoise; // NOISE_LEVELS, and NOISE_SHARE as a percentage) // png.ignore [[x0, y0, x1, y1], ...]: rectangles left out of the comparison, in the @@ -35,6 +39,9 @@ export const MANIFEST = path.join(REPO_ROOT, "test", "shots", "manifest.json"); export const MANIFEST_FORMAT = 1; +/** The scale a page picture is taken at, a device pixel ratio of 2 (shoot_docs.mjs's SCALE). */ +export const SHOT_SCALE = 2; + /** The SHA-1 of a file's bytes, or of a text as UTF-8 with its line endings LF, as hex. */ export const hashOf = (data) => createHash("sha1") @@ -43,6 +50,9 @@ export const hashOf = (data) => const HASH = /^[0-9a-f]{40}$/; +// An entry's keys, in the order the file holds them. +const ENTRY_KEYS = ["build", "scale", "png", "svg"]; + const isObject = (v) => v !== null && typeof v === "object" && !Array.isArray(v); function checkKeys(where, value, keys) { @@ -64,9 +74,11 @@ function checkRects(where, rects) { } function checkEntry(where, e) { - checkKeys(where, e, ["build", "png", "svg"]); + checkKeys(where, e, ENTRY_KEYS); if (e.build !== undefined && !(Number.isInteger(e.build) && e.build > 0)) throw new Error(`${where}.build is not a build number`); + if (e.scale !== undefined && !(typeof e.scale === "number" && e.scale > 0 && e.scale <= 8 && e.scale !== SHOT_SCALE)) + throw new Error(`${where}.scale is not a scale above 0 and at most 8 other than ${SHOT_SCALE}`); if (e.png !== undefined) { const w = `${where}.png`; checkKeys(w, e.png, ["noise", "ignore", "decision"]); @@ -157,7 +169,7 @@ const ENTRY_ORDER = { export function manifestText(m) { const pictures = {}; for (const out of Object.keys(m.pictures).sort()) { - const e = pruned(m.pictures[out], ["build", "png", "svg"]); + const e = pruned(m.pictures[out], ENTRY_KEYS); if (e) pictures[out] = e; } const text = JSON.stringify({ format: m.format, pictures }, null, 2); @@ -199,7 +211,7 @@ export function earlierSvgDecision(entry, svg, png) { /** * The manifest in `file`, or an empty one when there is none: `entry(out)` a picture's entry - * or null; `setBuild(out, build)` and `clearBuild(out)`, for a capture written and a file + * or null; `setBuild(out, build, scale)` and `clearBuild(out)`, for a capture written and a file * removed; and `save()`, which writes the file when what it holds has changed (a CRLF * checkout of the same text is the same), with the line endings it had (LF for a new one), * through a file beside it renamed over it. @@ -211,13 +223,19 @@ export function openManifest(file = MANIFEST) { return { file, entry, - setBuild(out, build) { + // `build` null records nothing (a build that could not be read); `scale` the capture's, + // recorded when it is not SHOT_SCALE and removed when it is, and left as it is when undefined + setBuild(out, build, scale = undefined) { if (build === null || build === undefined) return; - m.pictures[out] = { ...entry(out), build }; + const { scale: had, ...rest } = entry(out) ?? {}; + const next = scale === undefined ? had : scale === null || scale === SHOT_SCALE ? undefined : scale; + m.pictures[out] = next === undefined ? { ...rest, build } : { ...rest, build, scale: next }; + checkEntry(out, m.pictures[out]); }, + // the file is gone: neither its build nor its scale is known clearBuild(out) { if (!entry(out)) return; - const { build: _, ...rest } = entry(out); + const { build: _, scale: __, ...rest } = entry(out); m.pictures[out] = rest; }, /** @@ -231,7 +249,7 @@ export function openManifest(file = MANIFEST) { if (value === undefined) delete p[key]; else p[key] = value; e[part] = p; - const next = pruned(e, ["build", "png", "svg"]) ?? {}; + const next = pruned(e, ENTRY_KEYS) ?? {}; checkEntry(out, next); m.pictures[out] = next; }, diff --git a/scripts/lib/shot-pages.mjs b/scripts/lib/shot-pages.mjs index 5fee0eaf2..c979e077f 100644 --- a/scripts/lib/shot-pages.mjs +++ b/scripts/lib/shot-pages.mjs @@ -92,6 +92,7 @@ section.muted{opacity:.55} .actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0}.actions button,form.allow button{font:inherit;padding:3px 12px} .actions button[aria-pressed=true]{font-weight:700;outline:2px solid var(--link)} .status{color:var(--mut);font-size:13px}.status.err{color:var(--bar)} +#live{position:fixed;right:12px;bottom:10px;z-index:30;margin:0;background:var(--bg);max-width:min(560px,calc(100vw - 24px))}#live.ok{color:var(--mut)} form.allow fieldset{border:1px solid var(--line);border-radius:6px;margin:0 0 10px;padding:6px 10px} form.allow label{display:inline-block;margin:2px 14px 2px 0}form.allow input[type=number]{width:6em} form.allow textarea{width:100%;max-width:600px;font:12px var(--mono,monospace)} @@ -159,14 +160,58 @@ const REVIEW_SCRIPT = `