dumb array question

Questions about MultiCharts and user contributed studies.
User avatar
joebone
Posts: 175
Joined: 05 Sep 2018
Has thanked: 53 times
Been thanked: 4 times

dumb array question

Postby joebone » 21 Jun 2021

I looked through the wiki and I can't seem to find it so sorry for this dumb question.

I have 2 100 1D arrays. I want to combine them to a 200 1D array. How do I do this?

User avatar
Kate MultiCharts
Posts: 591
Joined: 21 Oct 2020
Has thanked: 9 times
Been thanked: 148 times

Re: dumb array question

Postby Kate MultiCharts » 23 Jun 2021

Hello joebone,

You can combine several arrays. For example, here’s how to combine 2:
Create a separate array Size1 Mass + Size2 Mass. Then, element by element, copy the first 2 arrays into the third one.
You can combine more arrays by analogy.

You can also use array_copy keyword in the PowerLanguage Editor.

User avatar
joebone
Posts: 175
Joined: 05 Sep 2018
Has thanked: 53 times
Been thanked: 4 times

Re: dumb array question

Postby joebone » 24 Jun 2021

Thanks Kate


Return to “MultiCharts”