I've made a few data types in my app.
I want to make a third type called 'Part' that comprises of an array of 30 block variables and one datOffsets variable. Is this possible?
This declaration gives me a nullPointerException when I try to use a Part variable.
B4X:
Type Block (DBB As String, POB As String, DOB As String, SpringBack As String, Stacks As Int, YBIFZ As String, _
BCIFZ As String, SplitDie As String, CNeg As String, CExtra As String, Hold As Int, YSpeed As Int, BSpeed As Int, CSpeed As Int, _
MandExt As Int, MandTmr As Int, MandOsc As Int, PDTmr As Int, LubeTmr As Int, YOvt As Int, ClampingOrder As Int)
Type datOffsets (YLoad As String, YPark As String, YMin As String, TubeDiameter As String, ColletDepth As String, HitchLength As String, _
TubeLength As String, ClampLength As String, PDieLength As String)
I want to make a third type called 'Part' that comprises of an array of 30 block variables and one datOffsets variable. Is this possible?
B4X:
Type Part(bl(30) As Block, Off As datOffsets)
This declaration gives me a nullPointerException when I try to use a Part variable.