Objects also have associated methods, which cause objects to perform certain actions. Like properties, methods are accessed using the dot operator in conjunction with the object. Methods may be broken down into Commands and Functions.
Commands are used to instruct the program to perform an operation. For example, the Run command is used to launch the object named “Stimulus” within the experiment script.
Commands may or may not take parameters. A listing of all commands associated with particular objects is available in the E-Prime Command Reference.
Like commands, functions are used to instruct the program to perform an operation. In contrast to commands, however, functions are used to perform an operation that returns a value. Functions may also be used within a script statement. For example, a function could be written to calculate the mean value for a set of values. Once defined as a function, a single line of script would be necessary to run the function to calculate a mean.
Next Article: SCRIPTING: Attributes 
Previous Article: SCRIPTING: Object Properties