ok    1  with values(*): total_of sums a 4-element expandable array
ok    2  the same routine takes a fixed array
ok    3  and a 2D array (size() and stats$ see every element)
ok    4  a 2D parameter is subscripted with two subscripts inside the routine: g(2, 3)
ok    5  a routine walking values(i) for i = 1 to size(values)
ok    6  returning sq(*): appends five squares into the callers empty expandable array
ok    7  called again: the routine cleared and refilled it (redim sq(*) inside)
ok    8  a fixed array passed as returning: fill target with v inside writes all four
ok    9  result = values * 2 inside: an array expression assigned to a returning parameter
ok    10  a returning parameter reshaped to 2D inside (reshape with recycle): the caller sees a 3x3
ok    11  string arrays: with src$(*) / returning dst$(*); the source is untouched
ok    12  a returning-only routine modifies the callers array in place (by reference)
ok    13  the with-side routine ran three times (a plain module counter still works)
ok    14  two calls bind two different arrays
ok    15  the implied-name shorthand: with values (the argument IS the parameter name) -- the token_preview crash of 2026-08-26
ok    16  a BARE ar(*) parameter takes the element type of the first call: a string array here (unsuffixed parameters allow any type)
ok    17  the fruits$ example in its named form: print_list with ar$ fruits$, returning null$ _$
ok    18  function form: total_of(values = scores) binds the array by reference (scores was bumped to 11..41: sum 104)
ok    19  pipe: scores |> total_of() -- the piped array lands in the first WITH parameter values(*)
ok    20  a string array piped into print_list$(): its ar$(*) parameter
ok    21  a 2D array piped in

passed:  21   failed:  0 
