General information
Category:
Coding, syntax & commands
Title:
Different behaviour EXE vs. Prog Env.
The following code returns a .F. when run in the programming environment and a .T. when run from within an EXE. Any clues as to why this would be the case? The correct answer is .F..
fileloc = "\\fileserver\data"
if file(fileloc + '\kill.txt')
* do something
endif
the code in question is used in a timer event to shutdown the program if the file is found. It works fine when run from the programming environment but always returns true when run from the EXE. What am I missing?
???????
Thanks for any suggestions.
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