>Hi Fabio
>
>>>I mean is this...
>>>
>>>
PRIVATE m.lcCurrentBuffer
>>>STORE " " TO m.lcCurrentBuffer
>>>
>>
>>>Better than just this?
>>>
>>>
STORE " " TO m.lcCurrentBuffer
>>
>
>It is not good enough to check one line at a time.
>
>Is this...
>
>
PRIVATE lcCurrentBuffer
>STORE " " TO lcCurrentBuffer
>
>Better than just this?
>
>
STORE " " TO lcCurrentBuffer
>
>If so, then since the store results in a private variable, no need to do...
>
PRIVATE lcCurrentBuffer
>
>Si o no? ;)
No. PRIVATE line is necessary.
A:
PRIVATE pippo
STORE " " TO pippo
RELEASE pippo
vs
B:
STORE " " TO pippo
RELEASE pippo
B: is slower and bad
Bad programming because it can overwrite a private variable on the stack
Slower, because VFP has to look for in the stack if a private variable exists,
and later it has to define the private variable.