Documentation "DEFINED" vs. array elements

May 20, 2008
Elkridge, MD, USA
Is it true that array elements NEVER report that they are defined? If so, the description of the DEFINED test should be changed to:
Note: GOSUB variables, array elements and internal variables always fail the DEFINED test.

Of course, I would prefer that all of the above exceptions be eliminated, and one would not need to test whether or not such an item is defined by comparing with an empty string. This would not break backward compatibility, because currently it would be a meaningless test.

Similar threads