Information générale
Catégorie:
Codage, syntaxe et commandes
but in the stub method that you provided, wouldn't the name of the array be what the ( say ) form called it. you said the method was in the main program not the form, so if I wanted to use that form in a different application I would once again need to add that stub method in the main program. right? maybe I'm confused? when you use the external method, the array would need to be defined elsewhere ( not in the form ), or in that case would it matter if there was an array called BlaBlaBla anywere else in the program? I guess that using external is just ( in this case ) a nice way of lying to the compiler, knowing that it will work even thought the compiler doesn't.
I think I'm talking my way though this one
so in main.prg:
array Hidden[1]
do myform with Hidden
in myform init:
lParameters notHidden
External notHidden <- or would this need to be in the load?
is this right then?
- jer
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