Skip to content

Commit cff6a57

Browse files
committed
better example
1 parent e9da3c0 commit cff6a57

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/index.asciidoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,17 @@ interface
2929
type
3030
{ My amazing class. }
3131
TMyClass = class
32+
private
33+
FMyProperty: String;
3234
public
3335
{ My amazing method. }
3436
procedure MyMethod;
3537
{ My amazing property. }
36-
property MyProperty: string read GetMyProperty;
38+
property MyProperty: String read FMyProperty write FMyProperty;
3739
end;
3840

3941
implementation
40-
...
42+
// ...
4143
end.
4244
```
4345

@@ -122,4 +124,4 @@ While developing PasDoc we also developed some link:OtherTools[OtherTools] that
122124
About these web pages:
123125

124126
* We are using wiki to easily update these pages. You are welcome to contribute to the documentation!
125-
* All text within this wiki is licensed on terms of http://www.gnu.org/copyleft/gpl.html[GNU General Public License] (just like PasDoc sources).
127+
* All text within this wiki is licensed on terms of http://www.gnu.org/copyleft/gpl.html[GNU General Public License] (just like PasDoc sources).

0 commit comments

Comments
 (0)