<?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 from text file problem in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Array-from-text-file-problem/m-p/282982#M3921</link>
    <description>I usually load the whole list of the "header column" first, and then analyze the content, and on the second open I open the proper row data. (I use it for localization and for finish definition)&lt;BR /&gt;
See the steel beam/column objects - that is a good working example.&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
    <pubDate>Thu, 12 Apr 2018 15:25:27 GMT</pubDate>
    <dc:creator>Piotr Dobrowolski</dc:creator>
    <dc:date>2018-04-12T15:25:27Z</dc:date>
    <item>
      <title>Array from text file problem</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Array-from-text-file-problem/m-p/282981#M3920</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;&lt;PRE&gt;DIM sarray[]
var = ""
filename = "ProjectNotes.txt"
ch1 = OPEN ("text", filename, "MODE=RO, LIBRARY")
i = 1
j = 1
y = 1
sarray&lt;J&gt;=""
repeat
	n = INPUT (ch1, y, 1, var)
	pos = STRSTR (var, "EF-25")
	L1 = STRSUB (var, 1, pos)
	
	sarray&lt;J&gt; = var
	j=j +1
	i=i+1
	y=y+1
until var = prefix
CLOSE ch1
VALUES "refnote" sarray&lt;/J&gt;&lt;/J&gt;&lt;/PRE&gt;

This repeats over and over thus causing a crash but I think it’s something along the lines that I am going for. I want it to repeat until one of the lines in my contains “EF-25” then not include that line. If anyone can help me solve it then I would really appreciate it!&lt;BR /&gt;
&lt;BR /&gt;
If it can't be solved then I'd appreciate knowing that too, or if what I am trying to do can't be achieved.&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:21:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Array-from-text-file-problem/m-p/282981#M3920</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2018-04-12T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Array from text file problem</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Array-from-text-file-problem/m-p/282982#M3921</link>
      <description>I usually load the whole list of the "header column" first, and then analyze the content, and on the second open I open the proper row data. (I use it for localization and for finish definition)&lt;BR /&gt;
See the steel beam/column objects - that is a good working example.&lt;BR /&gt;
&lt;BR /&gt;
Piotr</description>
      <pubDate>Thu, 12 Apr 2018 15:25:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Array-from-text-file-problem/m-p/282982#M3921</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2018-04-12T15:25:27Z</dc:date>
    </item>
  </channel>
</rss>

