Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET RESOURCE TO
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SET RESOURCE TO
Miscellaneous
Thread ID:
00136663
Message ID:
00136663
Views:
58
I have a program where I want to capture my current Resouce settings and return to them upon exiting the program. The code is as follows:

OrigResource = SYS(2005)
SET RESOURCE TO C:\NEWSOURCE

* Main.Prg

SET RESOURCE TO &OrigResource

When I try the SET RESOURCE TO &OrigResorce command at the end, I get a cannot open file message.

What am I doing wrong, and how can I correct this?
Next
Reply
Map
View

Click here to load this message in the networking platform