Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error : Illegal redefinition of variable
Message
 
To
24/07/2013 06:00:47
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01579124
Message ID:
01579133
Views:
50
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
Previous
Reply
Map
View

Click here to load this message in the networking platform