Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PROC glitch?
Message
From
08/03/1999 16:36:50
 
 
To
08/03/1999 16:34:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00195344
Message ID:
00195345
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform