rQx
Lifetime Supporting Member
Hi!
I'm working on a program with several arrays. I have one integer that I want to use to choose witch array will get assigned a value. For example:
I have a Dint value of 1234
I have a Int (my choosing tag) with the value of 5
I have a Array[1..10] of Dint
Now I want to move the Dint value to the Array number 5. Is there a easy way of doing this so that I don't have to use one comparator for each situation? I have several of these arrays and I don't want to make any unnecessary (no idea how to spell that) work.
/Tim
I'm working on a program with several arrays. I have one integer that I want to use to choose witch array will get assigned a value. For example:
I have a Dint value of 1234
I have a Int (my choosing tag) with the value of 5
I have a Array[1..10] of Dint
Now I want to move the Dint value to the Array number 5. Is there a easy way of doing this so that I don't have to use one comparator for each situation? I have several of these arrays and I don't want to make any unnecessary (no idea how to spell that) work.
/Tim