Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record source - how to speed up manipulation?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01107414
Message ID:
01107480
Vues:
22
>>hmm, how about replacing the variables with DEFINITIONs ?
>>This way you keep readability but skip variable assigninments.
>
>What do you mean here? Could you please elaborate?
>
>>Have a good Shabos haChodesh .
>
>Good Shabbos to you too!
>
>Thanks.
well, if you promise to get home in time for `licht benching` :-)
sometimes when i have complicated variable assingnments I use DEFINE 's.
so instead of something like:
lcVar = str(field1)+substr( field2, at("-",field3))+transform( val( lcVar1,"99.999")
insert into tbl01 (field5) value (lcVar)
i would do:
#DEFINE VALUE_NEW str(field1)+substr(field2,at("-",field3))+transform(val(lcVar1,"99.999")
.
.
.
   insert into tbl01 (field5) value (VALUE_NEW)
.
.
.
#UNDEF VALUE_NEW
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform