SUB/FUNCTION not found

Started by Marc Van Cauwenberghe, November 14, 2004, 06:13:19 AM

Previous topic - Next topic

Marc Van Cauwenberghe

Hello,

just started a project where I add *.inc and *.bas files that I used on other projects (but not in firefly enviroment) , but when compiling the project it gives error 462: undefined SUB/FUNCTION.

p.s. I do not use any ifdef statement.

Any ideas

thanks

Marc Van Cauwenberghe

Update,

I think it has something to do with the fact that I like to use FILENAME.inc and FILENAME.BAS.  For example: I like to put my equeates, types and decrares in an *.inc file like stafil.inc.  The subs and functions go into a *.bas file like stafil.bas ( a bit like the *.h and *.c files in c).  adding them in the project gives no errors. After compiling I see only Project1_STAFIL_MODULE.inc and there are no functions inside?



Any help?

TechSupport

hmmmm..... yeah, I see what you mean. Looks like FireFly may not be differentiating between the two files with the same file name but different extensions.... In the meantime, you should probably use unique filenames until I get this fixed.

Marc Van Cauwenberghe

Thank you,

I hope you get this fixed.  I would like to use the same modules in firefly and pb.

For the moment I renamed all my FILENAME.inc and FILENAME.bas files to FF_FILENAME.INC but I know that this is not at all the way to do it. The two sets of files will start leading a different life.

Marc

Marc Van Cauwenberghe

And it is fixed,

thank you Paul :)