Re: A favor please


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Brian Levantine (24.5.233.200) on November 04, 2004 at 15:43:22:

In Reply to: A favor please posted by Stephen Auerbach on November 04, 2004 at 13:41:07:

Hi Steve. Good idea but sadly there is no way to easily impliment such a feature. I know it seems simple but it's not and I'll explain why.

When you perform a compile using UltraEdit the only piece of information that is passed to Comet is the name of a command file. The command file is processed by a new IB program called CAPI. There are two ways CAPI can get the name of a source file. The first is to look for the special !//IB// tag at the beginning of the file. From the parameters that follow the tag, CAPI can determine the name of a source file. The other way CAPI determines the name of a source file is by defaulting to the command file if there is no !//IB// tag in the file and the file has an extension of IBS. In either case, if CAPI cannot find the file in the QDIR associated with the file, it makes the QDIR entry for you.

Now, in order for CAPI to register any include files contained in the source file, it would have to not only scan the source, but also each nested include file that it finds. If that's not bad enough, it would also have to take into account any conditional directives (.IF, etc.) that may enable/disable an include file from a compile. So sadly, I don't see this feature happening at any time soon (Unless of course you want to write the code for me - a simple enter program would do nicely).

Brian



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]