Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: in USE the ALIAS clause does not support a procedur
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00897871
Message ID:
00897909
Vues:
15
>This bug is a parser bug, and it is the same of the bug into the TYPE() command;
>the parser search for a array.
>
>This occur for Procedure and Methods.

Fabio,

First, your code has an error in it. You pass a parameter to a procedure without a PARAMETER or LPARAMETER statement.

Second, no where in the documentation does it say that the ALIAS accepts a function call. It specifically states a character string.

Third, the problem is easily by-passed by calling the function and using the return result as in USE (DBF()) AGAIN IN 0 ALIAS (lcalias).

Fourth, do not use the "is not optimal" argument. Fewer lines of code does not neccesarily translate into better performance.
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