Search the Community
Showing results for tags 'array'.
Found 3 results
I need to create an array with the following values: 1 0.6 2 1.5 3 2.5 4 3.5 5 4.5 6 5.5 7 6.5 8 7.5 9 8.5 10 9.5 11 10.5 12 11.5 13 12.5 14 13.5 15 14.5 16 16 17 18.5 18 22.5 19 27.5 20 32.5 21 40 22 63.5 So, when I increment through the array, it would return the values. For example %test% = 2.5 How can I load these values into the array without having to manually enter a modify variable for each value? Mark
There are lots of times when I wish MEP would allow more than one dimension for a variable array. A simple example would be when I'm trying to store the contents of a spreadsheet. I could use one dimension for the row, and the other for the column. That way I could refer to an array element as, say, T[5,4]. As far as I know, this is not possible. Does anyone have a way to deal with this limitation? I've thought about using an array where the elements are other arrays, but I haven't figured out how to make that work. A 2-dimensional array would be so much easier. Any ideas? Rich
Hi, Can someone share an example of dynamic array? I need to accept value from user and store it in an array which can be used later on. The user will enter '0' to end the loop else it will keep on storing the values in an array variable. Thanks in Advance.