Test to see if an array is empty

1 post / 0 new
Brian Element's picture
Brian Element
Online
Joined: 07/11/2012 - 19:57
Test to see if an array is empty

I just posted a snippet that will test to see if an array is empty and return TRUE or FALSE.  If you Dim an array such as DIM myArray() as string you haven't initialized it yet, if you test to see if anything is in it IDEA will raise an error.  The snippets tests for the error and returns a true or false.