On one slide, show different images, loaded from a list

David McFarlane mcfarla9 at msu.edu
Fri Mar 12 20:38:13 UTC 2010


Susan,

You need merely change [CueSize] to [F_CueSize] on BlockHeader and 
the program works.  I will make that trivial change with EP1.2 and 
send that to you separately, perhaps you can then forward it on.

Thanks for the explanation of the added complexities that that 
program was meant to address.

As for "non-script" comments, my own recent brainstorm is to insert 
inline code in some places for the sole purpose of adding comments to 
explain the program.  E.g., at the start of each SessionProc I now 
regularly put an inline code object called "ReadMe" where I write a 
brief description of the program as a whole, add any needed 
implentation notes, date, author, and version notes, and a running 
list of dates & version changes.  I find this solves a lot of 
problems for me, (which is why this is standard practice in any 
conventional programming environment).  I am ashamed however that it 
took me almost a decade of using E-Prime to come upon this simple workaround.

-- David McFarlane, Professional Faultfinder
"You got to test that piece of software, You got to test it for yourself,
No one else can test it for you, You got to test it for yourself."
(Apologies to the Fairfield Four)


At 3/12/2010 11:27 AM Friday, you wrote:
>David,
>
>Mea culpa.  I apparently updated a test file instead of the final file
>eight years ago.  Fixing that one is going to be a bit of a challenge,
>although I guess I can attempt to track down a copy of EP 1 (or edit
>the text version of the es file) to fix the typo that causes that
>runtime error and email it to Brian.   I'd do it now, but all I have
>is 2.0 Pro.  As a note, it would be lovely if people who noticed
>problems like that with the STEP scripts would try to fix them and
>send the new versions in; that grant ran out in 2003 or thereabouts,
>so anything that's still there or is updated is done because Brian and
>his lab are trying to be helpful.
>
>The structure of the visual attention file is complex, but it solved
>the problem at the time, which was the blocking of number of cued
>items and SOA with factorial variation within the trials of lure
>position and noise compatibility (and randomized distractors using
>colon notation, which was the part I thought might be analogous).
>That's not the problem here, and I apologize for suggesting something
>needlessly complex.  My own orientation is toward examples rather than
>explanations, so I thought the additional information might prove
>helpful.
>
>Wouldn't it be nice if E-Prime had non-script comments?  That might
>have made all of the scripts better teaching tools for people learning
>E-Prime, rather than just for people trying to teach experimental
>psych with E-Prime.
>
>(Vera, sorry to hijack your thread -- I'm glad you got it to work.)
>
>Thanks,
>Susan
>PhD Student
>University of Maryland Psychology
>(who no longer uses E-Prime very much at all)
>
>On Mar 11, 6:47 pm, David McFarlane <mcfar... at msu.edu> wrote:
> > In the meantime, I also tried the example VisualAttention.es that
> > Susan mentioned.  I hope that program does not represent the quality
> > of the other STEP offerings (especially since I have referred folks
> > to STEP myself) -- First it has a mistake that causes a runtime error
> > (though easily fixed), and then the structure seems awfully complex
> > for what it needs to do.  It does indeed show a bit of using colon
> > syntax to arrange stimuli at random spots in a circle, but then it
> > only uses text stimuli, and because of a flaw that remains even in
> > EP2 this may crash when you try using pictures in place of text.  Of
> > course it may well be that I do not correctly understand the tasks
> > here, so let me present the lesson and you tell me where I get it wrong.




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