Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange SCREEN behavior
Message
De
11/10/1997 10:05:06
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
09/10/1997 14:15:40
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00052958
Message ID:
00054162
Vues:
39
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform