Information générale
Titre:
Parameter Not Being Passed
I'm getting some weird behavior - hoping someone might have some insight.
I have a method in a class which accepts 2 parameters. When I instantiate the class in the command window and call the method, if the first paramter I pass is an integer, it is simply ignored. The first line of the method, after the introductory comments, is:
lParameters tnStmtKey,tcInfo
The method is called "getstmtinfo". If I call o.getstmtinfo(1,'name'), the 1 gets ignored, and only the 'name' is passed into the tnStmtKey parameter. When debugging, tcInfo will have the value of .f.
I've tried recompiling the class library, exiting and reentering VFP, and changing the parameter list.
I'm using VFP 8 on Win XP.
Any thoughts would be appreciated.
Thanks,
David
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