>Nah, I was trying to use macro substitution - do &longstring - and it did not work. If I just wrote do x.y(params) it worked. Don't know why macro substituion did not work, but I have moved on. Thanks for the help.
"Don't know why macro substitution did not work..."
Because of embedded spaces. A name expression (parentheses) doesn't have this problem.
With macro, for example, the following:
lcFileName = "My File.dbf"
use &lcFileName
Gets expanded and interpreted as:
use My File.dbf
Which is an invalid command, because of the space.
With parentheses, lcFileName is treated as a variable - no problem whatsoever.
HTH,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)