Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Substitution - Epilogue
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00736706
Message ID:
01127773
Views:
39
This message has been marked as the solution to the initial question of the thread.
Hi Naomi,

> Which method is preferable?

GETPEM() for a numer of reasons:

- It's faster.

- It's more secure. With EVALUATE() you have to ensure that user input cannot have any impact on the name

- You can use RETURN TO. In VFP 9 if EVALUATE() calls VFP code, that code cannot use RETURN TO to return to a specific method.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform