Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange SCREEN behavior
Message
From
11/10/1997 10:05:06
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
09/10/1997 14:15:40
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00052958
Message ID:
00054162
Views:
34
>>I also see a problem with the calling statement in USMAPS.EXE
>>You have...
>>DO (cHomeDir)+"D_UDIAG.EXE" WITH "UGRP"
>>
>>Change it to...
>>DO (cHomeDir+"D_UDIAG.EXE") WITH "UGRP"
>>
>>i.e. Move the parenthesis
>>//:^)
>>P.S. I just saw you OK msg. It still would be a good idea to change the parenthesis mistakes.
>
>Larry,
>
>What's the reason for changing the position of the closing parenthesis? We have used syntax like DO (cHomeDir)+"X.PRG or USE (cDataDir)+"PRDY0.DBF" IN 0 SHARE extensively and it has worked with no problems. In the 2 examples, we have a variable assignment statement at the beginning of our application such as cHomeDir = "H:\GROUP\MIPS\" and cDataDir = "H:\GROUP\MIPS\DATA\"
>
>Dan
I am not sure if there is any difference. If there isnt, then why do you use the parens at all? Why not just
DO cHomeDir+"D_UDIAG.EXE" WITH "UGRP"

I use the parens just to make sure that FP knows to "evaluate this first" before reading the rest of the command line.

Let me know what you find out.//:^)
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform