5.9.10.4.3. Example with access to variables of the source file

This is useful, for example, if a certain value in the accessory part is to correspond to a value in the source part.

  1. To do this, select the option New .

    [Note]Note

    With New from table you cannot access variables in the source file.

    -> A new line is added.

  2. In the Variable column, select the Formula [Algorithm...]... option. option.

    -> The Edit formula [Edit algorithm] dialog box opens.

  3. Use the secondary mouse button to open the context menu and select the Variables option.

    -> The variables of the source part and the accessory part are displayed.

    [Note]Note

    The variables of the source part are marked with the prefix SOURCE@.

    Using Fortran syntax, you can, for example, formulate a condition that only lines are displayed in the accessory part where the selected variable value of the source part is equal to the variable value of the accessory part.

    Example: "R" in the accessory part is equal (EQ stands for "equal") "R" in the source part.

    R.EQ.SOURCE@R