Article View: pl.comp.lang.delphi
Article #334819Re: E2032 For loop control variable must have ordinal type
From: Piotr Rezmer
Date: Mon, 16 Jan 2012 16:00
Date: Mon, 16 Jan 2012 16:00
28 lines
1499 bytes
1499 bytes
jh pisze:
> Podpowie ktoś, skąd taki błąd?
A może miało być:
TPhraseList<T> = class(TObjectDictionary<Integer, T>)
private
procedure DoParsePacketList(AStrings: TStringList);
end;
implementation
procedure TPhraseList<T>.DoParsePacketList(AStrings: TStringList);
var
k: Integer;
s : string;
begin
if Assigned(AStrings) then
begin
for k := 0 to AStrings.Count -1 do;//linia 212
end;
end;
--
pozdrawiam
Piotr
XLR250&bmw_f650_dakar
Technical Details
Message-ID:
<jf1hiq$4tt$2@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<jf1eso$r2g$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: Piotr Rezmer <piotr.rezmer_bez_spamu@ens.net.pl> Newsgroups: pl.comp.lang.delphi Subject: Re: E2032 For loop control variable must have ordinal type Date: Mon, 16 Jan 2012 17:00:00 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 28 Message-ID: <jf1hiq$4tt$2@inews.gazeta.pl> References: <jf1eso$r2g$1@inews.gazeta.pl> NNTP-Posting-Host: 77-252-224-134.ip.netia.com.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1326729626 5053 77.252.224.134 (16 Jan 2012 16:00:26 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Mon, 16 Jan 2012 16:00:26 +0000 (UTC) X-User: prezmer X-Antivirus: avast! (VPS 120116-0, 2012-01-16), Outbound message In-Reply-To: <jf1eso$r2g$1@inews.gazeta.pl> X-Antivirus-Status: Clean User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.1.16) Gecko/20101125 Thunderbird/3.0.11 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit