Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spellbound - EVAL() in VFP6 needs to be macroed in VFP9?
Message
 
To
20/09/2006 07:02:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155368
Message ID:
01155437
Views:
68
Hi Fabio

I put in wait windows at all the points you mentioned

>? type( THIS.CheckSource )
C

>? vartype(poText)
O

> ? message()
Nothing happended, the code went on to execute further
WAIT WINDOW type( THIS.CheckSource )
WAIT WINDOW  vartype(poText)
*try
***===> evals okay
cContents = EVALUATE(THIS.CheckSource)
*catch
* WAIT WINDOW  message()
*ENDTRY

cSource   = THIS.CheckSource
***===> macros okay
cContents = &cSource.

cSource   = THIS.CheckSource
***===> evals fails
cContents = EVALUATE(cSource)
So I guess coming via into variables it does have a problem. Thanks I guess this solves the problem, or raises more questions?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform