What is the current row in a list

Greg Osenbach gosenbach at gmail.com
Mon Feb 23 04:46:16 UTC 2009


Chris,

Debug.Print "Row = " + str(BlockList.Sample) just gets me an invalid
property error.

On Sun, Feb 22, 2009 at 11:43 PM, Chris Blais <cblais at berkeley.edu> wrote:

>
>
> Hmm...I've never actually used the .sample method. Have you tried
> calling it as BlockList.Sample (in the same way as you might call
> Target.RT)?
>
> 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
> >
> > On Sun, Feb 22, 2009 at 10:31 PM, Chris Blais <cblais at berkeley.edu
> > <mailto:cblais at berkeley.edu>> wrote:
> >
> >
> >     It will be found in the .edat file. Or, it you need to see it in
> >     real-time for debugging you can write an inLine:
> >
> >     debug.print "ListName_Row=" & ListName.Sample
> >
> >     where ListName is the name of the list and the .sample numbers range
> >     from 1 to the number of items in the list and they numbered in the
> order
> >     in which they appear in the list.
> >
> >     Greg Osenbach wrote:
> >      > Hi guys.  I am struggling with this one.
> >      >
> >      > How do I determine what the current row in a list my experiment is
> >      > using?  I have been messing around with this one for hours.  If
> >     anyone
> >      > can point me int he correct direction, it would be most
> appreciated.
> >      >
> >      > 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/1ec912a8/attachment.htm>


More information about the Eprime mailing list