I must be seriously missing something because the last version of the
script that passes test 2 (the empty array) is the 471 code.
I am running Kix 4.10 build 99.
Starting with the 466 code all scripts report:
'The output array has an incorrect size of 9'

Also the 457 code changes will work provided the number of anagrams
is less than 10 (due to the SubStr($[$a],3) lower down)