Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What does this code do?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00385850
Message ID:
00385866
Vues:
10
Thanks to both of you. After I posted, I tried compling and got an error. So I can be pretty safe in assuming this code isn't actually used anywhere. I'm just trying to sort out what's important in all the junk in this system.

I think the programmer was pretty clueless. I ran across a similar program:

CLEAR
CLOSE ALL
SELECT PRIORITY ;
FROM M:\PRO\APDATA\APVEND10.DBF exclusive
REPLACE ALL apvend10.priority WITH LTRIM("2") FOR priority=LTRIM("3")

Tell me, what is the point of LTRIMing a constant with no leading spaces?!?

Sigh. At least this one figured out the "WITH" part.

Michelle


>Probably generates an error. There's no WITH value. If it's trying to what you think:
REPLACE ALL ICITEM10.HISTORY WITH NOT ICITEM10.HISTORY FOR NOT HISTORY
>* Or
>REPLACE ALL ICITEM10.HISTORY WITH .F. FOR NOT HISTORY
will do.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform