🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: E2032 For loop control variable must have ordinal type

#334816
From: jh
Date: Mon, 16 Jan 2012 21:17
17 lines
1247 bytes
W dniu 16.01.2012 16:43, Piotr Rezmer pisze:
> Zrób jak poniżej i nie dręcz Abrakadabry :)

Nie będą mieli ze mną lekko :P


> var
> packetName :string;
> begin
> for packetName in AStrings do
> begin
> //tutaj przetwarzanie

Oczywiście to naturalny sposób, ale mnie jest potrzebny indeks jako 
klucz w liście, stąd for I := 0...

jh
Technical Details
Message-ID: <jf244p$7fm$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <jf1eso$r2g$1@inews.gazeta.pl> <jf1gja$2u5$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: jh <no-email@sorry.com>
Newsgroups: pl.comp.lang.delphi
Subject: Re: E2032 For loop control variable must have ordinal type
Date: Mon, 16 Jan 2012 22:17:13 +0100
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 17
Message-ID: <jf244p$7fm$1@inews.gazeta.pl>
References: <jf1eso$r2g$1@inews.gazeta.pl> <jf1gja$2u5$1@inews.gazeta.pl>
NNTP-Posting-Host: nat.netcity.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1326748633 7670 91.195.57.2 (16 Jan 2012 21:17:13 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Mon, 16 Jan 2012 21:17:13 +0000 (UTC)
X-User: jh0909nowe
In-Reply-To: <jf1gja$2u5$1@inews.gazeta.pl>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit