Jumps, labels and input masks

Rachel Mitchell r.l.c.mitchell at reading.ac.uk
Tue Apr 4 14:43:31 UTC 2006


Hello all

I keep getting an error when trying to run my programme and I don't know why
it is occurring and what I need to do about it.

In summary, in my paradigm participants see a series of increasingly intense
facial emotion pictures 0, 25%, 50%, 75%, 100% and so on).
Participants have to press a response key as soon as they've decided what
emotion is emerging.
It works fine, apart from when participants don't make a response for that
trial/series.
Then I get this error message......
Run-time Error (Line 830)
11016: Application-defined or object-defined error

And the script box highlights....
	
	''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
	'	Label - Label1 BEGIN
	''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Label1:
	If Err.Number = ebInputAccepted Then
		Err.Clear
		Resume Label1Resume
	ElseIf Err.Number <> 0 Then
		'NOTE: If you receive a runtime error here, it
		' is because a runtime error other than ebInputAccepted
		' was thrown (ebInputAccepted for catching input masks that
jump).
		'You are encouraged to either handle the error so that
		' it is not thrown in the future or will have to set up
		' your own error handler, which will also need to take
		' into account for any input masks that jump.
		'
		'Raise the error so the default error handler will show the
message
		Err.Raise Err.Number
	End If

Label1Resume:

	''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
	'	Label - Label1 END

	''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Can anyone tell me what I have done wrong and what I need to do to prevent
the above?
I should perhaps mention at this point, that I don't tend to use in-line
script.
As far as I know, I have the latest version (service pack 3)

Hoping someone can help

With best wishes
Rachel Mitchell

--------------------------------------------------------
Dr Rachel L. C. Mitchell.
Lecturer in Cognitive Psychology, University of Reading.
Honorary Research Fellow, Institute of Psychiatry.
Research Psychologist, Berkshire Healthcare NHS Trust.

Correspondence Address:
School of Psychology and Clinical Language Sciences,
Whiteknights Road
University of Reading
Reading
Berkshire
RG6 6AL

Tel: +44 (0)118 378 8523
Direct Dial: +44 (0)118 378 7530
Fax: +44 (0)118 378 6715
----------------------------------------------------------------------- 



More information about the Eprime mailing list