The Script Window in Record mode |
You can open the JavaFoil
Script window by pressing the "Script" button on the Options
card.
This window contains a bar of command buttons to
The center region of the window is filled with an editable text area. The status line shows information like row and column of the insertion point. |
|
You can edit a script in the
text area and run it. For debugging purposes you can use the single step
button:
You should save a script before you close the Script window. While the script will still be available in JavaFoil it would be lost when you terminate JavaFoil. |
Notes on Recording |
While you are recording a
script, you will notice, that some methods, like Analyze(), add more than
one command to the script. Sometimes these commands may be redundant and
can be deleted (e.g. setting the Mach number).
By breaking commands into several sub-commands, it was possible to keep the number of parameters for the methods reasonable. Otherwise these commands could grow into monsters with too many many parameters. |