Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: in USE the ALIAS clause does not support a procedur
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00897871
Message ID:
00897909
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform