Dynamic BI-Dimensional Array  [SOLVED]

Questions about MultiCharts and user contributed studies.
no erocla
Posts: 134
Joined: 31 May 2013
Has thanked: 60 times
Been thanked: 7 times

Dynamic BI-Dimensional Array  [SOLVED]

Postby no erocla » 12 Feb 2016

Is possible to declaring a dynamic bi dimensional array in power language ?

Regards
No Erocla

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Dynamic BI-Dimensional Array

Postby JoshM » 12 Feb 2016

Is possible to declaring a dynamic bi dimensional array in power language ?
Maybe; depends on what a 'Dynamic BI' is. If I Google it, there's a company named this but also a Toyota car. Both are not available in PowerLanguage. :)

If you want help, it might help if you help us help you.

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Dynamic BI-Dimensional Array

Postby sptrader » 12 Feb 2016

Since "BI" usually means 2 , I would assume he means a dynamic 2 dimensional array...

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Dynamic BI-Dimensional Array

Postby JoshM » 13 Feb 2016

Since "BI" usually means 2 , I would assume he means a dynamic 2 dimensional array...
Good point. On StackOverflow there are around 4 questions per month that use bi-dimensional array to mean a 2D array, so quite rare but it is a known term. I didn't knew that so I learned something new today.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Dynamic BI-Dimensional Array

Postby TJ » 13 Feb 2016

Since "BI" usually means 2 , I would assume he means ...
I do not assume anything. It makes an... a** out of U and Me.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Dynamic BI-Dimensional Array

Postby JoshM » 13 Feb 2016

Since "BI" usually means 2 , I would assume he means ...
I do not assume anything. It makes an... a** out of U and Me.
We can't do without assumptions (not when we try to), and it's also an assumption to assume that assumptions make us something 'unpleasant'.

Luckily, we don't need to concern ourselves with this thread anymore since the author already received an answer to his crosspost on BMT. I think we can assume that we all wasted a little bit of our time here, moving towards answering something that's already answered.

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Dynamic BI-Dimensional Array

Postby sptrader » 13 Feb 2016

Since "BI" usually means 2 , I would assume he means ...
I do not assume anything. It makes an... a** out of U and Me.

* That's only true, if the assumption is wrong.. lol

janus
Posts: 835
Joined: 25 May 2009
Has thanked: 63 times
Been thanked: 104 times

Re: Dynamic BI-Dimensional Array

Postby janus » 14 Feb 2016

By definition bi-dimensional means two-dimensional. As far as I know you can't create dynamic multi-dimensional arrays in EL.

User avatar
fbertram
Posts: 166
Joined: 16 Oct 2014
Location: Seattle, USA
Has thanked: 36 times
Been thanked: 76 times
Contact:

Re: Dynamic BI-Dimensional Array

Postby fbertram » 14 Feb 2016

While Easy Language can't create dynamic 2-dimensional arrays, it is possible to do that by integrating Lua into Multicharts. See this thread:
viewtopic.php?f=1&t=49332

Cheers, Felix

janus
Posts: 835
Joined: 25 May 2009
Has thanked: 63 times
Been thanked: 104 times

Re: Dynamic BI-Dimensional Array

Postby janus » 14 Feb 2016

You can do pretty much the same thing with most other languages using DLLs. I've done it with FreeBASIC.

User avatar
ABC
Posts: 718
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Dynamic BI-Dimensional Array

Postby ABC » 15 Feb 2016

A collection of lists or maps would provide a multi dimensional and dynamic solution for storing values, too.

Regards,

ABC


Return to “MultiCharts”