Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code within a template
Message
De
07/04/2002 21:13:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00642000
Message ID:
00642010
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform