Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PROC glitch?
Message
De
08/03/1999 16:36:50
 
 
À
08/03/1999 16:34:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00195344
Message ID:
00195345
Vues:
22
Hi Jeff ---

The & is going to work because its simple macro substitution. Using parenthesis is like EVAL() and (pure WAG here) the comma probably confuses VFP.


>There seems to be some sort of odd behavior in SET PROCEDURE where it won't accept a string variable as the argument if the string contains more than one procfile.
>
>Specifically:
>
>SET PROC TO XXX, YYY
>PUBLIC gcProc
>gcProc = SET("PROCEDURE")
>SET PROC TO ZZZ
>SET PROC TO (gcProc)
>
>This last line yields a VFP error "Invalid path or file name".
>
>However, the following works:
>
>SET PROC TO &gcProc.
>
>What gives?
>
>-- jas
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform