<?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 Re: Array arrangement method? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Array-arrangement-method/m-p/243878#M2006</link>
    <description>&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;    dim test[],st[]
    test[1]=2.2
    test[2]=1
    test[3]=3.5
    test[4]=4
    test[5]=5.3

    for i = 1 to 5
        sl=1
        for i2= 1 to 5
            if test&lt;I&gt;&amp;gt;test[i2] then sl=sl+1
        next i2
        st[sl]=test&lt;I&gt;
    next i
	print st
&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

If it is an integer, you can use this simple way of writing.
&lt;PRE&gt;    dim test[],st[]
    test[1]=2
    test[2]=1
    test[3]=4
    test[4]=5
    test[5]=3
	for i = 1 to 5
        st[test&lt;I&gt;] = test&lt;I&gt;
    next i
    print st
&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Jul 2019 01:37:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-31T01:37:24Z</dc:date>
    <item>
      <title>Array arrangement method?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Array-arrangement-method/m-p/243877#M2005</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;HI!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
How to arrange arrays in GDL? Python is very simple&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I want to print such a result:&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Jul 2019 05:20:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Array-arrangement-method/m-p/243877#M2005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-30T05:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Array arrangement method?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Array-arrangement-method/m-p/243878#M2006</link>
      <description>&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;    dim test[],st[]
    test[1]=2.2
    test[2]=1
    test[3]=3.5
    test[4]=4
    test[5]=5.3

    for i = 1 to 5
        sl=1
        for i2= 1 to 5
            if test&lt;I&gt;&amp;gt;test[i2] then sl=sl+1
        next i2
        st[sl]=test&lt;I&gt;
    next i
	print st
&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

If it is an integer, you can use this simple way of writing.
&lt;PRE&gt;    dim test[],st[]
    test[1]=2
    test[2]=1
    test[3]=4
    test[4]=5
    test[5]=3
	for i = 1 to 5
        st[test&lt;I&gt;] = test&lt;I&gt;
    next i
    print st
&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jul 2019 01:37:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Array-arrangement-method/m-p/243878#M2006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-31T01:37:24Z</dc:date>
    </item>
  </channel>
</rss>

