Use a TVF/Tcl variable in verbatim block

Document created by burr_shaw on Nov 26, 2012
Version 1Show Document
  • View in full screen mode

Use tvf::VARIABLE above the verbatim block, and the SVRF variables in the block.

Example 1 - directly:

tvf::VARIABLE M2_WID 4

tvf::VERBATIM {

wide_M2 = M2 WITH WIDTH >= M2_WID

}

 

Example 2 - with a Tcl variable :

set wide_m2 4
tvf::VARIABLE M2_WID $wide_m2

 

The verbatim block is the same as Example 1.

Attachments

    Outcomes