Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any known issues with PARAMETERS()?
Message
 
To
29/06/2000 15:31:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00386643
Message ID:
00386691
Views:
19
>OK, here's the really, really odd thing. If I instance the DLL from VB, it works. From VFP, it doesn't. Oh well, switched over to PCOUNT() and it works everywhere then, so I guess I'll just fuggedaboudit.

Installed SP4 yet? I've got it installed used the following, and after registering it, seems to work fine with VFP
DEFINE CLASS Foo AS CUSTOM OLEPUBLIC
  cResult = ""
  
  PROCEDURE FooMethod(cFoo)
    
    IF PARAMETERS() < 1
      This.cResult = "No Parameters passed"
    ELSE
      This.cResult = "Parameters passed - " + TRANSFORM(PCOUNT())
    ENDIF
  ENDPROC
ENDDEFINE
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform