This example illustrates how to write to a text file.
E-Basic script is used to open the text file in append mode. Next a TextDisplay, "DisplayStim", is used to present the stimulus, followed by an InLine,"WriteToFile", which writes the stimulus to the
text file. The last object in the example is an InLine object, "Close", which uses script to close the text file. The text file will be located in the directory where your ebs file is stored.