Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Please confirm EXECSCRIPT() bug
Message
De
07/12/2003 16:20:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Please confirm EXECSCRIPT() bug
Divers
Thread ID:
00856725
Message ID:
00856725
Vues:
61
Title
Some errors change EXECSCRIPT() return value

Repro:
PROCEDURE muutsead
cres = 'Do not touch'
ON ERROR  seterror()
cres = EXECSCRIPT('x=y')
MESSAGEBOX(cres)

PROCEDURE seterror
RETURN TO muutsead
ENDPROC
Result observed:

.T.

Result expected

Do not touch

Platform:

VFP 7, 8

Note

if EXECSCRIPT() line is changed to
lres = execscript( 'x')
expected result is returned !

Is this VFP bug ?
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform