<?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: Text file input to gdl in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91007#M28136</link>
    <description>Look in the GDL manual for the Text I/O functions. It is toward the end since it is an add-on/extension and not a core part of GDL. The manual can be a bit cryptic at times but it does list all the file handling procedures, commands, etc.</description>
    <pubDate>Fri, 09 May 2008 01:01:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-05-09T01:01:08Z</dc:date>
    <item>
      <title>Text file input to gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91006#M28135</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Can any one help me with text file input into a GDL program.&lt;BR /&gt;
&lt;BR /&gt;
I have a text file with one letter in it and that file is sitting in the Arhicad Data Folder. I want to read that one letter and have it as a variable in my GDL program. I have been going round and round in circles by trying to follow information in the GDL help. Thank you in advance for any help.&lt;BR /&gt;
&lt;BR /&gt;
Archicad V11&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 May 2008 20:51:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91006#M28135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-08T20:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Text file input to gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91007#M28136</link>
      <description>Look in the GDL manual for the Text I/O functions. It is toward the end since it is an add-on/extension and not a core part of GDL. The manual can be a bit cryptic at times but it does list all the file handling procedures, commands, etc.</description>
      <pubDate>Fri, 09 May 2008 01:01:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91007#M28136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-09T01:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Text file input to gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91008#M28137</link>
      <description>You should also check the other possibilities: one is DATA I/O and I think there is also an XML ability. Maybe that would serve you purpose better.</description>
      <pubDate>Fri, 09 May 2008 16:35:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91008#M28137</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-05-09T16:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Text file input to gdl</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91009#M28138</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
Just put this in the master script;&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="green"&gt;ch1=OPEN("TEXT","Mytextfile.txt","SEPARATOR='\t',MODE=RO")&lt;BR /&gt;
n=INPUT(ch1,1,1,value01, value02, value03, value04, value05)&lt;BR /&gt;
CLOSE (ch1)&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
...so it reads a file named "Mytextfile.txt" from your Archicad Data folder. &lt;BR /&gt;
 This example takes in five values from the first row, starting from the first value.&lt;BR /&gt;
'\t' means that values are separated with a tab which means the same as an Excel file &lt;BR /&gt;
saved as a 'Tab separated text'.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.</description>
      <pubDate>Sun, 11 May 2008 19:51:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Text-file-input-to-gdl/m-p/91009#M28138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-11T19:51:10Z</dc:date>
    </item>
  </channel>
</rss>

