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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to