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

Click here to load this message in the networking platform