Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining Parameters
Message
 
 
À
29/06/1998 03:09:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00111505
Message ID:
00112792
Vues:
28
Pat,
I may have missed some of this thread BUT what I have read NOONE has checked the HELP file. It deals with passing less than the expected number of Parameters and states that the extra's are initialised to .F. HTH
Andrew

>>Pat,
>>PARAMETERS() return the number of parameters in the most recently
>>called method (which can, for example, be an OKL or a timer)
>>you can use PCOUNT() which return the number of parameters passed to the current method
>>
>>Arnon
>
>Thanks Arnon,
>
>I wasn't aware about the difference between PARAMETERS() and PCOUNT(). Coming from Clipper I would expect the PARAMETERS() function to operate identically. Obviously, it doesn't.
>
>However this does not explain some of my problems with the PARAMETERS() function such as ... as the source file grows, the function blows up.
>Nor does it explain why it sometimes returns 0 when undoubtfully it should return something else ... and that's for sure, it comes as the very first statement in a PRG file, function or method and no timer interrupted it.
>What's an OKL ?
>Million thanks for the PCOUNT() stuff which I'll use instead.
>
>Pat
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform