Something is wrong in your code, I think.
Try this:
1. add to the form a button with on click event displays the type of the containRef_id(1)
2. from the command window declare public array containRef_id(1)
3. call the form
4. when clicking on the button, what do you see?
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement