summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Jezabek <jezabek@poczta.onet.pl>2008-08-18 13:36:50 +0000
committerJan Jezabek <jezabek@poczta.onet.pl>2008-08-18 13:36:50 +0000
commit0916b16f66f46ecedfb753fb8d0040b9b36e4892 (patch)
treeadf1d9b6261ee85e1b71d3d41903f60111ab0045
parent271e7f9169c601f9886e2cccac2b24bc16ee68d7 (diff)
downloadswig-0916b16f66f46ecedfb753fb8d0040b9b36e4892.tar.gz
Fixed some typos in documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-jezabek@10785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Doc/Manual/COM.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/Manual/COM.html b/Doc/Manual/COM.html
index 742c467ea..4a5acc714 100644
--- a/Doc/Manual/COM.html
+++ b/Doc/Manual/COM.html
@@ -253,7 +253,7 @@ The precise way how you can load your module depends on the target language. In
<div class="code"><pre>
Dim example
Set example = CreateObject("example.example")
-</pre</div>
+</pre></div>
<p>
The variable <tt>example</tt> now contains a reference to an object of the <i>module class</i> which
@@ -494,7 +494,7 @@ is used as follows:
<div class="code"><pre>
Dim v
-v = CreateObject("example.Vector")
+Set v = CreateObject("example.Vector")
v.x = 3.5
v.y = 7.2
Dim x, y
@@ -646,7 +646,7 @@ you can use an instance of <tt>Bar</tt> as argument to <tt>spam</tt>:
<pre>
Dim example, b
Set example = CreateInstance("example.example")
-Set b = CreateInstance("example.bar")
+Set b = CreateInstance("example.Bar")
example.spam(b)
</pre>
</div>
@@ -864,8 +864,8 @@ you can use the constructor in the following way:
<pre>
Dim example, v
-example = CreateObject("example.example")
-v = example.Vector.new_Vector(1.42, 10)
+Set example = CreateObject("example.example")
+Set v = example.Vector.new_Vector(1.42, 10)
</pre>
</div>
@@ -883,7 +883,7 @@ objects. In this case you can use the following code:
<pre>
Dim v
-v = CreateObject("example.Vector")
+Set v = CreateObject("example.Vector")
</pre>
</div>