You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
DRAFT, February 18, 2003, Page 94<br />
The "Debug Mode" menu checkbox switches compiler debug mode on and off. This may change the<br />
compile commands, depending on the compiler environment that is being used. This is a global setting<br />
(applies to all CSD windows).<br />
Before a compile, if auto save is on, all modified files are saved (this setting is on the control panel<br />
"Settings" menu).<br />
If auto save is off, any modified files are backed up and the current text is saved. The modification times<br />
for modified files are changed only if the file has been modified since the last compile, so files will not be<br />
unnecessary recompiled. After the compile, the files are restored from backup. Because of this, while<br />
compiling with modified files, quitting jGRASP is not allowed and you should not kill jGRASP.<br />
Actions that would conflict with compiling, such as saving the file or activating another compile process,<br />
are blocked during a compile.<br />
18.5 Run Menu<br />
This menu provides run functions set up in the CSD window settings dialog. Input and output are provided<br />
by the message window, which also contains a button to kill the running process.<br />
The "Run Arguments" checkbox switches an arguments toolbar on and off. When on, arguments entered<br />
in the toolbar will REPLACE those in the settings.<br />
If the "Run in MSDOS Window" checkbox (Windows only) is on, the "Run", "Run as Applet", and "Debug"<br />
will use a DOS shell for I/O. The user will be prompted in the DOS shell to hit a key to start the process<br />
and to continue after the process is finished. In Windows NT, you can right click on the title bar and<br />
change the window properties, including width and height, before starting. In Windows 95/98 you can<br />
change the properties of the conagent.exe file (standard location is C:\Windows\System\conagent.exe) to<br />
change the default number of screen lines for DOS shells. In Windows NT, you can do the same thing<br />
using cmd.exe (standard location C:\Windows\System32\cmd.exe).<br />
During a run, actions that would cause a conflict, such as activating another run or a compile process, are<br />
blocked.<br />
18.6 CPG Menu<br />
Click here for information about the CPG and CPG window.<br />
Generate CPG - generates a CPG for the current file.<br />
Find CPG Window - pops up the CPG window associated with the current file.<br />
18.7 Templates Menu<br />
A menu that allows predefined templates to be inserted into the text. These are inserted at the current<br />
cursor position, and indented to match the current cursor position.<br />
The user may define templates in the template directory of the .grasp_settings directory in the users<br />
home directory (typically C:\Windows on Windows systems). For now, there is no easy way to do this. A<br />
template editor will be added later. The template format can be seen by examining the system templates<br />
in the data directory of the jGRASP distribution. The template files are named templ.ext, where ext is an<br />
extension that indicates to which language the template applies.