Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scope in VFP
Message
De
28/07/2006 11:37:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/07/2006 11:27:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01141152
Message ID:
01141163
Vues:
21
>Hi Everyone:
>
>Does anyone have a good site that gives a basic description of using variables in foxpro (specifically scope). i don't have a good understanding of it and have often had it happen where the variables are not available to other parts of my code. therefore, since i'm not building apps for broad distribution but only for my company, i use public variables. i have heard that this is a big no no (especially when computers weren't as fast as they are now), but i don't run into problems but want to be able to stop it before i do.
>
>i remember also a website that has a video describing scope but can't find it. any suggestions? thanks,
>
>paul

Paul,
It's easy to understand scope if you use only one scope for your variables:

local myVariable
local array myArray[1]

The scope is local to the routine.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform