>Philippe,
>
>You are mistaken, variables are by default PRIVATE, they must be declared LOCAL.
It's clear now. Thanks to all.
The only information about defalut status as private in fox help is this one:
private variable (defined)
A variable that is released when the routine it is defined in terminates. Private variables are the default in Visual FoxPro and require no special keywords to define. However, they can be scoped with the PRIVATE keyword if there is already a variable of the same name at a higher level. Contrast local variable, public variable.
I didn't find anymore clear information about the topic.
Kind regards
Philippe RIONDEL,
a French man in Montreal
=======================================================Who tries can sometimes be wrong, who doesn't is always