>I am trying to include the following line in the load method of a form.
>
>#include HOME(1) + 'foxpro.h'
>
>When I try to save the form I get "File does not exist" error message but when I hard code the path I don't get the error.
>
>Any ideas why?
>
>Thanks!
#define and #include require expressions that can be evaluated at compile-time. I suppose that the compiler expects home() to be evaluted at run-time, like many other functions.
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)