<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Append Array to empty Array in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/append-array-to-empty-array/m-p/13524687#M34833</link>
    <description>&lt;P&gt;Dear all&lt;/P&gt;
&lt;P&gt;I want to construct an Array of Arrays using the available Array. operators maximally. I start with an empty array A = Array[0] and want to add e.g. the Arrays [1,2,3] and [4,5,6] subsequently, to end up with the Array A = Array[2] = {[1,2,3],[4,5,6]}.&lt;/P&gt;
&lt;P&gt;However, using the &lt;EM&gt;append &lt;/EM&gt;operation twice on A, i.e. A.append([1,2,3]) followed by A.append([4,5,6]), I end up with A = {1,2,3,4,5,6}, not really what I want. Is there a simple way to force the append operation to treat the Array parameter as one row element to be added, instead of as a group of separate elements?&lt;/P&gt;
&lt;P&gt;Thanks in advance, kind regards&lt;/P&gt;
&lt;P&gt;Laurenz Peleman&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2017 10:28:18 GMT</pubDate>
    <dc:creator>laurenz_peleman</dc:creator>
    <dc:date>2017-06-09T10:28:18Z</dc:date>
    <item>
      <title>Append Array to empty Array</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/append-array-to-empty-array/m-p/13524687#M34833</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;
&lt;P&gt;I want to construct an Array of Arrays using the available Array. operators maximally. I start with an empty array A = Array[0] and want to add e.g. the Arrays [1,2,3] and [4,5,6] subsequently, to end up with the Array A = Array[2] = {[1,2,3],[4,5,6]}.&lt;/P&gt;
&lt;P&gt;However, using the &lt;EM&gt;append &lt;/EM&gt;operation twice on A, i.e. A.append([1,2,3]) followed by A.append([4,5,6]), I end up with A = {1,2,3,4,5,6}, not really what I want. Is there a simple way to force the append operation to treat the Array parameter as one row element to be added, instead of as a group of separate elements?&lt;/P&gt;
&lt;P&gt;Thanks in advance, kind regards&lt;/P&gt;
&lt;P&gt;Laurenz Peleman&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 10:28:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/append-array-to-empty-array/m-p/13524687#M34833</guid>
      <dc:creator>laurenz_peleman</dc:creator>
      <dc:date>2017-06-09T10:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Append Array to empty Array</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/append-array-to-empty-array/m-p/13524688#M34834</link>
      <description>&lt;P&gt;Question solved, .push did the trick&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 11:10:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/append-array-to-empty-array/m-p/13524688#M34834</guid>
      <dc:creator>laurenz_peleman</dc:creator>
      <dc:date>2017-06-09T11:10:48Z</dc:date>
    </item>
  </channel>
</rss>

