Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
From
30/11/2006 23:03:43
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:
01173985
Views:
8
>Looks like I've been wasting odd lines of code for years then.
>
>I could have *sworn* I've used that lazy way out in the odd noddy code I've written in the past. Let me see now ... was it in PLM/86?
>
>Mind you, for readability, I'd still rather see something more meaningful, like:
>
>lnNumFiles = ALEN(laFiles,1)
>
>For I = 1 to lnNumFiles ...

I do that, but not for readability. I do it because each time I don't, there comes a case when I need that value elsewhere in the code, and I don't want to call alen() multiple times.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform