Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error : Illegal redefinition of variable
Message
 
À
24/07/2013 06:00:47
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01579124
Message ID:
01579133
Vues:
49
To make sure a public variable can be created regardless if it has been used before, use this:
** ChkPrivateVariable.prg
Private zuretval
zuretval="PrivateVariable"
Suspend
**EOF

** Now in command window :
** 1. run this prg file (do ChkPrivateVariable)
** 2. Try to declare the same variable as Local OR Public 

Release zuretval
Public zuretval

** Here it will no longer show the same error.
Frank Camp
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform