Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An annotation is created for each line of code that is executed. If you have imported Sample Data to your script, it will also be used in the annotations, showing you the real time results of the processing on your data. You can turn the annotations on and off using the script execution buttons in the Translator - Toolbar.

If you edit the script or navigate through sample data the annotations and data dialogs will be updated in real time.

...

Expand
titleView results

Verify or view your logic in the annotations in real time. For example, when mapping data you can view the results of your maps:

Screen Shot 2023-12-04 at 1.26.46 PM.png

At any point in your script you can view your data in the annotations by Using trace() function.

Expand
titleView Click on your data or results in the annotations to view or copy your data with the string viewing window

Annotations contain clickable links that open dialog boxes with your results or data.

so
  • where you can copy or inspect data in more detail.

  • View Node Trees (hierarchical data like HL7, X12, XML, and database query results), that can be expanded/contracted to show more or less detail as needed. With some node trees you can also use the “Show Empty Nodes“ check box to analyze empty segments/values.

You can open multiple annotations dialog boxes at once. These can be docked to the right or bottom of the Translator to keep your work space clean.

Image Added
Expand
titleNavigate between functions and files

By clicking on the function name in the annotations you can navigate between functions in the various Lua files within your Project Tree. These function name links make it easy to step into or out of any called function.

...