Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter Not Being Passed
Message
From
25/09/2003 17:22:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Parameter Not Being Passed
Miscellaneous
Thread ID:
00832491
Message ID:
00832491
Views:
46
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
Map
View

Click here to load this message in the networking platform