Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace - command - Is somthing wrong ?
Message
De
21/04/2003 12:40:11
 
 
À
21/04/2003 12:35:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00779543
Message ID:
00779859
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform