Kevin,
You are treating < > the same as " ".
BCXLIB needs to be defined for < > to work correctly.
James
James,
SUB FindIncludeFiles(FileName$)
' Added by MrBcx in 8.1.2* has absolutely -
NOTHING- to do with
BCXLIB* has absolutely -
NOTHING- to do with the parsing and dispatch of $INCLUDE <filename>
Those tasks are accomplished inside
FUNCTION Doinclude(szWord$, iFLAG AS PINT) which
I did not write.
I investigated the functioning of
FUNCTION Doinclude by setting BCXLIB=C:\Foo\Bar\ and the code retrieved it
from the ENVIRON$() function and properly appended the sanitized filename to it.
In other words,
FUNCTION Doinclude() seems to be working as intended.
Which leaves me wondering whether
you have correctly set
BCXLIB to a valid path.