Skip to content

Commit ecc12e2

Browse files
committed
Spellchecked more
1 parent f322429 commit ecc12e2

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.vscode/settings.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"anotherunit",
99
"apptype",
1010
"ASCIIDOCTOR",
11+
"cdecl",
1112
"coderay",
1213
"Contnrs",
1314
"corba",
@@ -29,6 +30,7 @@
2930
"Michalis",
3031
"modeswitch",
3132
"MSWINDOWS",
33+
"myconfig",
3234
"myprogram",
3335
"myunit",
3436
"nestedprocvars",
@@ -47,7 +49,9 @@
4749
"typecasted",
4850
"Unported",
4951
"unversioned",
52+
"uuidgen",
5053
"wordmark",
51-
"Writeln"
54+
"Writeln",
55+
"XPCOM"
5256
]
5357
}

modern_pascal_introduction.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -2507,7 +2507,7 @@ And a _static class method_ is just like a global procedure / function, but with
25072507
include::code-samples/class_properties.lpr[]
25082508
----
25092509

2510-
// NOTE: Why the _class properties_ have to be backed by _static class methods_, not _normal class methods_? Noone really knows (see http://lists.freepascal.org/pipermail/fpc-pascal/2017-February/050131.html , http://lists.freepascal.org/pipermail/fpc-pascal/2017-February/050135.html , https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg30511.html ), the initial implementation (Delphi) made it like that. Presumably for speed, or ease of implementation of the compiler.
2510+
// NOTE: Why the _class properties_ have to be backed by _static class methods_, not _normal class methods_? No one really knows (see http://lists.freepascal.org/pipermail/fpc-pascal/2017-February/050131.html , http://lists.freepascal.org/pipermail/fpc-pascal/2017-February/050135.html , https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg30511.html ), the initial implementation (Delphi) made it like that. Presumably for speed, or ease of implementation of the compiler.
25112511

25122512
### Class helpers
25132513

@@ -2637,7 +2637,7 @@ UseThroughInterface(InterfacedVariable as IMyInterface);
26372637
+
26382638
If executed, it would make a run-time check and raise an exception if `InterfacedVariable` does not implement `IMyInterface`.
26392639
+
2640-
Using `as` operator works consistently regardless if `InterfacedVarialbe` is declared as a class instance (like `TSomeClass`) or interface (like `ISomeInterface`). However, casting an interface to another interface this way is not allowed under `{$interfaces corba}` - we will cover that topic later.
2640+
Using `as` operator works consistently regardless if `InterfacedVariable` is declared as a class instance (like `TSomeClass`) or interface (like `ISomeInterface`). However, casting an interface to another interface this way is not allowed under `{$interfaces corba}` - we will cover that topic later.
26412641

26422642
2. Explicit typecasting:
26432643
+

0 commit comments

Comments
 (0)