Error : Object referrence not set to an instance of an object
Situation;
I have an array declared publicly (i.e. outside any events) as
Public Shared array_shuffle() As Integer
What I want to do is to be able to specify the length and elements of this array from inside events such as click event, however I am getting the error (specified above). The code that is triggering the error is this line;
array_shuffle(0) = 0
I think that the '0' inside the parenthesis is the culprit here but I am not quite sure.
Please let me know if you have other questions
Thanks
Dean