Can't get addlevel commant to do the trick...(plus another question)

gilis giladsabo at gmail.com
Sat Oct 22 22:08:27 UTC 2011


Hi all..

when I try to do that:

dim nLevel as integer

for nLevel= 1 to 10

stimlist.AddLevel 0

stimlist.SetWeight nLevel, "1"

stimlist.SetProc nLevel, "trialproc"

stimlist.SetAttrib nLevel, "word", "nothing"

stimlist.SetAttrib nLevel , "Word_type", "notrealy"

stimlist.SetAttrib nLevel, "correct", "0"

stimlist.SetAttrib nLevel, "xcolor", "black"

Set stimlist.TerminateCondition = Cycles(1)

Set stimlist.ResetCondition = Samples(10)

stimlist.Reset

Next nLevel


I get "level that is an integer with level count mismatch" -well, I
tried to solve it in many ways, but I guess that some help could be
more helpful.


Second question is about this issue:

dim a(9) as string
dim stimarray(9) as string
dim c1 as string
dim m as integer

a(0)="word1"
.
.
a(9)="word10"
.
.
.

for m=1 to 1o
stimlist.SetAttrib m, "word", stimarray(m-1)
c1 = c.getattrib("word")
if c1 = a(0) or a(1) or a(2) or a(3) or a(4) then
stimlist.SetAttrib m, "correct", 1
end if


It keep telling me that there is no such attribute as "word", though
you can see that I predefined one and just to make sure I also did it
in the relevant list object. Again, I tried to solve it in many ways
but your help sounds like a better idea.

Thanks in advance,
Gilis

-- 
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