Patrick
D4 complains too, unless you drop the outer brackets;
for i := 0 to Pred(RegionList.Items.Count) do
leo
Patrick Dunford wrote:
> Is the following syntax legal in D4 and above. The D3 compiler refuses to
> compile it.
>
> for (i := 0 to Pred(RegionList.Items.Count)) do
>
> ' := found but ) expected
>
> ============================================
> Patrick Dunford, Christchurch, NZ
> EnzedRailWeb Sites
> http://patrick.dunford.com/enzedrailweb/
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz