The general programming syntax for BTCL is essentially that of TCL and, thus, it performs operations on character strings to produce results in the form of strings. Whenever arithmetic operations are performed, the strings are first converted into numbers. The result is converted back to a string.
The description here is limited mainly to mathematical operations and program flow-control statements. For a full description of the list- and string-manipulation commands in TCL, as well as its many other powerful features, please see Ousterhout, J. K. Tcl and the Tk Toolkit, Addison-Wesley: Reading (1994).
BTCL Language access
Variables and Expressions
Copyright Biosym/MSI