Scripting objects differ from E-Objects in that there is no graphical user interface or Property pages with which to set or determine properties. All properties and methods for scripting objects are accessible only through user-written script in an InLine object or in the Script window. Some commonly used scripting objects are described below. Refer to the E-Prime Command Reference for a complete listing of objects, and properties and methods associated with each object.
Canvas Object
The Canvas abstracts the programming interface to a particular canvas/page/surface. As such, there is no interface for the Canvas object itself, and all access occurs through script. Canvas objects support all of the drawing/graphics calls that are available in the system.
Summation Object
Summation objects are used to collect a series of observations. From this collection, various summary measures may be determined, such as the minimum or maximum value in the collection, the number of observations, and various statistical measures, such as the mean, standard deviation, or variance of the observations within the collection. For example, in order to determine overall accuracy in a block of trials, a Summation object may be used to keep track of the individual observations, and to calculate the desired measure from the total collection.
Debug Object
The Debug object encapsulates a set of useful debugging mechanisms. The Debug.Print command sends a string to the Debug tab in the Output window at run-time, which is helpful when verifying sampling sequences or timing presentation of an object. The Debug commands may be used when developing or testing a new program. See article SCRIPTING: Steps for Writing E-Prime Script [22880] for further debugging information.
Next Article: E-STUDIO: Unreferenced E-Objects [27730]
Previous Article: E-STUDIO: PackageCall Object [22713]
Comments
0 comments
Please sign in to leave a comment.