[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Test for #INCLUDE files
Michael,
No, you can't really do what you want.
You can, however, use #if or #ifdef or #ifndef to conditionally
include the file.
Ray
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I would like my report to check for the existence of the #INCLUDE files that
> I've referenced and provide a friendly message of my own if the #INCLUDE
> file doesn't exist. Is there a way to do this? It seems that when SQR
> compiles the program it looks for the #INCLUDE files first, therefore I
> can't use conditional logic based on the existence of the file or lack
> thereof.
>
> Thanks.
> Michael
>
----------------------------------------------------------------------
Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/