<?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 Forward Migration - Arrays in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Forward-Migration-Arrays/m-p/371090#M743</link>
    <description>&lt;P&gt;In an old GDL object I have values stored in a 10 x 8 parameter arrNameA. I want to extract the values in columns 6 &amp;amp; 7 e.g. arrNameA [#][6] into a new parameter array arrNameB in the new object. Is it possible to split these values out in the migration script?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hoping this will work...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!!!FORWARD MIGRATION SCRIPT

DIM arrNull2[][], arrTemp[][]
arrNull2[1][1] = 0.00

xx = STORED_PAR_VALUE ("arrNameA", arrTemp)				
IF xx THEN
   FOR n = 1 TO VARDIM1(arrTemp)
	arrNameB[n][1] = arrTemp[n][6]
	arrNameB[n][2] = arrTemp[n][7]
    NEXT n

arrTemp = arrNull2
PARAMETERS arrNameB = arrNameB

ENDIF
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 16:39:32 GMT</pubDate>
    <dc:creator>DGSketcher</dc:creator>
    <dc:date>2023-02-20T16:39:32Z</dc:date>
    <item>
      <title>Forward Migration - Arrays</title>
      <link>https://community.graphisoft.com/t5/GDL/Forward-Migration-Arrays/m-p/371090#M743</link>
      <description>&lt;P&gt;In an old GDL object I have values stored in a 10 x 8 parameter arrNameA. I want to extract the values in columns 6 &amp;amp; 7 e.g. arrNameA [#][6] into a new parameter array arrNameB in the new object. Is it possible to split these values out in the migration script?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hoping this will work...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!!!FORWARD MIGRATION SCRIPT

DIM arrNull2[][], arrTemp[][]
arrNull2[1][1] = 0.00

xx = STORED_PAR_VALUE ("arrNameA", arrTemp)				
IF xx THEN
   FOR n = 1 TO VARDIM1(arrTemp)
	arrNameB[n][1] = arrTemp[n][6]
	arrNameB[n][2] = arrTemp[n][7]
    NEXT n

arrTemp = arrNull2
PARAMETERS arrNameB = arrNameB

ENDIF
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 16:39:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Forward-Migration-Arrays/m-p/371090#M743</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-02-20T16:39:32Z</dc:date>
    </item>
  </channel>
</rss>

