Tcl_Helpers
Tcl_Helpers is a package that enables you to easily generate Tcl code
in Ada. Follow the rules below, and you will generate Tcl commands
from Ada without having to worry about the TASH binding.
-
Begin a sequence of Tcl commands with Begin_Block.
-
Write a Tcl command using Put.
-
Do not pass a string containing a quotation mark to Put. Instead,
use Put_Quotation.
-
Use New_Line at the end of each command.
-
At the end of the sequence, use End_Block.
The Tcl_Only parameter tells Tcl_Helpers if you want Ada code, or just
straight Tcl code. You don't need to worry about this parameter,
as RAPID controls its value.