Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any known issues with PARAMETERS()?
Message
From
29/06/2000 15:10:57
 
 
To
29/06/2000 15:02:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00386643
Message ID:
00386653
Views:
17
I tested what you have and it works fine here.

Pat.

>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?
Patrick L. Stovall
Senior Architect/Developer
MCP - C#

VeroQuest
P.O.Box 7216
Kalispell, MT 59904
Previous
Reply
Map
View

Click here to load this message in the networking platform