<?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: A way to do like PUT/GET with strings in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120730#M18423</link>
    <description>yes it's what i did for the parameters values.&lt;BR /&gt;
&lt;BR /&gt;
my problem is for the pictures, i thought about something like this , make an array with all values for picture and then i give the array in parameters&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DIM pict[][]&lt;BR /&gt;
&lt;BR /&gt;
FOR i=1 to VARDIM1(param)&lt;BR /&gt;
&lt;BR /&gt;
    pict&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[1] = param&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt; + ".png"            !! name of the picture&lt;BR /&gt;
    pict&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[2] = param&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;                         !! text&lt;BR /&gt;
    pict&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[3] = param&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;                         !! the value definition&lt;BR /&gt;
&lt;BR /&gt;
NEXT i&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
UI_INFIELD{3} param, 0,  0, 100, 100,&lt;BR /&gt;
2, "",&lt;BR /&gt;
0,0,0,0,&lt;BR /&gt;
100, 100,&lt;BR /&gt;
pict&lt;BR /&gt;
&lt;BR /&gt;
it don't work&lt;BR /&gt;
it try also with loops, same thing</description>
    <pubDate>Wed, 27 Oct 2010 14:57:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-10-27T14:57:33Z</dc:date>
    <item>
      <title>A way to do like PUT/GET with strings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120728#M18421</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi &lt;BR /&gt;
&lt;BR /&gt;
I want to make a dynamic INFIELD, where the number of items are determined by a .txt file and can vary from an user to one other.&lt;BR /&gt;
&lt;BR /&gt;
i thought about the PUT and GET but it don't work with strings.&lt;BR /&gt;
&lt;BR /&gt;
is anyone know a method to perform this in an other way ?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Oct 2010 12:40:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120728#M18421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-26T12:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: A way to do like PUT/GET with strings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120729#M18422</link>
      <description>Make an array and use the PARAMETERS statement to put in the string values.</description>
      <pubDate>Wed, 27 Oct 2010 06:45:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120729#M18422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-27T06:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: A way to do like PUT/GET with strings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120730#M18423</link>
      <description>yes it's what i did for the parameters values.&lt;BR /&gt;
&lt;BR /&gt;
my problem is for the pictures, i thought about something like this , make an array with all values for picture and then i give the array in parameters&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DIM pict[][]&lt;BR /&gt;
&lt;BR /&gt;
FOR i=1 to VARDIM1(param)&lt;BR /&gt;
&lt;BR /&gt;
    pict&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[1] = param&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt; + ".png"            !! name of the picture&lt;BR /&gt;
    pict&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[2] = param&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;                         !! text&lt;BR /&gt;
    pict&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;[3] = param&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;                         !! the value definition&lt;BR /&gt;
&lt;BR /&gt;
NEXT i&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
UI_INFIELD{3} param, 0,  0, 100, 100,&lt;BR /&gt;
2, "",&lt;BR /&gt;
0,0,0,0,&lt;BR /&gt;
100, 100,&lt;BR /&gt;
pict&lt;BR /&gt;
&lt;BR /&gt;
it don't work&lt;BR /&gt;
it try also with loops, same thing</description>
      <pubDate>Wed, 27 Oct 2010 14:57:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120730#M18423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-27T14:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: A way to do like PUT/GET with strings</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120731#M18424</link>
      <description>Jevrod,&lt;BR /&gt;
if you use param without [] in UI_INFIELD, you will alway get a table representation of the array.&lt;BR /&gt;
If you use param&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;, you have to define VALUES in the Parameter-Script like:&lt;BR /&gt;
&lt;BR /&gt;
VALUES "param" 	"text1","text2","text3","text4"&lt;BR /&gt;
&lt;BR /&gt;
Then you can write something like tghis in the UI:&lt;BR /&gt;
&lt;BR /&gt;
	ui_infield{3} param[1], 0, 0, 240, 136,&lt;BR /&gt;
		2, pict[1][3], 4, 4,&lt;BR /&gt;
		240,136,240,136,&lt;BR /&gt;
		1, "text1",		"text1",&lt;BR /&gt;
		2, "text2", 	"text2",&lt;BR /&gt;
		3, "text3", 	"text3",&lt;BR /&gt;
		4, "text4", 	"text4"&lt;BR /&gt;
&lt;BR /&gt;
Don't know, if this is what you want.</description>
      <pubDate>Mon, 01 Nov 2010 15:51:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/A-way-to-do-like-PUT-GET-with-strings/m-p/120731#M18424</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2010-11-01T15:51:39Z</dc:date>
    </item>
  </channel>
</rss>

