Internal Error #333, ARRAY(0) & STATICS$(0)
(#99608) Appears during creation of multi-dim array structures or use
of macros? Very Mysterious & Elusive. Sometimes disappears on it's
own. Try shuffling the code around.
(#100777) Error may be generated when the system cannot find enough
contiguous memory for a big array or large variable. Declaring: STATIC
aJunk[1,2,3,4,5,6,7,8,9,10] can bomb. Seems to have something to do
with STATIC declarations.
(#112790) This error occurs in DBU when it attempts to read long
directories into memory via the DIRECTORY() function. Again, this is
the same problem.
(#118666) If you are being plagued by Internal Error 333, you may want ~
to try this fix from Jo French [74730,1751].
Instead of using methods to declare your array assigning an initial size,
like: LOCAL aBig[4000,8], try this:
LOCAL aBig := {}
FOR nX := 1 TO 4000
AADD(aBig, {}); ASIZE(aBig[nX],8)
NEXT nX