Source() action

Overview
The Source action reads a file containing a list of actions, and executes them one after the other. (By contrast, the Source action executes a script (an executable program) as a child process of the emulator.)

If one of the actions fails, Source will stop reading the file.

Parameters

 * filename
 * The pathname of a text file to read.

Blocking behavior
Source blocks until all of the actions in the file have been executed, or one of them fails.

Return value
Source returns the output of the last action executed.

Examples
Read actions from a file. Source(C:\Users\Bob\foo.txt)