Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local vs Private Parameters
Message
From
16/04/2007 13:02:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01216334
Message ID:
01216344
Views:
20
>>It appears that creating a function via
>>
FUNCTION myFunc (p1 AS String, p2 AS Int,...etc)
>>creates the paramaters as Local variables.
>>
>>Using the same syntax, is there an option somewhere that would allow them to be created as PRIVATE????
>>
>>Thanks......Rich
>
>I thought it would create them as private (guess I was wrong). Using Parameters vs LPARAMETERS statement gives you more control.

Yeah, I know that. Unfortunately there are a couple of hundred little modules using this syntax and I was hoping to be able to convert them without having to dig through them all.

That being said, maybe it's better to check them all since a couple of the modules might really need the local versions.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform