🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #334814

Re: E2032 For loop control variable must have ordinal type

#334814
From: R.e.m.e.K
Date: Mon, 16 Jan 2012 15:41
24 lines
1402 bytes
Dnia Mon, 16 Jan 2012 16:14:32 +0100, jh napisał(a):

> Podejrzewam, że to moja nieznajomość typów generycznych się kłania... :(

Na oko to wyglada dobrze, wiec sprawdzilem.

> [DCC Error] uLists.pas(212): E2032 For loop control variable must have 
> ordinal type
> 
> Podpowie ktoś, skąd taki błąd?

W XE jest to samo, chyba znalazles buga, ktory sie ciagnie od lat. Ale jak
pomiedzy implementation a metode wsadzisz:

function nothing : Integer;
begin
end;

to bledu juz nie ma. Co ciekawe jesli bedzie to procedura a nie funkcja to
blad nadal bedzie sobie wylatywal :/

-- 
pozdro
R.e.m.e.K
Technical Details
Message-ID: <zo0dx059vn5m.dlg@hell.heaven>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
References: <jf1eso$r2g$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
From: "R.e.m.e.K" <go@dev.null>
Newsgroups: pl.comp.lang.delphi
Subject: Re: E2032 For loop control variable must have ordinal type
Date: Mon, 16 Jan 2012 16:41:24 +0100
Organization: ICM, Uniwersytet Warszawski
Lines: 24
Sender: hell@heaven
Message-ID: <zo0dx059vn5m.dlg@hell.heaven>
References: <jf1eso$r2g$1@inews.gazeta.pl>
NNTP-Posting-Host: 89-75-115-216.dynamic.chello.pl
Mime-Version: 1.0
X-Trace: news.icm.edu.pl 1326728483 23977 89.75.115.216 (16 Jan 2012 15:41:23 GMT)
X-Complaints-To: usenet@news.icm.edu.pl
NNTP-Posting-Date: Mon, 16 Jan 2012 15:41:23 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.15.1pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit