Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any known issues with PARAMETERS()?
Message
 
À
29/06/2000 15:31:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00386643
Message ID:
00386691
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform