Repository navigation
Run-time errors for five more VBA modules, 64-bit VBA as a fourth runtime, and 11 defects queued - #249
Merged
Conversation
…ueue Val suffix, Error$ above 65535, CDate string/Decimal and Hex 2^62 bugs
…64); Abs, trig and Round bugs filed
…ue Calendar, Date/Time assignment, DateAdd year-below-100 and range, DatePart Null and week-of-year-100 bugs
…an extension, no 70 rows, Calendar not reported, firstdayofweek out of range queued
…, one source for twinBASIC and VB6); the clock harness gives Date and Time full coverage
…cess); batches 2-5 and Core re-checked
…; Hex, Oct and Bin state the 2^62 limit unlabelled
…s; errors.mjs prints a fault as text
…ntimes; message: key; HRESULT descriptions unchecked in VB6/VBA
…(owner); bug grouping agreed
…, createobject-getobject-raw-hresults, callbyname-dispatch-hresults)
…ash reproducer; DISP_E_NOTACOLLECTION in latebound-hresult-mapping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Common Errors sections for VBA
Conversion,Math,DateTime,InformationandInteraction's non-interactive procedures, measures 64-bit VBA as a fourth runtime, files 12 queued defects upstream and queues 11 new ones.Conversion23 pages (299 cases),Math15 (132),DateTime17 (328),InformationandInteraction27 (302).Date =andTime =with a number, andPartitionandChoosewith large numbers, are documented as extensions. Next is batch 6b,Interaction's interactive procedures.errors.mjs runandmessagesalso measure 64-bit VBA, run in 64-bit Access (scripts/lib/vba.mjs), beside twinBASIC 32-bit and 64-bit and VB6, after fafalone pointed it out. Every case agrees with the data, and NOTEs on 17 pages now say VB6 and 64-bit VBA.Hexof a double of 2^62 or more raises 6 in 64-bit VBA too, so that defect is withdrawn and theHex,OctandBinpages state the limit. A case can also name a harness in the data (errors/harnesses/<name>.bas, one source for twinBASIC and VB6):clockcoversDateandTime,registrythe settings procedures.Hex,OctandBinraise error 6 for aDoubleorSinglefrom 2^62 up, though the value fits aLongLongtwinbasic#2536 to 2547): their entries move tobugs/filed/. Three were queued by the constructors PR (negative-zero text, two initializer defects) and two by the Strings PR (ReDim,StringwithNull). The rest come fromConversion(Val,Error$,CDate,Hex) andMath(Abs, trigonometry above 2^63,Round). TheHexone is the withdrawn defect above.bugs/with a VB6 side, and the earlier queued entries gain the 64-bit VBA result.DateTime(7): assigning toDate,Date$,TimeandTime$;DateAddbefore year 100;DateAddandDateDiffof a date number out of range;DatePartof aNulldate; firstdayofweek and firstweekofyear out of range;DatePart("ww")in year 100, which never returns.InformationandInteraction(4): refused arguments raise Unspecified error in place of 5, 6, 9, 13 or 438;CreateObjectandGetObjectraise the raw HRESULT in place of 429 or 432; a COM object's own error reachesCallByNameas&H80020009;RaiseEventByNameends the program for an object that declares no events.