Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiler does not catch this syntax error, bug?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901990
Message ID:
00902969
Views:
23
This will not work:
>
>c = "copy file a.txt to c:\program files\my application\a.txt"
>&c
>
>
>This works:
>
>copy file ("a.txt") to ("c:\program files\my application\a.txt")
>
>
>but most of the time, the source and dir are not fixed, so David's example makes perfect sense.


Frank,

I do not deny that his example makes sense.

The following equally works:
c = [copy file a.txt to "c:\program files\my application\a.txt"]
&c
So, this makes sence too.

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform