What is the current row in a list

Greg Osenbach gosenbach at gmail.com
Mon Feb 23 04:08:19 UTC 2009


Thanks for the suggestion!

although that gets me an error:

GetAttrib: Missing Parameter(s)

Thanks,
Greg

On Sun, Feb 22, 2009 at 11:01 PM, Eliezer Kanal <ejk4 at pitt.edu> wrote:

>
> The error is in how you're calling GetAttrib. "c.GetAttrib" means "get
> attribute from c", or "get attribute from context". Context is sort of
> the base-level storage of the entire experiment. You don't want to get
> an attribute of the context, you want an attribute of BlockList. I
> think you want to try
>
> str(BlockList.GetAttrib("Sample"))
>
> I don't have eprime on this computer, though, so I can't test that.
> Good luck -
>
> Cheers,
> Eliezer Kanal
> PhD Candidate, Bioengineering
> Laboratory for Computational Neuroscience
> University of Pittsburgh
>
>
>
> On Feb 22, 2009, at 10:55 PM, Greg Osenbach wrote:
>
> > Hmm.. This just seems to give me an error
> >
> > "Sample is not a property of the Object"
> >
> > Suggestions?
> >
> > My line of code:
> > Debug.Print "Row = " + str(c.GetAttrib(BlockList.Sample))
> >
> > And:
> > If (c.GetAttrib(BlockList.Sample) = Lot1) Then
> >     Lot1CE = CEValue
> > End If
> > If (c.GetAttrib(BlockList.Sample) = Lot2) Then
> >     Lot2CE = CEValue
> > End If
> >
> > Thanks,
> > Greg
>
>
>
>
>
> >
>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20090222/5199108c/attachment.htm>


More information about the Eprime mailing list