[fpc-pascal] Testing existence of a file at compilation time

2012-04-26 Thread Mark Morgan Lloyd
Is it possible to test for the existence of a file, directory or package at compilation time, i.e. {$if exists() or similar? The specific scenario I'm looking at is where I want to publish a couple of projects on Berlios, and the functionality will differ depending on whether a particular

Re: [fpc-pascal] Testing existence of a file at compilation time

2012-04-26 Thread Sven Barth
Am 26.04.2012 11:21 schrieb Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk: Is it possible to test for the existence of a file, directory or package at compilation time, i.e. {$if exists() or similar? The specific scenario I'm looking at is where I want to publish a couple of projects