i'm facing something with b4j
when i define a type for example type mytype(a(64) as int, b(64) as int)
next i define a global
dim new as mytype
in the code i do new.a(3)=14 the program crashes ...with nullpointer exeption .. why?
b4j accepts the array in the type, no errors given but i cant write into it
when i define a type for example type mytype(a(64) as int, b(64) as int)
next i define a global
dim new as mytype
in the code i do new.a(3)=14 the program crashes ...with nullpointer exeption .. why?
b4j accepts the array in the type, no errors given but i cant write into it