Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: Compile - error, run - no error
Message
 
À
08/12/2006 19:41:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01176311
Message ID:
01176317
Vues:
10
Yes, as if DO and CTRL+E compile in some kind of "silent mode".
COMPILE displays the message "1 file, 1 error", but not the "Cancel/Ignore..." dialog.
BTW, it was the same in FPD:
- DO and CTRL+O compile in "silent mode"
- COMPILE displays a wait window message"1 file, 1 error"
- ALT+P+M "Cancel/Ignore..." dialog
I guess it is for backward compatibility ;)

>1. MODIFY COMMAND temp.prg
>2. Copy code below into the open temp.prg
>3. ALT+P+M to compile it
>4. Observerd: ERROR: Command contains unrecognized phrase/keyword.
>
>5. Click Cancel to dismiss the messagebox with error
>6. CTRL+E to run the same code
>7. Observerd: Code runs w/o error and ouputs "Invalid Type" to the desktop
>Expected: The same error as in 4.
>
>
>lnDriveType = 0
>DO CASE
>CASE lnDriveType = 6
>	lcDriveType = "RAM disk
>OTHERWISE
>	? "Invalid Type"
>ENDCASE
>
>
>Comments: I thought that CTRL+E causes code to be compiled as with ALT+P+M and then run but it seems not to be the case.
Doru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform