getting started with script

663 views
Skip to first unread message

uv

unread,
Apr 27, 2008, 3:08:34 PM4/27/08
to E-Prime
hi there
I have built quite a few experiments using the e-prime studio, and I
have some basic understanding in writing script (with matlab at
least). is there a file available with basic information regarding how
to define integers, how to jump backward or forward in the experiment
procedure etc?
thanks

David McFarlane

unread,
Apr 28, 2008, 2:40:07 PM4/28/08
to e-p...@googlegroups.com

So far as I know, you have exactly two resources: (1) Chapter 4 of
the E-Prime User's Guide (printed or .pdf) (2) The online E-Basic help.

I don't know how useful the User's Guide is for this, I already knew
a lot of programming principles before I started on E-Prime and I
have mostly puzzled things out myself, but now that I've taken a
glance at Chapter 4 I can see it might have saved me some work. (I
would be curious to get others' takes.)

I have found the online E-Basic help to be much more useful (in
E-Studio, go to Help > E-Basic Help). Even so, be warned that the
online help is still incomplete (e.g.,
http://support.pstnet.com/forum/Topic1241-12-1.aspx ), and in some
cases just plain wrong (e.g.,
http://support.pstnet.com/forum/Topic1197-5-1.aspx ).

Finally, E-Basic is really a dialect of Microsoft Visual Basic, so
you might gain something from VB manuals. Unfortunately, most of the
VB manuals I find are geared toward explaining how to design GUI
elements rather than how to write code, so I cannot recommend one, if
someone else knows a good VB reference I would be glad to know it.

-- David McFarlane, Professional Faultfinder

Susan G. Campbell

unread,
Apr 28, 2008, 3:54:44 PM4/28/08
to e-p...@googlegroups.com

I don't remember how good the manual is, though the E-Basic Help from within the program is useful, especially if you have a question that's specific to E-Prime, not to VBA (on which E-Basic is based) in general.  

I also found the O'Reilly book on VBA very useful when I was doing more E-Prime programming than I do now; the one I have is called VB & VBA in a Nutshell: The Language.  It's from 1998, but I don't think E-Basic has changed very much since then. 

For instance, I used that book when I needed to know how to specify colors that don't have names in E-Prime, since it could tell me how VBA represents colors (and the E-Basic Help was silent on the issue, as far as I could tell).  I imagine any book on VBA would do -- I just liked that one because it's got an alphabetical listing of the various components of the language; I wasn't interested in a tutorial, just a reference.

Hope this helps,
Susan

Michiel Spape

unread,
Apr 28, 2008, 7:38:17 PM4/28/08
to e-p...@googlegroups.com
Hi all,
There's also my little tutorial-style coursebook: http://herr.tegendemuur.nl/binding/AnEPrimer.pdf . I can't claim it's incredibly accurate, and you have to be able to cope with a number of bad jokes, needless anecdotes, and fanaticism for conflict/control experiments, but it tends to do the trick for my students as well as some colleagues. By the end of summer, it should be fully corrected, and be based on E-Prime2 style as well as contain a number of useful appendices on SR-Box, Tobi-Eyetracking and the like.
Cheers,

Michiel Spapé

________________________________

Hope this helps,
Susan


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************

winmail.dat
Reply all
Reply to author
Forward
0 new messages