Skip to content

Commit 0be8ac0

Browse files
Daniele Parisimsteveb
Daniele Parisi
authored andcommitted
fix issues in the manual
1 parent 9784dcf commit 0be8ac0

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

jim_tcl.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -649,11 +649,11 @@ normal processing with the next character. For example, in the
649649
command
650650

651651
----
652-
set \*a \\\{foo
652+
set \*a \\{foo
653653
----
654654

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+.
657657

658658
If an argument is enclosed in braces, then backslash sequences inside
659659
the argument are parsed but no substitution occurs (except for
@@ -666,10 +666,10 @@ For example, in the
666666
command
667667

668668
----
669-
set a {\{abc}
669+
set a {\\{abc}
670670
----
671671

672-
the second argument to `set` will be +{backslash}{abc+.
672+
the second argument to `set` will be `\\{abc`.
673673

674674
This backslash mechanism is not sufficient to generate absolutely
675675
any argument structure; it only covers the
@@ -799,25 +799,25 @@ String constants representing boolean constants
799799
(+'0'+, +'1'+, +'false'+, +'off'+, +'no'+, +'true'+, +'on'+, +'yes'+)
800800
are also recognized and can be used in logical operations.
801801

802-
1. Operands may be specified in any of the following ways:
802+
Operands may be specified in any of the following ways:
803803

804-
2. As a numeric value, either integer or floating-point.
804+
1. As a numeric value, either integer or floating-point.
805805

806-
3. As one of valid boolean constants
806+
2. As one of valid boolean constants
807807

808-
4. As a Tcl variable, using standard '$' notation.
808+
3. As a Tcl variable, using standard '$' notation.
809809
The variable's value will be used as the operand.
810810

811-
5. As a string enclosed in double-quotes.
811+
4. As a string enclosed in double-quotes.
812812
The expression parser will perform backslash, variable, and
813813
command substitutions on the information between the quotes,
814814
and use the resulting value as the operand
815815

816-
6. As a string enclosed in braces.
816+
5. As a string enclosed in braces.
817817
The characters between the open brace and matching close brace
818818
will be used as the operand without any substitutions.
819819

820-
7. As a Tcl command enclosed in brackets.
820+
6. As a Tcl command enclosed in brackets.
821821
The command will be executed and its result will be used as
822822
the operand.
823823

0 commit comments

Comments
 (0)