This article applies to:
E-Prime 3.0
E-Prime 2.0
E-Prime 1.x
Detail
This example illustrates how to write information to a text file.
Abstract
E-Basic script is used to open the text file in 'append' mode. Next, a TextDisplay object, 'Stimulus', is used to present the stimulus, followed by an InLine object, 'WriteToFile', which writes the stimulus to the text file. The last object in the example is an InLine object, 'CloseFile', which uses script to close the text file. The text file will be located in the directory where the experiment file is stored.
E-Prime 3.0
E-Prime 2.0
E-Prime 1.x
Detail
This example illustrates how to write information to a text file.
Abstract
E-Basic script is used to open the text file in 'append' mode. Next, a TextDisplay object, 'Stimulus', is used to present the stimulus, followed by an InLine object, 'WriteToFile', which writes the stimulus to the text file. The last object in the example is an InLine object, 'CloseFile', which uses script to close the text file. The text file will be located in the directory where the experiment file is stored.
Comments
0 comments
Please sign in to leave a comment.