PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: John Fitz on August 08, 2004, 12:12:53 AM

Title: Continuation character in include file
Post by: John Fitz on August 08, 2004, 12:12:53 AM
Paul,

Looks like there is a problem with continuation characters when a COM module is included in a project.

Firefly moved the declares to its own declares file, but doesn't comment out the line after the continuation character. This causes a compiler error.

For example (snipped from the include file for DAO from the PB com browser):


Interface Dispatch DAODBEngine
...
   Member Call CompactDatabase<&H6003000A>(In SrcName As String<&H00000000>, In DstName As String<&H00000001>, Optional In DstLocale As Variant<&H00000002>, Optional In Options As Variant<&H00000003>, _
       Optional In SrcLocale As Variant<&H00000004>)
...
End Interface


The line

Optional In SrcLocale As Variant<&H00000004>)

is not commented out. It DOES get carried over to the declares file.

Regards,

JF
Title: Continuation character in include file
Post by: TechSupport on August 08, 2004, 11:28:58 AM
Hi John,

I have just emailed you the fix. Thanks for catching this problem.
Title: Continuation character in include file
Post by: John Fitz on August 08, 2004, 07:42:23 PM
Paul,

Looks like you fix worked. :thumbsup:

Thanks!

JF