Modeler:14/ExpressionFile

From CaseTalk Wiki
Jump to: navigation, search

Expression File Window

Expression Files

Expression files are an alternative method to populate the repository. Expressions are entered using the CaseTalk Text Editor. This window is opened with the Text Edit... button.

Sections

Various sections are meant to group fact expression according to their fact type name. When qualifying the fact expressions, they will assume the fact type name from their group headers such as '[fact type name]' in between the brackets.

Lines that start with a ';' are comments.

Lines that start with a '; ---' are considered visual section seperators with an optional title such as '; --- SECTION A'.

Single Tag

Expression are qualified and classified in exactly the same way as when entering an expression in the CaseTalk Repository Window. The Quantify button opens the Expression Input Window.

Once an expression is qualified ', Tag' is added at the end of the expression (not visible in the Expression File Window, only in the Text Editor Window) and the 'Tag' button changes into an 'Untag' button for the qualified expression.

Additional buttons allow you to quickly insert, delete or edit a single line.

Double Tag

Newer versions of CaseTalk may support the double tagging. If expressions get qualified into the model, the expressions are not tagged using the "TAG" keyword but will contain the <expressioncode>.

The double tags are visible to indicate they are qualified into the model already.

The "recycle button" can be clicked to clean the double tags on expressions which are no longer in the model. Tags remain, but the <expressioncode> is simply replaced by the anonymous "TAG" keyword.

Connected

The above paragraphs all assume, like older versions of CaseTalk, the expression file is disconnected from the model itself. It functions as a semi-offline source of fact expressions. In newer versions you are able to (dis)connect this window.

When it is connected, you might see in light-gray a set of fact expressions which are in your model, but not in your expression file. This helps you distinguish what you already modeled vs what is still in your expression file itself.


Other versions: v8 | v9 | v10 | v11 | v12 | v13 | v14


Expressions
Dialogs Expression Input · Expression Viewer · Expression File · Expression Tree · Generate Expressions
Reference Expression Unification · Special Keywords