Skip to content
Snippets Groups Projects
Commit 1d09a17e authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

typo fixed

Rev: doc/manual/example1:1.5
Rev: doc/manual/example2:1.3
Rev: doc/manual/example3:1.3
Rev: doc/operators/logical_and:1.2
parent d6fd78a1
No related branches found
No related tags found
No related merge requests found
...@@ -126,9 +126,9 @@ ...@@ -126,9 +126,9 @@
other than zero. Otherwise what's between the second set of brackets will other than zero. Otherwise what's between the second set of brackets will
be executed. Let's look at that expression: be executed. Let's look at that expression:
argc > 2 && argv[1] == "--traditional" argc > 1 && argv[1] == "--traditional"
Loosely translated, this means: argc is greater than two and the second Loosely translated, this means: argc is greater than one and the second
element in the array argv is equal to the string "--traditional". element in the array argv is equal to the string "--traditional".
Also note the comments: Also note the comments:
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
file_contents=replace(file_contents,argv[1],argv[2]); file_contents=replace(file_contents,argv[1],argv[2]);
Call the builtin function replace and replace oall occurances of the 'from' Call the builtin function replace and replace all occurances of the 'from'
string with the 'to' string and assign the new result to the variable string with the 'to' string and assign the new result to the variable
'file_contents'. 'file_contents'.
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
int offset=0; int offset=0;
Then ther is a global variable called offset which is initalized to zero. Then there is a global variable called offset which is initalized to zero.
(each instance of this class will have it's own instance of this variable, (each instance of this class will have it's own instance of this variable,
so it is not truly global, but..) so it is not truly global, but..)
Note that the initalization is done when the class is cloned. (or Note that the initalization is done when the class is cloned. (or
......
...@@ -10,7 +10,6 @@ DESCRIPTION ...@@ -10,7 +10,6 @@ DESCRIPTION
evaluates a and returns zero if a is zero. Otherwise it returns evaluates a and returns zero if a is zero. Otherwise it returns
b. Note that b is not evaluated at all if a returns zero. b. Note that b is not evaluated at all if a returns zero.
KEYWORDS KEYWORDS
operators operators
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment