<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Stephane,<br>
<br>
you can do this without using arrays or other Inline code:<br>
<br>
Create a new List (i call it Dispatcher). This List will have as many
rows as you have subject groups (let's say 3) and no extra attributes.
Create three new procedures (proc1, proc2, proc3) in the 'Procedure'
column of this List.<br>
Dispatcher:<br>
<table border="1" cellpadding="2" cellspacing="2" height="116"
 width="310">
  <tbody>
    <tr>
      <td valign="top">Weight<br>
      </td>
      <td valign="top">Nested<br>
      </td>
      <td valign="top">Procedure<br>
      </td>
    </tr>
    <tr>
      <td valign="top">1<br>
      </td>
      <td valign="top"><br>
      </td>
      <td valign="top">proc1<br>
      </td>
    </tr>
    <tr>
      <td valign="top">1<br>
      </td>
      <td valign="top"><br>
      </td>
      <td valign="top">proc2<br>
      </td>
    </tr>
    <tr>
      <td valign="top">1<br>
      </td>
      <td valign="top"><br>
      </td>
      <td valign="top">proc3<br>
      </td>
    </tr>
  </tbody>
</table>
<br>
Each procedure only contains a single table (TrialTable1, Trialtable2,
...)  like the one you already have in your experiment. You can copy
the old one and edit the copys separately according to your pairings.<br>
<br>
To get the whole thing running you have to adjust 'Selection' and
'Reset/Exit' properties of the Dispatcher List:<br>
    Selection->Order: 'Offset'<br>
    Selection->Order by: 'Subject' (or 'Group' if you want more
control)<br>
    Exit List: after 1 samples<br>
<br>
Subject #1 will now get row 1 of the dispatcher, so proc1 will run with
TrialTable1<br>
Subject #2 will get row 2.....<br>
Subject #5 will get row 2.....<br>
Subject #n will get row n mod 3......<br>
<br>
If this was too confusing, feel free to write back.<br>
<br>
Robert<br>
<br>
<br>
De Brito, Stephane schrieb:
<blockquote
 cite="mid7AC047D44A8CD243B7FE9305102D5FD105B69BA7@MAIL.bc.iop.kcl.ac.uk"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceType">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
  <o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
  <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
  </style></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="IT">Dear E-prime
experts,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;" lang="IT"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">I am working on a task in
which the participant is presented
with pairs of picture on the screen. I have 10 different pictures and
each
picture is associated with a reinforcement value which stays the same
throughout the experiment (e.g. the cup  always wins you 900 points and
the cow always looses you 900 points). On each trial, the participant
has to
choose one of the two pictures presented (press ‘q’ for left hand
side picture and ‘p’ for right hand side picture) and win has many
points has he can. The reinforcement values are +900 +700 +500 +300
+100 -100
+300 +500 +700 +900. Sometimes the participant is presented with 2
pictures
associated with punishment (pun-pun trials) and has to choose the one
associated with the lowest punishment (i.e. scored as correct); on
pun-rew
trials the rew is scored as correct and on rew-rew trials the pictures
with
highest reinforcement value is scored as correct. <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">The task is running fine,
but I would like to change across participants
the reinforcement contingency for each picture so that, for example,
not every participant
wins 900 point when they choose the cup. At the moment, I have the
following
attributes in my listobject:<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
  <table class="MsoTableGrid"
 style="border: medium none ; border-collapse: collapse;" border="1"
 cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td
 style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Picture1<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Picture2<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Slidestate<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 76.8pt;"
 valign="top" width="102">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">CorrectAnswer<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 123.8pt;"
 valign="top" width="165">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Correct<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 126pt;"
 valign="top" width="168">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Incorrect<o:p></o:p></span></font></p>
        </td>
      </tr>
      <tr>
        <td
 style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">cup.bmp<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">cow.bmp<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">1<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 76.8pt;"
 valign="top" width="102">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">q<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 123.8pt;"
 valign="top" width="165">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">You have won 900 points<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 126pt;"
 valign="top" width="168">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">You have lost 900 points<o:p></o:p></span></font></p>
        </td>
      </tr>
      <tr>
        <td
 style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">car.bmp<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">spoon.bmp<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 71pt;"
 valign="top" width="95">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">3<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 76.8pt;"
 valign="top" width="102">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">q<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 123.8pt;"
 valign="top" width="165">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">You have lost 300 points<o:p></o:p></span></font></p>
        </td>
        <td
 style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 126pt;"
 valign="top" width="168">
        <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">You have lost 500 points<o:p></o:p></span></font></p>
        </td>
      </tr>
    </tbody>
  </table>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Etc…<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Basically, I would like
to keep the pairing for my
attributes ‘Correct’ and ‘Incorrect’ the same, but I
want to change across participants the pairing in my ‘Picture 1’
and ‘Picture 2’ attributes. I hope I made myself clear. From the
e-prime manual and discussion with colleagues, it seems that the best
way to do
this would be with an ‘array’, but I have not managed to work it
out yet.  Any idea on how to achieve this would be greatly appreciated.
Many
thanks.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Best wishes,<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;">Stephane <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">------------------------------------------</span></font><o:p></o:p></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">Stephane De
Brito, PhD student<o:p></o:p></span></font></p>
  <p class="MsoNormal"><st1:place w:st="on"><st1:PlaceType w:st="on"><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">Institute</span></font></st1:PlaceType><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";"> of <st1:PlaceName
 w:st="on">Psychiatry</st1:PlaceName></span></font></st1:place><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">King's College <st1:City
 w:st="on"><st1:place w:st="on">London</st1:place></st1:City><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">Forensic Mental
Health Science Department </span></font><o:p></o:p></p>
  <p class="MsoNormal"><st1:address w:st="on"><st1:Street w:st="on"><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">Box</span></font></st1:Street><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";"> P023</span></font></st1:address><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";"> </span></font><o:p></o:p></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">De Crespigny Park
  </span></font><o:p></o:p></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">Denmark Hill </span></font><o:p></o:p></p>
  <p class="MsoNormal"><st1:City w:st="on"><st1:place w:st="on"><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">London</span></font></st1:place></st1:City><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">
SE5 8AF</span></font><o:p></o:p></p>
  <p class="MsoNormal"><st1:country-region w:st="on"><st1:place
 w:st="on"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">United Kingdom</span></font></st1:place></st1:country-region><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">Tel: + 44 (0) 20
7848 0711<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">Fax: + 44 (0) 20
7848 0754<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";">website: </span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";" lang="IT"><a
 href="www.iop.kcl.ac.uk"><span lang="EN-GB">www.iop.kcl.ac.uk</span></a></span></font><font
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p> </o:p></span></font></p>
  </div>
</blockquote>
<br>
</body>
</html>