General Preferences

The General preferences dialog box shown in Figure 38 has default settings for the Save, Output and Edit functions. It also provides an option to determine if LogicGem will allow uppercase condition entries (Ignore Case on Entries).
 
Figure 38
 
Save Defaults
The Compile on Save checkbox configures LogicGem to automatically produce a compiler output file each time you save the decision table. The compiler output file will honor all compiler settings such as language and verbosity level. The generated compiler output file has the same name as the decision table, with filename extension appropriate for the target language.
The Output on Save checkbox configures LogicGem to automatically produce an output file (HTML or LST text file) each time you save the decision table. The type of output file generated depends on the Output To setting discussed in the next section.
 
The Save ALL CAPS checkbox configures LogicGem to save each filename in uppercase.
 
Output To
The Output To preference setting is used in conjunction with the Output To option on the File menu, and the Output on Save preference setting described in the previous section. The Output To setting determines which file format to create. Use the option button to specify either “As HTML” or “As LST” along with the Extension textbox where you can enter the desired filename extension. For example, selecting “As HTML” causes the Output To function to create a Hypertext Markup Language (HTML) version of the logic table. You can open this file in your web browser to view the table. If you wanted to use a filename extension other than the default “HTML”, you can enter it in the Extension textbox (e.g. “HTM”).
 
Case Default
The Ignore Case on Entries checkbox determines whether LogicGem is to ignore or accept mixed case condition entries, i.e. “y” for Yes, “n” for No, “Y” for No, and “N” for Yes.  Click on the checkbox to insert a checkmark and instruct LogicGem to translate all entries to lowercase. A blank checkbox instructs LogicGem to accept both upper and lowercase entries.
Reminder: Condition entries can be in upper or lowercase but they are interpreted differently
 
Lowercase entries are interpreted as y = yes and n = no.
Uppercase entries are interpreted as Y = no and N = yes.
Link Keywords
The decision tables can reference one another using "hyperlinks." When a table refers to another table via a user-defined link keyword (e.g. “goto”), LogicGem generates a hyperlink that allows the user to navigate from one table to the other with a single click. Hyperlinks can appear in both the condition and action stubs.
 
LogicGem determines when to create a hyperlink using a list of keywords provided by the logic engineer (via the Edit | Preferences dialog box in the General tab). When one of the user-defined keyword is found in a stub, LogicGem automatically generates a hyperlink to the name following the keyword. For example, if GOTO is a link keyword you decide to use and an action stub value is set to
 
GOTO tablexyz
 
LogicGem creates a hyperlink to the table "tablexyz" which must exist in the current decision table directory.
 
This linking is available in both the generated HTML page and the LogicGem Worksheet. When viewing an HTML generated page using a browser, any decision table link appears just as a regular Web hyperlink. When clicking on a hyperlink in a LogicGem worksheet, the corresponding table is open in a new window. To edit a stub that contains a link, a right-click is necessary because the left-click is used to navigate.
 
Edit (Cut, Copy, Paste) Behavior
The edit default options provide a way to modify decision table components independently. Cut, copy or paste functions are performed only on the selected (check-marked) default options.