Hello,
I have a structure (str,str,str,int) of this format and I want to store this structure into an array
the structure will have 50 records or more…but iam unable to put that into an array any help would be great
Hello,
I have a structure (str,str,str,int) of this format and I want to store this structure into an array
the structure will have 50 records or more…but iam unable to put that into an array any help would be great
Can you give show us the code and explain what prevents you from adding Struct it to an array?
This is what I would do (in fact, I almost never use Struct) and it works, so you must be doing something else:
Struct struct = new Struct();
Array array = new Array(Types::Class);
;
struct.add("ID", "12345");
array.value(1, struct);
struct = array.value(1);
info(struct.value("ID"));