User`s guide
E-Prime User’s Guide
Chapter 4: Using E-Basic
Page 140
the random value has been set as an attribute at the beginning of the trial Procedure, that
attribute may be referenced by a TextDisplay object in order to display the value as the stimulus
during the trial. To refer to an attribute, use square brackets surrounding the attribute name (e.g.,
[Stim]) in the Text field of the TextDisplay object.
Note most properties may be changed through script as well. For example, to change the
location of the display area defined by a TextDisplay object, the X property for the TextDisplay
could be set as TextDisplay1.X = 100. This command sets the horizontal location of the
display area to begin at pixel location 100.
4.4.6 Debug
Debug commands are useful in tracking down problems, verifying values, or simply reviewing the
execution of the program. The Debug object, when used with the Print method, is used to send
information at runtime to the Debug tab of the Output window for examination following the run.
For example, the following script could be used to write the value of the Stim attribute to the
Debug tab in the Output window during each trial.
The script above will send the value of the Stim attribute per trial to the Debug tab in the Output
window. After the run, the Debug output may be viewed by displaying the Output window within
E-Studio. Select Output from the View menu, and in the Output window, select the Debug tab.