Skip to content

Commit d56bd19

Browse files
committed
docs: fix more typos
Some identified by frgm Signed-off-by: Steve Bennett <[email protected]>
1 parent 2fdf40d commit d56bd19

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.namespaces

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Variable resolution
6767
The variable command in Jim Tcl has the same syntax as Tcl, but is closer in behaviour to the global command.
6868
The variable command creates a link from a local variable to a namespace variable, possibly initialising it.
6969

70-
For example, the following procedure uses 'variable' to initialse and access myvar.
70+
For example, the following procedure uses 'variable' to initialise and access myvar.
7171

7272
proc ::test::myproc {} {
7373
variable myvar 4
@@ -89,7 +89,7 @@ And similarly, the following will only access local variables
8989

9090
set x 3
9191
namespace eval ::test {
92-
# This will incremement a local variable, not ::x
92+
# This will increment a local variable, not ::x
9393
incr x
9494
# This will also increment a local variable
9595
incr abc::def

README.oo

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ are prefixed with 'Account' and a space.
4444

4545
PREDEFINED CLASS METHODS
4646
------------------------
47-
Decaring a class pre-defines a number of "class" methods. i.e. those which don't
47+
Declaring a class pre-defines a number of "class" methods. i.e. those which don't
4848
require an object and simply return or manipulate properties of the class. These are:
4949

5050
new ?instancevars?::
@@ -84,7 +84,7 @@ For example:
8484

8585
PREDEFINED OBJECT METHODS
8686
-------------------------
87-
Decaring a class pre-defines a number of "object" methods. i.e. those which operate
87+
Declaring a class pre-defines a number of "object" methods. i.e. those which operate
8888
on a specific object.
8989

9090
destroy::
@@ -122,7 +122,7 @@ For example:
122122

123123
DECLARING METHODS
124124
-----------------
125-
In addition to the predefined methods, new methods may be decared, or existing
125+
In addition to the predefined methods, new methods may be declared, or existing
126126
methods redefined with the class method, method.
127127

128128
Declaring a method is very similar to defining a proc, and the arglist

README.sqlite

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The query method has the following signature:
3939

4040
The sql query may contain occurrences of "%s" that are substituted
4141
in the actual query with the following arguments, quoted in order
42-
to make sure that the query is correct even if this arguments contain
42+
to make sure that the query is correct even if these arguments contain
4343
"'" characters. So for example it is possible to write:
4444

4545
. $db query "SELECT * from tbl1 WHERE one='%s'" hello!
@@ -120,7 +120,7 @@ the NULL value as a different string:
120120
. $db query -null <<NULL>> "SELECT * from tbl1"
121121
{one hello! two 10} {one goodbye two 20} {one <<NULL>> two 30}
122122

123-
This way if the emtpy string has some semantical value for your
123+
This way if the empty string has some semantical value for your
124124
dataset you can change it.
125125

126126
Finding the ID of the last inserted row
@@ -135,7 +135,7 @@ Number of rows changed by the most recent query
135135
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136136

137137
This is also very simple, there is just to use the 'changes' method
138-
without arugments.
138+
without arguments.
139139

140140
. $db changes
141141
5

0 commit comments

Comments
 (0)