Problem with incbin

BlitzMax Forums/BlitzMax Programming/Problem with incbin

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I wrote a control program that prints out every single line and that works, but my problem is that I want to write a kind of documentation tool.

There are several files which are needed for the docs, but there are as well some files which are *.bmx or *.bb for examples files. Now the app should decide whether there is
a *.bmx or a *.bb file. If they are not included in the exe everything works fine by using the filetype function but this
function does not work with incbin.
I know that the files are there, because I can read them but only if I know if they are existing. But I want to make the program like:

Pseudo:
If filetype(incbin::abcdef.txt) = 0 then
Print "not documented"
else
Print file
endif