Cambia el macro por paréntesis:
use carga
copy to (lxFile) delimited
El problema es que el macro te sustituye algo así como:
lxFile = "Nombre largo"
use carga
copy to Nombre largo delimited
... y Visual FoxPro espera que después de "Nombre" ya aparezca la siguiente palabra clave.
>HOLA AMIGOS MI PROBLEMA AHORA ES EL SIGUEINTE, DESEO GUARDAR UNA TABLA A UN ARCHIVO DELIMITADO POR COMAS Y LO TENGO ASI:
>
>lxFile=putfile()
>
>use carga
>copy to &lxFile delimited
>
>pero si elijo una ruta la cual contenta un nombre muy largo o con espacios me genera error como debo hacer para poder solverntar esto.
>
>hi friends mi problem now is , I wich save a table on a file delimited with ',' the systaxis i've this:
>
>lxFile=putfile()
>
>use carga
>copy to &lxFile delimited
>
>but, if i want a path long this procedure i generate error. please helpme
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)