Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any known issues with PARAMETERS()?
Message
From
29/06/2000 15:02:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Any known issues with PARAMETERS()?
Miscellaneous
Thread ID:
00386643
Message ID:
00386643
Views:
51
Hey all.

I have a VFP DLL that has a method requiring a character parameter. I test to ensure that it has been passed with
PROC OpenFile(cPath)
IF PARAMETERS() < 1
   RETURN .F.
ELSE
   RETURN .T.
ENDIF
ENDPROC
Now I know the parameter is being sent, because if I change this code to do a TYPE check on the parameter, it works. Apparently, PARAMETERS() is always returning < 1....

A search of TechNet and the MSDN site returns no KBs. Any insight anyone?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Next
Reply
Map
View

Click here to load this message in the networking platform