Hi!
<wonders if this is slightly offtopic>
thanks for the reply, but.. it wasn't quite what i
was aiming for. I realise how the for..each is used,
what I was after is how does VB actually DO it. at
this point I am assuming that it uses an (unnamed/
undocumented) Interface to access/enumerate the
Collection. I am trying to find out what this
mechanism is, so that i can duplicate it the 'proper'
way in delphi...
Thanks.
> From: Jeremy Coulter [mailto:[EMAIL PROTECTED]]
> Subject: RE: [DUG]: VB (for..each) to delphi
>
> The "For Each" in VB is used alot for things like
> Collections and or recordsets.
<snip>
> does anyone know offhand what constructs vb uses in
> order to perform for..each operations, eg:
> <snip>
> ie does it use an IStrings interface or similar? as
> far as i can tell, SFS.SymbolNames has an IDispatch
_____________________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz