Missing label

liwenna liwenna at gmail.com
Wed Oct 6 12:17:00 UTC 2010


Hey Hank,

I think your question is answered in of the FAQ items on the pst
webste (http://www.pstnet.com/eprimelegFAQ.cfm ):
*******
Is there any way to use the Label object to jump outside of a
procedure?

E-Prime does not allow you to jump outside a procedure. A procedure is
a timeline of events, hence when you jump to the end of the procedure
you are skipping over the events that occur in one single trial. To
jump outside a procedure you must terminate the List Object based on
some criterion. To do this you must include an InLine Object
containing a small amount of script. The InLine Object would be placed
following the object that is accepting the input. The following lines
of script would be implemented in order to terminate the List Object
if an incorrect answer was received. The lines of script below assume
that the input is collected via a TextDisplay named “Stimulus”, and
the List Object that is to be terminated is named "TrialList".

If Stimulus.ACC = 0 then TrialList.Terminate

**************

Good luck!

liw

On Oct 5, 9:14 pm, Hank Jedema <Jed... at pitt.edu> wrote:
> I have a main procedure containing multiple lists that are used to
> cycle through different slides using other procedures (stimulus
> procedure). When a response to the slide occurs, the Inline item in
> the stimulus procedure which evaluates the slide is supposed to end
> the cycling through the list and end the stimulus procedure, and
> advance  to a label located in the main procedure (goto LabelX). When
> I try to create the script however, I get the error "Missing label"
> apparently because the label is outside of the stimulus procedure. How
> am I supposed to "break out" of a sub-procedure in block list given a
> certain response to slide ?
>
> Does anybody have recommendations for good instructions to learn the
> proper code used in E-prime Inline objects ? I find the E-basic help
> not all that helpful.
>
> Thanks very much.
>
> Hank

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