>hello all,
>I am unable to understand the following
>
>
>For each ..
>endfor | next | var
>
>
>can "endfor" or "next" or "next var" be used interchangable ? Can someone please tell ?
>
>Suhas
Suhas,
Yes they're interchangeable. var after next is ignored and serves as a comment only. Better make it a comment explicitly.
FWIW do not use 'for each' but 'for nCounter = 1 to ...' (just a suggestion w/o any comments:)
Cetin