Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem public array
Message
From
28/10/2003 15:43:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Problem public array
Miscellaneous
Thread ID:
00843759
Message ID:
00843759
Views:
50
hello everyone, i have a prg file that has the following declaration along with procedures that change the values of variables.

PUBLIC containercount, containeritem, notFirstOp
PUBLIC ARRAY containRef_id(1) as String

In a form i set procedure to the prg.
When i click the save button, i pause and check the watch window, none of the variables are declared; however, i can set the values of each variable EXCEPT for the public array. When I call procedures in the prg, everything is accessible EXCEPT the public array.

When the code returns to the form, the variables that got changed in the prg procedure have the proper values. Doesn't this mean the form is using the public declaration of the variables from the prg. If so, why is the array not accessible. Thanks for the help.
Randy Belcher
AFG Industries, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform