Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record source - how to speed up manipulation?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01107414
Message ID:
01107480
Views:
21
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform