State information

Previous translation activity that results in Tcl code being run can store state information for use during a generate route detail.

For example:

  • Raw route detail procedures
  • Pre- or post-processor procedures for a translate route detail
  • Generate route detail procedures
  • Pre- or post-processor code fragments for a translate route detail action

State information can be in the form of Tcl global variables or a database.

Note: Unless state information needs to be saved across source messages. There is no reason to put it in a database.