Compiling and Running Programs |
Top Previous Next |
Any XPL program that is entered in the Source Editor can be compiled or executed by pressing the Compile buttons on the toolbar. These same functions also exist in the menu options under the Run item.
Compile. Pressing the Compile button causes the program in the Source Editor to be compiled. Any errors or warnings will be displayed in the Error/Message Panel, and the cursor and highlight will be placed on the first fatal error. The Compile button's function is to test a program to see if there are any syntax errors without having to run the program.
Compile/Run. Pressing this button causes the program in the Source Editor to be compiled and run. If the compile is successful, the display will shift to the Console Page, so you can view and interact with the program. If the compile gets a fatal error, the error message will be displayed in the Error/Message Panel, and the program will switch to the Source Editor with the highlight on the location of the first error.
Stand-Alone Program. Pressing this button compiles the program and generates a stand-alone executable file version of the program. The program will be in the same directory as the program source file, and will have the same filename as the source code with an ".exe" extension. (If you haven't saved the program file it will be saved to the EXPL installation directory under the name "Test.exe".) Click here for more information on Stand Alone programs.
|