![]() | ![]() | ![]() | const | ![]() |
The const command creates a tcl constant. Tcl constants are named values that cannot be altered by tcl scripts. Tcl constants can, however, be modified from the C/C++ application. You can use const values as constants in your Tcl scripts, or alternatively to reflect status values maintained by the C/C++ software. The format of the const command is:
% const name ?value?
Where:
Normally consts will be created from the C++ code. See const "variables" for more information about accessing const's from user code.
![]() | ![]() | ![]() | const | ![]() |