Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutting Down the Computer
Message
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00532885
Message ID:
00533195
Views:
11
>And don't define CR, use local variable instead... Learned recently this from George Tasker...

Nadya,
I think you're taking George's post out of context. IIRC, George posted that you should use a local variable when dealing with loop conditions. You should assign a local variable the value of the constant and then use it in your tight loop. That way, VFP doesn't continyually have to reevaluate the CHR() function.

You don't need to do it when you aren't running through loops or the number of interations is relatively small.

Just my $0.02.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform