<div dir="ltr">Hi Mattias,<div><br></div><div>I would use label object for that.</div><div>try put your sentences into list under two attributes (say, Target and Question) and mark empty cells in the Question as 0.</div><div>the procedure would be the following: </div><div>Target TextDisplay</div><div>InLine</div><div>Question TextDisplay</div><div>Label_NoQuestion</div><div><br></div><div>InLine content: </div><div>If c.GetAttrib ("Question")="0" then </div><div>GoTo Label_NoQuestion</div><div>Else</div><div>End If</div><div><br></div><div>it should work. </div><div>good luck!</div><div>armina</div><div><br></div><div><br><br>On Wednesday, 7 May 2014 22:06:59 UTC+3, mattias...@gmail.com wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi,<div><br></div><div>I am putting together an experiment in the builder and have run into a small problem I can't seem to solve.</div><div><br></div><div>The experiment is a list of 120 sentences being showed in random order by a TextDisplay. 32 of these have a comprehension question to go with them. All sentences are paired up in the same .txt-file, and by the 88 of the 120 sentences that lack a comprehension question there is a gap (alternatively a 'junk value') instead of a comprehension question.</div><div><br></div><div>I have set this up as follows: a main list with the 120 sentences as one list attribute, which is retrieved from a file saved on the hard drive. I have just typed in [<120sentences>] the first row ("ID") so that it retrieves the lot from a tab delimited text file, and the same name ([<120sentences>]) in the TextDisplay window. Then I have a nested list (List2) in the one containing the 120 sentences (List1). It has the same set up: 1 attribute; this time with [<32 sentences + (120-32) gaps where I have no text>], so that it retrieves all those sentences from the other row in the list. The text files are set up correctly and function. The thing I cannot do is get rid of the 88 gaps which pop up every time I run the program. The gaps are there because I need to make sure that the comprehension question is paired up with the correct sentence.</div><div><br></div><div>I have tried a number of things:</div><div><br></div><div>1) I have tried to set the default value of the list to "nothing at all", and had no value at all in the gap next to sentences which lack a comprehension question to see if I could instruct the program to simply not print anything for those places in the list.</div><div><br></div><div>2) I have tried to write a criterion in an inlist which says: If TextDisplay2.ACC = 0 then List2.Terminate 'TextDisplay2' is the text output I see on the screen coming from the nested list. 'List2' is the name of the nested list. To try and make the program terminate and go back to the start of the loop - List 1 (and rest of the loop)... followed by List 2... - then from the beginning again - before it performs the process that leads to the pop up of a blank slide with the default value on it. I have not got this to work. I have tried with other values than 0 - "x" for a string of "x" in it, and then put "x" in all those gaps in the list I have made. That did not work though.</div><div><br></div><div>3) I have tried to put all the values in the nested list into the list manually in Eprime, by making 120 rows, and then putting the Weight to 0 for all the Gap sentences with the hope that this will instruct the program to not print these ones. But that does not work either, it still prints them.</div><div><br></div><div>I have probably done one or few other things I cannot remember right now, but these 3 points summarize the main strategies I have been using, so all those other attempts have just been variations on them. The fact stands that none of them seem to work.</div><div><br></div><div>So I'd be indebted to anybody who cared to offer some pointers, thanks. I have looked in the manual, that's how I found the inLine "If ---.ACC = X then ---.Terminate". Maybe I am not looking hard enough...</div><div><br></div><div>Grateful for your assistance!</div><div><br></div><div>Regards,</div><div><br></div><div>Mattias</div></div></blockquote></div></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 <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/b5a51c09-bc99-4e93-a9ea-b0888da2e73d%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/b5a51c09-bc99-4e93-a9ea-b0888da2e73d%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />