I need a sanity check for these scripts. When I create a string array of length 1 and set the first element to the string value "None" the array will return an actual none when its retrieved later with myArray[0].
Event OnSample() Debug.MessageBox(MakeArrayA()[0]) ; Undefined Debug.MessageBox(MakeArrayB()[0]) ; "Empty"EndEventstring[] Function MakeArrayA() String[] sArray = new String[1] sArray[0] = "None" ; returns a none element return sArrayEndFunctionstring[] Function MakeArrayB() String[] sArray = new String[1] sArray[0] = "Empty" ; returns a string "Empty" return sArrayEndFunction
If thats how it works then whats up with that?