[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: How does the -i flag work?
- Subject: Re: How does the -i flag work?
- From: Dan Vega <vega@CASSI.COM>
- Date: Mon, 4 Dec 2000 11:50:51 -0500
- In-Reply-To: <200012040701.AAA12417@list.iex.net>
- References: <200012040701.AAA12417@list.iex.net>
The SQR compiler follows the path of the -i flag regardless of your current
directory. So if your 'modified' directory is specified first in the -i list
then the SQR compiler will always look for includes there first regardless of
whether your .sqr program was run from the 'modified' directory or the
'original' directory.
You can add ./; (dot-slash-semicolon for UNIX) or .\; (dot-backslash-semicolon
for Windows) to the beginning of the -i list to add the 'current' directory to
the start of the includes path, but Wayne is correct: your 'current' directory
is probably the directory where the SQR compiler is installed, not the
directory where your 'original' or 'modified' .sqr's and .sqc's are.
You need to use different -i lists to run all 'original' versions versus any
'modified' versions. Or you could rename 'modified' versions temporarily so
you can run pure 'original' versions.
Dan Vega
CASSI Computer Consulting
Avon, MA, USA