Couple of bugs it seems

Dim d(25,25)
console.log("UBound(d):" & UBound(d))
console.log("UBound(d,2):" & UBound(d,2))

This above code returns…

UBound(d):25
UBound(d,2):26

Should the ubound of the 2nd dimension be 25 too?

Start in browser error…

  1. Start project1 in the Desktop browser
  2. Load project2
  3. Start project2 in Desktop browser

result…
project1 refreshes and project2 does not show

Using 8551 on win 11

BASIC and JavaScript handle arrays in different ways, so there are some edge cases.

It might be better to use the JavaScript notation here:

d.length
d[1].length