User Guide
304
Chapter 12
E
Click the Run button (the right-pointing triangle) on the Syntax Editor toolbar.
or
E Select one o
f the choices from the Run menu.
All. Runs al
l commands in the syntax window.
Selection.
Runs the currently selected commands. This includes any commands
partially highlighted.
Current. Runs the command where the cursor is currently located.
To End. Runs all commands from the current cursor location to the end of the
command syntax file.
The Run button on the Syntax Editor toolbar runs the selected commands or the
command where the cursor is located if there is no selection.
Figure 12-4
Syntax Editor toolbar
Multiple E
xecute Commands
Syntax pas
ted from dialog boxes or copied from the log or the journal may contain
EXECUTE commands. When you run multiple commands from a syntax window,
multiple EXECUTE commands are unnecessary and may slow performance because
this comm
and reads the entire data file.
If the la
stcommandinthesyntaxfileisacommandthatreadsthedatafile(such
as a statistical or graphing procedure), no
EXECUTE commands are necessary and
they can be deleted.
If you are unsure if the last command reads the data file, in most cases you can
delete a
ll but the last
EXECUTE command in the syntax file.