Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Please confirm EXECSCRIPT() bug
Message
From
07/12/2003 16:20:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Please confirm EXECSCRIPT() bug
Miscellaneous
Thread ID:
00856725
Message ID:
00856725
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform