Skip to content

Commit

Permalink
docs: fix more typos
Browse files Browse the repository at this point in the history
Some identified by frgm

Signed-off-by: Steve Bennett <steveb@workware.net.au>
  • Loading branch information
msteveb committed Feb 11, 2016
1 parent 2fdf40d commit d56bd19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.namespaces
Expand Up @@ -67,7 +67,7 @@ Variable resolution
The variable command in Jim Tcl has the same syntax as Tcl, but is closer in behaviour to the global command.
The variable command creates a link from a local variable to a namespace variable, possibly initialising it.

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

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

set x 3
namespace eval ::test {
# This will incremement a local variable, not ::x
# This will increment a local variable, not ::x
incr x
# This will also increment a local variable
incr abc::def
Expand Down
6 changes: 3 additions & 3 deletions README.oo
Expand Up @@ -44,7 +44,7 @@ are prefixed with 'Account' and a space.

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

new ?instancevars?::
Expand Down Expand Up @@ -84,7 +84,7 @@ For example:

PREDEFINED OBJECT METHODS
-------------------------
Decaring a class pre-defines a number of "object" methods. i.e. those which operate
Declaring a class pre-defines a number of "object" methods. i.e. those which operate
on a specific object.

destroy::
Expand Down Expand Up @@ -122,7 +122,7 @@ For example:

DECLARING METHODS
-----------------
In addition to the predefined methods, new methods may be decared, or existing
In addition to the predefined methods, new methods may be declared, or existing
methods redefined with the class method, method.

Declaring a method is very similar to defining a proc, and the arglist
Expand Down
6 changes: 3 additions & 3 deletions README.sqlite
Expand Up @@ -39,7 +39,7 @@ The query method has the following signature:

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

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

This way if the emtpy string has some semantical value for your
This way if the empty string has some semantical value for your
dataset you can change it.

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

This is also very simple, there is just to use the 'changes' method
without arugments.
without arguments.

. $db changes
5
Expand Down

0 comments on commit d56bd19

Please sign in to comment.