[fpc-pascal] a few trivial questions

Lee Jenkins lee at datatrakpos.com
Wed May 12 18:06:51 CEST 2010


Michael Van Canneyt wrote:
> 
> 
> On Wed, 12 May 2010, spir ☣ wrote:
> 
>> Hello,
>>
>> * TFPList
>> Is there another way to traverse a list than
>>    for i :=0 to (list.count - 1) do ...
> 
> You can use an enumerator with the latest SVN:
> 
> foreach P in List do
> 

That's good news.  I wasn't aware that that had been implemented.

--
Warm Regards,

Lee




More information about the fpc-pascal mailing list