Hello,
I've got a problem with "combining" several arrays into one bigger.
Let's assume I have arrays "A" and "B" - both are unknown size, but both are one-dimensional. I'd like to receive array "c":
How can I perform that with AEL code?
Thank you for help.
Regards
jjj9
I've got a problem with "combining" several arrays into one bigger.
Let's assume I have arrays "A" and "B" - both are unknown size, but both are one-dimensional. I'd like to receive array "c":
How can I perform that with AEL code?
Thank you for help.
Regards
jjj9
However strictly speaking these are not arrays in ADS. The correct format is using square brackets [] instead of curly braces, such as
A=[1,2] B=[34,456]
To combine the two arrays you can use the following syntax:
c=[a,b]
which results in
c=[1,2,34,456]