-
-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
PCount() returns 0 when I pass a single NULL param. There is no problem if more than one NULL param is passed.
The Fox- and VO-dialect results are the same.
FUNCTION Start() AS VOID
? TestNullParams() // ok, 0
? TestNullParams(NULL) // 0 <--- instead of 1
? TestNullParams(NULL,NULL) // ok, 2
? TestNullParams(NULL,NULL,NULL) // ok, 3
? TestNullParams(NULL,NULL,NULL,NULL) // ok, 4
RETURN
FUNCTION TestNullParams( one , two , three ) AS INT CLIPPER
RETURN PCount()
Karl-Heinz