Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pcount()
Message
From
19/02/2003 11:54:39
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Pcount()
Miscellaneous
Thread ID:
00754996
Message ID:
00754996
Views:
42
Hi All

I am seeing different behavior with pcound(). If I call a method with a parameter directly all works well. If I subclass the method and put in a dodefault(), pcound() returns a 1 even though I don't pass a parameter. For example:
this.mymethod()

* mymethod
lparameters tcParm
? pcount() && this = 0


this.mysubmethod()

* mysubmethod
lparameters tcParm
dodefault(tcParm)

* mymethod
lparameters tcParm
? pcount() && this = 1
Next
Reply
Map
View

Click here to load this message in the networking platform