General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only