Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace - command - Is somthing wrong ?
Message
From
21/04/2003 12:40:11
 
 
To
21/04/2003 12:35:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00779543
Message ID:
00779859
Views:
18
BOb,

Your second example will do the replace on ALL records where the for condition is met, every time through the loop. (The ALL keyword is implied by FOR).

>
>Which to me would be more correct as:
>
>
>Replace ALL city with "" for  suburb = city
>
>
>OR
>
>
>SCAN
>   if suburb = city
>      Replace city with "" for  suburb = city
>   endif
>ENDSCAN
>
>
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform