General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only