Message
From
01/12/2006 04:59:45
 
 
To
30/11/2006 23:03:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Fórum:
Visual FoxPro
Category:
Programação, sintaxe e comandos
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
ID da thread:
01173721
ID da mensagem:
01174024
Views:
12
>>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.

Yeah, that too.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Responder
Mapa
View