Hi CASH,
I think there is a misunderstanding about the PlanetPress flow, and using arrays in a form to load those values would actually add overhead since it would be an extra task that is not necessary. A PlanetPress form is intended to be outputted as a PS file, either to be converted to PDF, or interpreted as is by a printer RIP. Loading those values from a file to put them in an array, to then read them from there, would actually be an extra step, compared to showing/building logic, using the data directly.
Since this whole discussion is based likely on a misunderstanding (on either side, to be determined...), I would recommend you open a ticket with tech support so we can actually discuss this all, while also doing a remote session, looking at the resources and discussing the needs and possible approaches.
What is the end result expected? Is it to show "10" on the form when we find "electric" in the data and "20" when we find "gas"? If so, such logics don't need arrays, or any variables for that matter.
Please advise.
Regards,
Olivier