Hello,<div><br></div><div>I am hoping someone could help me out.</div><div>My script is "too large to be compiled" so I am trying to have e-prime call from a text file instead. </div><div><br></div><div>Here is the code that I have been using:</div><div><div><br></div><div>open "FinalTstQuestionTXT2.txt" for Input as #1</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>For IndxArt=0 to Article_Count - 1</div><div><span class="Apple-tab-span" style="white-space:pre">           </span>For TxtCounter = 1 to FinalTstQ_Count<span class="Apple-tab-span" style="white-space:pre">       </span></div><div><span class="Apple-tab-span" style="white-space:pre">                     </span>Line Input #1, textstring$</div><div><span class="Apple-tab-span" style="white-space:pre">                   </span>'Articles(IndxArt).FinalTst(TxtCounter).FinalQuestion = textstring$</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>Next TxtCounter</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>Next IndxArt</div><div>close #1</div></div><div><br></div><div>The program compiles and the script is generated successfully, but when I try to run it, e-prime crashes, and I get the windows message. </div><div><br></div><div>I know that e-prime is reading from the file because when I set the FinalTstQ_count number to more than the number of lines in the text file, I get the "Input past end of file" error message (as expected). It seems that the problem occurs when e-prime gets to the end of the text file. </div><div><br></div><div>Any help would be greatly appreciated!</div><div>Thank you,</div><div>Marisa</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/kCPKL2LGInMJ">https://groups.google.com/d/msg/e-prime/-/kCPKL2LGInMJ</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />