IonicWind Software

IWBasic => The Roundtable => Topic started by: billhsln on June 22, 2015, 11:54:29 PM

Title: Way to index into variables
Post by: billhsln on June 22, 2015, 11:54:29 PM
You must create the fields in order and in one group, see a0-a9 or a9-a0 which are defined as INT, which has a length of 4.  That way they are in memory sequentially.  This gives you a way to reference each field individually or do a pseudo index to reference or update the fields.  I am not sure why it creates them in memory in the reverse order, but that is how it works on my PC running Win 8.1 Pro.  This might make some ones program a little easier to work on or at least give you a few more options on how to access and modify your fields.

Bill