Skip to main content Accessibility help
×
Hostname: page-component-7479d7b7d-rvbq7 Total loading time: 0 Render date: 2024-07-12T13:16:09.220Z Has data issue: false hasContentIssue false

Chapter IV - Beginning programming in E-Prime

Published online by Cambridge University Press:  22 November 2022

Get access

Summary

In this chapter, you will learn

So after the last chapter, you know how to test your long term memory. But chances are that if someone talks about having a ‘good memory’ or a ‘bad memory’, they actually mean their working (or short term) memory. Because short term memory is, well, short, you could set up a challenge with your friend and find out in a relatively short amount of time who has the better memory. After this chapter you will be able to do just that, because you are now going to learn how to program a working memory test. Unlike the previous chapter, we won't be working with complicated lists. Instead we’re going to give you a chance to master E-Prime's programming language, E-Basic (which is essentially an old version of Visual Basic for Applications – the same stuff that runs Excel macros, amongst other things).

This chapter provides a psychologist-friendly introduction to Basic programming by first introducing several important Basic programming concepts such as variables, operators, mathematical functions and string functions. You will also learn how to integrate this programming knowledge into your E-Prime experiments and, finally, how to use it to perfect your experiments down to the minute details. Programming has a bad reputation: “geeky”, “difficult” and “boring” are words that came up in the E-Primer Marketing Department's student focus group. We can't really help the geekiness, but we’ll try to get round the difficulties and boredom, because in the end, some things just can't be done without some Basic programming knowledge. If you read carefully through this chapter, digest the theory and carry out all the examples, the tutorial and the exercises, you will be ready to roll. If you ever get stuck with programming, though, you can always ask someone. A great place to turn for help is the online E-Prime discussion group (http://groups.google.com/group/e-prime/). You can also try posting on the E-Prime support forum(https://support.pstnet.com/hc/en-us/community/topics).

E-Basic in E-Prime

All this dragging objects about is fine and dandy, but it doesn't quite feel like programming, does it? According to PST, the developers of E-Prime, E-Prime doesn't require programming, or “using code”.

Type
Chapter
Information
The E-Primer
An Introduction to Creating Psychological Experiments in E-Prime
, pp. 111 - 134
Publisher: Amsterdam University Press
Print publication year: 2019

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×