@@ -649,11 +649,11 @@ normal processing with the next character. For example, in the
649
649
command
650
650
651
651
----
652
- set \*a \\\ {foo
652
+ set \*a \\{foo
653
653
----
654
654
655
- The first argument to `set` will be +{backslash} *a+ and the second
656
- argument will be +{backslash}{ foo+.
655
+ The first argument to `set` will be +*a+ and the second
656
+ argument will be +{foo+.
657
657
658
658
If an argument is enclosed in braces, then backslash sequences inside
659
659
the argument are parsed but no substitution occurs (except for
@@ -666,10 +666,10 @@ For example, in the
666
666
command
667
667
668
668
----
669
- set a {\{abc}
669
+ set a {\\ {abc}
670
670
----
671
671
672
- the second argument to `set` will be +{backslash}{ abc+ .
672
+ the second argument to `set` will be `\\{ abc` .
673
673
674
674
This backslash mechanism is not sufficient to generate absolutely
675
675
any argument structure; it only covers the
@@ -799,25 +799,25 @@ String constants representing boolean constants
799
799
(+'0'+, +'1'+, +'false'+, +'off'+, +'no'+, +'true'+, +'on'+, +'yes'+)
800
800
are also recognized and can be used in logical operations.
801
801
802
- 1. Operands may be specified in any of the following ways:
802
+ Operands may be specified in any of the following ways:
803
803
804
- 2 . As a numeric value, either integer or floating-point.
804
+ 1 . As a numeric value, either integer or floating-point.
805
805
806
- 3 . As one of valid boolean constants
806
+ 2 . As one of valid boolean constants
807
807
808
- 4 . As a Tcl variable, using standard '$' notation.
808
+ 3 . As a Tcl variable, using standard '$' notation.
809
809
The variable's value will be used as the operand.
810
810
811
- 5 . As a string enclosed in double-quotes.
811
+ 4 . As a string enclosed in double-quotes.
812
812
The expression parser will perform backslash, variable, and
813
813
command substitutions on the information between the quotes,
814
814
and use the resulting value as the operand
815
815
816
- 6 . As a string enclosed in braces.
816
+ 5 . As a string enclosed in braces.
817
817
The characters between the open brace and matching close brace
818
818
will be used as the operand without any substitutions.
819
819
820
- 7 . As a Tcl command enclosed in brackets.
820
+ 6 . As a Tcl command enclosed in brackets.
821
821
The command will be executed and its result will be used as
822
822
the operand.
823
823
0 commit comments