<html><div style='background-color:'><DIV class=RTE>Hi!<BR></DIV>
<DIV class=RTE>I have a question about arrays that I cannot really figure out on my own. </DIV>
<DIV class=RTE>I have a variable with a number of items in a list. I want these items added to an array in the beginning of the experiment because I want to search through the array through out the course of the experiment, e.g. "If the subject´s response in the array then do X, otherwise do Y". I have no problems with the code for searching the array. But I do have problems with adding all of the items in the list to an array in an economical fashion. </DIV>
<DIV class=RTE>I have set up a trial procedure with an inline script so the experiment goes through all the items in the list, one by one, and adding them to the array. But this generates a lot of saved trials and the datafile gets messy (of course I can filter the data file, but still....). Is there any way to, in one big fat step, just add a whole list of items to an array, without using any trialprocedure, but just referring to the list?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Best regards</DIV>
<DIV class=RTE>Tobias Johansson</DIV>
<DIV class=RTE>Lund University, Sweden</DIV></div><br clear=all><hr>Express yourself instantly with MSN Messenger! <a href="http://g.msn.com/8HMBEN/2737??PS=47575" target="_top">MSN Messenger</a> Download today it's FREE!</html>