Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I clear an array?
Message
From
01/12/2005 10:11:05
 
 
To
01/12/2005 10:05:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01073679
Message ID:
01073709
Views:
16
>Thanks for the quick reply. How can I redimension an array that's set up as a property on my form?
>
>myform.array[1,2]

same way as usual array. dimension thisform.array(1)
if you want to just clear the array elements then just issue thisform.array=[] or .null. or whatever default value for array is.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Previous
Reply
Map
View

Click here to load this message in the networking platform