Array problem

sphdsdb stephanedebrito at gmail.com
Wed Aug 26 14:19:37 UTC 2009


Dear all,

I am trying to programme an emotional stroop experiment, but I am
facing a problem with the array declared in the inline I think. I have
downloaded the NoRepeat.es file from the pst website:
http://support.pstnet.com/forum/Topic324-5-1.aspx

This file presents 4 different lists of words, each with 5 words. The
inline RandomizeStim makes sure that no words from the same list are
presented on two consecutive trials.

In the inline, there is this line for the array:
'Declare an array of 20 slots to hold 5 stim of each of 4 types. Slot
0 is unused.
Dim arrStim(20) As Integer

I wanted to present 4 lists, each including 12 words. So, I have
changed this line to:

'Declare an array of 48 slots to hold 12 stim of each of 4 types. Slot
0 is unused.
Dim arrStim(48) As Integer

I have also added the 28 additional levels needed in the TrialList.
When I do this, my experiment works fine, but it takes about 5 seconds
for the instructions to appear.

Then, I have tried to present 4 lists, each including 24 words. So, I
have changed this line to:

'Declare an array of 96 slots to hold 24 stim of each of 4 types. Slot
0 is unused.
Dim arrStim(96) As Integer

I have added the 48 additional levels in the TrialList. In that case,
the experiment does not even start. The screen stays blank….

At the moment, I don’t have the hardware key plugged in, as one of my
colleagues is using it. Can it be that the problem has nothing to do
with the array and that this is caused by the absence of the
hardwarekey?

Any help is much appreciated.

stephane


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---



More information about the Eprime mailing list