Test an Array to see if its been "ReDim"

T

tm

I have created an array as follows:

Public pPrintList() as String

How can I test it to see if it has
been initialized with an element (ReDim pPrintList(12) )
with out causing "NullReferenceException" error
if no elements exist
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top