Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
 
To
02/12/2006 09:37:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173721
Message ID:
01174616
Views:
10
Hey Dragan,

>Speed is a minor issue here - alen() is only a few milliseconds slower than retrieving a value of a variable,
>so calling it again doesn't cost much at all. Still, it's an old habit of mine - if it's a function, don't
>call it twice if you don't have to.

With the vast majority of the tasks in VFP being I/O bound in nature, I don't think
that all of us should be that worried about calling a routine that "takes a bit of time."
Specifically, I think we should all be concentrating on maximizing the efficiency of our
queries, caching records in cursors and arrays, and wondering how our apps are going
to respond when multiple users are accessing the same data. That would be time well
spent, IMHO.

Anywho, Dragan, keep doing things the way you're doing them, and I'd only worry about
time considerations when warranted. That's the way I view all of this, anywho.(Shrug.)

Best Regards,

Randall
--
Randall Jouett
Amateur/Ham Radio: AB5NI
I eat spaghetti code out of a bit bucket while sitting at a hash table! Someone
asked me if I needed salt, and I said, "I'm not into encryption." :^)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform