I converted a Module to Class. I have done this a few times with success.
The class is just about everything that was in the module - methods, properties, arrays etc.
I am now having a problem of the class not being instantiated.
There appears to be an exception. If I step through in the debugger, it is instantiated.
This code is in the method that opens a file.
If f.Exists Then//folderitem which exists
ArMnt = New ArryMaintCL//ignored
AmArray = New RowRwClass()//ignored
ArMnt is of type ArryMaintCL. ArryMaintCL is the Class (of the previous module). Yes the analyzer likes my code.
It has no constructor, and doesn’t really need one.
But ArMnt is now Nil. Also the same thing happens with another class AmArray.