Author Topic: How do I access the thing inside the brackets in an array?  (Read 710 times)

I am trying to get the thing inside the brackets of an array like: "$Array[Stuff]"
I need to get "Stuff: NOT the value of the array.

There's no way to determine which array cells have value without someone knowing which dimensions can be set.

I am trying to get the thing inside the brackets of an array like: "$Array[Stuff]"
I need to get "Stuff: NOT the value of the array.

What for? We may be able to come up with a better way of doing it.

You could probably export $Array to a file then get a script to read through it.

I believe it's done through export("$Array*", "config/somewhere/filename", 0);
0 is a flag to overwrite the file with a new export instead of adding the export to the end.
« Last Edit: February 22, 2012, 04:48:15 PM by -Jetz- »

May I ask why you need to do so? I'm sure there's another (probably better) way we can help you do this.