Attribute value access
leisha
leisha at decisionresearch.org
Wed Feb 18 21:45:27 UTC 2004
I am experiencing a type mismatch error from reading your message. First
you say that you have an attribute name in the BlockList, then you say
that it's a value that you wish to calculate. Are you talking about the
same variable? Your variable can be a string or a number. It's easier to
calculate numbers than strings. You have to use the correct syntax for
each one. To display a string on the screen, you have to get the
attribute and save it to a different name first, so I see a few ways
that you could be generating a type mismatch error.
I've had luck with invoking various conditions based on subject number,
although I've since been advised of a better way to do it through this
group. I've also had luck with nesting variables -- for example, in a
Verplanken-style experiment where polar adjectives (good/bad,
like/dislike) appear in random order and their position on the screen
(right or left) is random, also. The discussion beginning on page 44 of
the User's Guide Version 1 was especially helpful to me -- "Use of
nested lists passed from the block level."
Leisha Wharfield
Production Coordinator
Decision Research
Eugene, Oregon, USA
leisha at decisionresearch.org
www.decisionresearch.org
Gary Klatsky wrote:
> In my experiment I have an attribute in the BlockList that determines
> which attribute in the trial list is used based on subject number. The
> values in the BlockList are the attribute names in the trial list.
> This works without any problems. The problem I am having is accessing
> the attribute value in the trial list. I am writing a script that
> displays that value in the feedback display. Since the attribute name
> varies across subjects I want to access it from the attribute in the
> BlockList. However when I try any calculations of that value I keep
> getting a type mismatch error. Anyone have any experience with
> accessing second order attribute values?
>
>
>
> Thanks in advance
>
>
>
>
>
> Gary J. Klatsky, Ph. D.
>
> Director, Human Computer Interaction M.A. Program
>
>
>
> Department of Psychology klatsky at oswego.edu
>
> Oswego State University (SUNY) http://www.oswego.edu/~klatsky
>
> 7060 State Hwy 104W Voice: (315) 312-3474
>
> Oswego, NY 13126 Fax: (315) 312-6330
>
>
>
>
>
> --
>
> The University of Stirling is a university established in Scotland by
> charter at Stirling, FK9 4LA. Privileged/Confidential Information may
> be contained in this message. If you are not the addressee indicated
> in this message (or responsible for delivery of the message to such
> person), you may not disclose, copy or deliver this message to anyone
> and any action taken or omitted to be taken in reliance on it, is
> prohibited and may be unlawful. In such case, you should destroy this
> message and kindly notify the sender by reply email. Please advise
> immediately if you or your employer do not consent to Internet email
> for messages of this kind.
>
More information about the Eprime
mailing list