File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ Variable resolution
67
67
The variable command in Jim Tcl has the same syntax as Tcl, but is closer in behaviour to the global command.
68
68
The variable command creates a link from a local variable to a namespace variable, possibly initialising it.
69
69
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.
71
71
72
72
proc ::test::myproc {} {
73
73
variable myvar 4
@@ -89,7 +89,7 @@ And similarly, the following will only access local variables
89
89
90
90
set x 3
91
91
namespace eval ::test {
92
- # This will incremement a local variable, not ::x
92
+ # This will increment a local variable, not ::x
93
93
incr x
94
94
# This will also increment a local variable
95
95
incr abc::def
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ are prefixed with 'Account' and a space.
44
44
45
45
PREDEFINED CLASS METHODS
46
46
------------------------
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
48
48
require an object and simply return or manipulate properties of the class. These are:
49
49
50
50
new ?instancevars?::
@@ -84,7 +84,7 @@ For example:
84
84
85
85
PREDEFINED OBJECT METHODS
86
86
-------------------------
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
88
88
on a specific object.
89
89
90
90
destroy::
@@ -122,7 +122,7 @@ For example:
122
122
123
123
DECLARING METHODS
124
124
-----------------
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
126
126
methods redefined with the class method, method.
127
127
128
128
Declaring a method is very similar to defining a proc, and the arglist
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ The query method has the following signature:
39
39
40
40
The sql query may contain occurrences of "%s" that are substituted
41
41
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
43
43
"'" characters. So for example it is possible to write:
44
44
45
45
. $db query "SELECT * from tbl1 WHERE one='%s'" hello!
@@ -120,7 +120,7 @@ the NULL value as a different string:
120
120
. $db query -null <<NULL>> "SELECT * from tbl1"
121
121
{one hello! two 10} {one goodbye two 20} {one <<NULL>> two 30}
122
122
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
124
124
dataset you can change it.
125
125
126
126
Finding the ID of the last inserted row
@@ -135,7 +135,7 @@ Number of rows changed by the most recent query
135
135
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136
136
137
137
This is also very simple, there is just to use the 'changes' method
138
- without arugments .
138
+ without arguments .
139
139
140
140
. $db changes
141
141
5
You can’t perform that action at this time.
0 commit comments