|
From: Frank K. <fbk...@co...> - 2005-01-02 23:21:37
|
Aitor Santamaría Merino wrote: > Hi, > > In my project I am dealing with different language string catalogs, and > it would be of use if there would be a directive that checks the > existence of certain file to be included, is there a way to do this? > Something like > %ifexists "filename" > %ifnexists "filename" > ... > %endif Hi Aitor, I don't think Nasm provides any way to do that. I wish I had a better answer for ya! The only workaround I can think of would be a batch or script file that collects that information... if exist "file001" do echo %define HAVE_FILE001 >> filelist.inc if exist "file002"... ... pretty ugly. I'll cc this to a couple other lists... maybe somebody will have some better ideas... Best, Frank |