Mark,
Use this:
external file filename.xml
It doesn't need to to be put inside an
if .f.
block
>I have some XML files that I am using to configure grids and other controls. They are properties on the controls, to VFP Proj. Mgr. does not see them. Of course I could go thru and add them all manually. Back in the old days before External Array declaration we would put dummy procedures of the array name in the main program to keep FoxPro from saying they were undeclared. What I would like to do is something similar with these, and other files. I tried each of the following:
>
>if .f.
> type filename.xml
> =file('filename.xml')
> #include filename.xml
>endif