<DIV>I'm resurrecting an ancient thread, because a problem emerged when I followed its instructions. Because I had a difficulty with the ideas presented, I'm assuming that sometime in the future someone else may have the issue and I can spare them the grief.</DIV>
<DIV> </DIV>
<DIV>(XKCD (as usual) provides some amusing interpretation of the situation <A href="http://xkcd.com/979/">http://xkcd.com/979/</A>)</DIV>
<DIV> </DIV>
<DIV>In regards to loading a list from text file this information was provided.</DIV>
<DIV> </DIV>
<DIV>On Thursday, January 14, 2010 12:15:34 AM UTC+13, liwenna wrote:</DIV>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote>
<P>.... 
<P>For the die-hard coders among us you could/should insert a<BR>listname.reset either somewhere AFTER the list has run or at the total<BR>beginning of the above code, before it loads the .txt file into the<BR>list. ...</P></BLOCKQUOTE>
<DIV>I had loaded an example scripted in a Eprime List Object, which could be a different size than some of the alternative lists. I followed these instructions (and because I didn't think everything through) placed the List.Reset BEFORE the loading code. This gave me a very unexpected and nonobvious error. At a cursory test everything worked correctly, but it there was a hidden problem. The problem was that the characteristics of the original list was still present and were overwriting infromation about the the new List. Examples to clarify the behavior.</DIV>
<DIV> </DIV>
<DIV>Problem Free Example</DIV>
<DIV>ListX is a List Object referencing List1 (size = 100 lines)</DIV>
<DIV>In an inline Object i replace ListX with List2 (size = 100 lines)</DIV>
<DIV>When I run ListX, it has 100 samples. All 100 are from List2. (Everything is fine)</DIV>
<DIV> </DIV>
<DIV>
<DIV>Too Short Example</DIV>
<DIV>ListX is a List Object referencing List1 (size = 100 lines)</DIV>
<DIV>In an inline Object i replace ListX with List3 (size = 80 lines)</DIV>
<DIV>When I run ListX, it has 100 samples. 80 from List3 and the last 20 lines from List1.</DIV>
<DIV> </DIV>
<DIV>Too Long Example</DIV>
<DIV>ListX is a List Object referencing List1 (size = 100 lines)</DIV>
<DIV>In an inline Object i replace ListX with List2 (size = 120 lines)</DIV>
<DIV>When I run ListX, it has 100 samples. The last 20 lines from List2 are absent from the list.</DIV>
<DIV> </DIV>
<DIV>To solve this problem the List.Reset must occur AFTER the List.Load statement.</DIV>
<DIV> </DIV>
<DIV>Cheers,</DIV>
<DIV>Pt</DIV></DIV>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/2o2oTOsi9mcJ">https://groups.google.com/d/msg/e-prime/-/2o2oTOsi9mcJ</a>.<br /> 
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />

For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />