The Executable Preferences page contains four components:
1. File mode - This check box controls whether Irie Pascal is in file mode (in which case the file
executable options will be used), or in project mode (the default).
2. Extension: - This combo box allows you to specify the extension of the executable generated
when you compile in file mode. Remember that you can create a true Windows EXE simply by
using .exe as the extension. NOTE: The value in this combo box is ignored when Irie Pascal is in
project mode.
3. Arguments: - This edit box allows you to specify the arguments (if any) that should be passed to
executables when you run them from file mode. NOTE: The contents of this edit box are ignored
when Irie Pascal is in project mode.
4. #! Header: - This edit box allows you to specify the #! header (if any) that should be added to
executables generated from file mode. NOTE: The contents of this edit box are ignored when Irie
Pascal is in project mode.
File Mode
When in file mode, Irie Pascal will always compile the current file being edited (ignoring the file
specified by the current project), and the file executable options (i.e. the other components in this page)
will be used when compiling or running executables. NOTE: This mode is useful when you don't want to
start a new project for every program that you create (instead you can just load a file into the editor and
compile and run it immediately).
Project Mode
When in project mode, Irie Pascal will always compile the program specified by the current project, and
the executable options (see the Miscellaneous options page of the Project Options dialog box) specified
by the current project will be used when compiling or running executables. NOTE: This mode is useful
when you intend to start a new project for every program that you create, since Irie Pascal will always
remember which program to compile or run, and the executable options to use when doing so, regardless
of what file you are currently editing. Also in this mode, each project can have different executable
options, and Irie Pascal will always use the executable options for the currently open project.