Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code within a template
Message
From
07/04/2002 21:13:16
 
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00642000
Message ID:
00642010
Views:
18
>You should not use LOCAL in scripts or templates because those are actually translated into PRIVATEs. This is necessary for the code to run in CodeBlock since it won't be able to see LOCALs between the parsing of the function.
>
>LOCAL ARRAY will definitiely fail because there's no such thing as PRIVATE ARRAY, so just don't use LOCAL on arrays.

I use local in script a lot in order to isolate the variable that I need in the script. If I understand correctly, I don't have to do it. Correct?

Thanks for the info
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform