Naive question 1 of 3: How to properly interrupt a run?
David McFarlane
mcfarla9 at msu.edu
Fri Nov 8 21:35:28 UTC 2013
Welcome to the E-Prime Group. As a n00b, the most crucial advice you
can take is to first work through *all* of the tutorials in the
Guides that came with E-Prime (in particular, the "Getting Started
Guide" and "User's Guide") before you do anything else. Do *not*
neglect the "Advanced" tutorials, they are not advanced at all and
present crucial basic concepts! You might also consider taking some
training in computer programming in general, and E-Prime in
particular. That said...
You will find one answer to this question on the very second page of
the EP1 "Getting Started Guide", on p. 81 of "Getting Started Guide"
in the section on "Good Practices, Testing, & Help", and in section
1.6.1 of the EP2 "User's Guide" (also listed under "abort" in the
index, or just try a text search in the .pdfs). As an exercise, you
should go look that up for yourself now, before looking at the answer
provided in reverse text below*. This method will perform an
ungraceful abort and return you to E-Run or E-Studio without saving
data to an .edat file.
Starting with EP2.0.10 Pro, you may also use Ctrl+Alt+Backspace to do
a "Conditional Exit" which may result in a graceful abort that saves
data -- you will have to look in the "New Features Guide" or the
Knowledge Base for more details on this.
Finally, if you do not mind a bit of inline programming, you may use
GetUserBreakState for more graceful and granular control of early
exits -- see that topic in the E-Basic Help facility.
As you have found, Ctrl+Esc is a particuarly poor method for aborting
a run, users should never use this.
-----
David McFarlane
E-Prime training
online: http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter: @EPrimeMaster (https://twitter.com/EPrimeMaster )
/----
Stock reminder: 1) I do not work for PST. 2) PST's trained staff
take any and all questions at https://support.pstnet.com , and they
strive to respond to all requests in 24-48 hours, so make full use of
it. 3) In addition, PST offers several instructional videos on their
YouTube channel (http://www.youtube.com/user/PSTNET ). 4) If you do
get an answer from PST staff, please extend the courtesy of posting
their reply back here for the sake of others.
\----
*Answer: tlA+tfihS+lrtC
At 11/8/2013 03:47 PM Friday, Matt Hall wrote:
>Hi, all- I'm new to Eprime, dusting off scripts written by a
>previous lab member about 10 years ago, and without any other Eprime
>users in my lab or department, so please have patience with my n00b
>questions. The 1st of 3: how to properly interrupt a run?
>
>I've found other topics here and else asking how to interrupt a run
>and then resume where you left off: that is *not* my question. Mine
>is much more basic: let's say you're testing out a script, so you
>hit run, and then having verified that whatever you tweaked did or
>didn't work, you want to go back to the main building environment.
>What's the best way to exit/quit/interrupt a run?
>
>Just through guessing, I've found that control-escape reliably quits
>the run; unfortunately, it also seems to cause the program to hang
>in unhelpful ways: for example, about half the time, it acts as if
>the mouse is in the *background*, behind the Eprime windwo, such
>that you can't see the mouse or click anything inside an Eprime
>window (although the mouse tracks and clicks fine in other applications).
>
>This leads me to believe that control-escape is not the optimal way
>of interrupting a run, so can someone please tell me what is? Thanks!
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/527d5927.629a320a.5056.2a3aSMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/groups/opt_out.
More information about the Eprime
mailing list