From 6d45e6e4a3fbb435cb38a23e40817f6078e5b70c Mon Sep 17 00:00:00 2001 From: carl Date: Sun, 8 Sep 2002 15:06:15 +0000 Subject: [PATCH] * fix property example --- docs/ref.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ref.tex b/docs/ref.tex index 00d527c35f..41cd366478 100644 --- a/docs/ref.tex +++ b/docs/ref.tex @@ -2086,7 +2086,7 @@ Type TPoint = Class(TObject) Public Property X : Longint index 1 read GetCoord Write SetCoord; Property Y : Longint index 2 read GetCoord Write SetCoord; - Property Coords[Index : Integer] Read GetCoord; + Property Coords[Index : Integer]:Longint Read GetCoord; end; Procedure TPoint.SetCoord (Index : Integer; Value : Longint); begin @@ -4481,8 +4481,8 @@ SmallInt = -32768..32767; Longint = $80000000..$7fffffff; byte = 0..255; word = 0..65535; -dword = cardinal; -longword = cardinal; +dword = longword; +cardinal = longword; Integer = smallint; \end{verbatim} The following types are used for the functions that need compiler magic