Hi,
I have noticed a couple of issues with arrays -
First:
I bound the text of a DataEditor control with a RAPID array of string, and bound the 0 index for the array to an Application Variable. It simply doesn’t work. When the app is running, the text in the data editor stays on element 0 of the array, and when I click on it to edit I get the error that the index 0 is invalid for the array. However I have put a tpslabel control on the same screen, displaying the app variable (which comes from a ListBox selection), and it updates fine, so it seems that the application variable doesn’t hook into the array properly. Hmmm.
Second:
ListBox indexes start from 0, yet in RAPID all array indexes start from 1, so hooking the two together is tedious. My example is a product selection screen, where the op picks his product from a LostBox (populated from RAPID), and on the same screen some details of that product should be showing up (as per the above issue), so I need the details to correspond to the product selected in the ListBox, but the 0/1 discrepancy makes that impossible. Perhaps Screenmaker indexes should start from 1 also?
Any input is welcomed on this one.