I have just upgraded to 2.7 and am compiling a program that has been running under the previous versions of the compiler just fine.
Now I am receiving an "Object reference not set ot an instance of an object." on a type structure:
In the code the following generates the above mentioned error:
However, the below code works fine...
I don't understand why this is happening.
Any thoughts would be greatly appreciated.
Rusty
Now I am receiving an "Object reference not set ot an instance of an object." on a type structure:
B4X:
Type MRN(MRNID As String, FirstName As String, LastName As String, DOB As String)
Dim MRNInfo(100) As MRN
B4X:
For ii = 0 to 10
MRNInfo(ii).Initialize
MRNInfo(ii).MRNID = "" '<---<< this line generates the error
next
B4X:
Dim M As MRN
M.Initialize
M.MRNID = ""
Any thoughts would be greatly appreciated.
Rusty