This example illustrates how to write information to a text file.
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.