ok    1  dim a(*), ten appends: size(a) = 10
ok    2  a(*) as an rvalue is the last element (100)
ok    3  a(1) = 1, a(7) = 49 -- 1-origin as declared
ok    4  a(*) inside an expression: a(*) + 1 = 101
ok    5  a(*) = a(*) + 1 appends 101 as element 11 (10 untouched)
ok    6  ordinary indexed store still works, size unchanged
ok    10  dim c(5 to *): elements 5, 6; size = 2
ok    11  c(*) = 60
ok    7  dim b$(0 to *): first append lands on element 0
ok    8  size(b$) = 3 (count, not highwater); last = two
ok    9  b$(0) = v on a 0-origin expandable OVERWRITES element 0 (no legacy push)
ok    12  legacy dim d(0) + d(0) = v pushes 1-origin: size 3, d(1) = 7, d(3) = 9
ok    13  d(*) = v works on a legacy expandable array too (element 4)
ok    14  e(*) read on an empty expandable array raises suboutbnd
ok    18  and the same array accepts its first append afterwards
ok    15  f(*) = v on a fixed dim f(2) appends twice, the third (no room) raises suboutbnd
ok    16  for i = 1 to size(a) sums every element
ok    17  string appends: expression values land; last = names$(2)
ok    19  redim a(*) clears an 11-element expandable array: size 0
ok    20  and it refills from element 1
ok    21  redim a(*) on a one-element array also clears (size 0)
ok    22  legacy redim d(0) still clears
ok    23  redim b$(0 to *) clears; next append lands on element 0 again

passed:  23   failed:  0 
