Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For Each ....
Message
From
22/05/2004 07:09:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/05/2004 01:54:17
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00906200
Message ID:
00906219
Views:
19
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform