Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Please confirm EXECSCRIPT() bug
Message
De
08/12/2003 04:11:03
 
 
À
07/12/2003 16:20:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00856725
Message ID:
00856763
Vues:
21
Hi,

Help states: The return value is the value returned by the script. If the script returns no value Foxpro returns .T.. You're not returning a value just (attempting) to make an assignment so .T. seems right - but then I'd also expect the same for EXECSCRIPT('x') !

Regards,
Viv

>>
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.
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform