Array_SetMaxIndex for 2 dimension dynamic arrays ?

Questions about MultiCharts and user contributed studies.
SP
Posts: 453
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 283 times

Array_SetMaxIndex for 2 dimension dynamic arrays ?

Postby SP » 20 Jun 2012

I have an 2 dimension fixed length array with
array: PctChgData[50,25](0);

and i want to change the 2 parameters (50, 25) via a input and make it a 2 dimension dynamic array. Is there a solution?

User avatar
Henry MultiСharts
Posts: 9064
Joined: 25 Aug 2011
Has thanked: 1256 times
Been thanked: 2911 times

Re: Array_SetMaxIndex for 2 dimension dynamic arrays ?

Postby Henry MultiСharts » 20 Jun 2012

SP wrote:I have an 2 dimension fixed length array with
array: PctChgData[50,25](0);

and i want to change the 2 parameters (50, 25) via a input and make it a 2 dimension dynamic array. Is there a solution?

Hello SP,

A dynamic array is a one-dimensional array. Unfortunately that does not seem to be possible to achieve your goal.


Return to “MultiCharts”