>An app uses FILE(lcFile) to determine if a particular routine is contained in the app/exe or must be searched for elsewhere.
>
>While tracing, IF FILE(lcFile) succeeds, but FILE(lcFile) shows false in the watch window.
>
>In some sense this is logical, because the app environment is slightly different from that of the developer, but it had us very confused.
>
>Is this a bug of how the watch window works?
>
>TIA,
>
>Alex
I am not sure whether it should be considered a bug, but I have seen some suggestions, to use adir() instead of file(), to check whether the file is really in a specific directory. I think file() will simply return whether the file was found, whether it is in the current directory, along the search path, or within the executable. Or something like that.
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)