Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UDF's second rate citizen in Rushmore ?
Message
De
09/09/2006 18:28:45
 
 
À
08/09/2006 18:10:37
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01151219
Message ID:
01152588
Vues:
35
Hi Mike,

>WOW! OK, that's cool, but you didn't make the join expressions exactly match the index expressions. Made me wonder if there's any harm in doing so. It works fine.
>

As far as I know it is not necessary to modify WHERE clause because UDF arguments in a WHERE are always passed by value.

>Doesn't that exclude passing an array by reference to the UDF?
>

Yes, but that's the behavior that WHERE has, parameters are not passed by ref (see my answer above). So, if key expression passes parameter by ref, it doesn't match an expression in WHERE.

Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform