Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type function is not smart enough
Message
De
25/10/2002 09:25:10
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/10/2002 09:09:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00714883
Message ID:
00715383
Vues:
13
>>>Hi Vlad,
>>>
>>>My guess is that TYPE() function doesn't evaluate UDF's for performance reason.
>>
>>And how about side-effects? The UDF might do almost anything.
>
>I agree with your analysis. The UDF could be called with a reference parameter, and in fact return nothing at all in the normal sense.

Yes, but apart from return-values, I meant that the function might have undesirable side effects. That is, apart from returning a value, the UDF might change the environment, close the application, delete data, etc.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform