Hi everyone,
I’ve encountered a strange error this morning regarding an INLCUDE file that will post the following error
The include file is inserted within the Global Embed “Before File Declaration”
like so
INCLUDE(’.\LibSrc\Win\AppDMLWhenTask.equ’)
On compilation I’m having the following error
“Expecte:;CODE INCLUDE OMIT SECTION COMPLIE PRAGMA GROUP ITEMIZE MAP”
When I insert the entire file at the embed point “Before File Declaration”, the compilation went on without
any error.
What I found even more strange I do use a lot equ file with ITEMIZE structure within my classes. Even more so they are used within the same app. I was wondering what am I’m doing wrong.
Here’s the content of the file named AppDMLWhenTask.equ that was inserted totally within the embed point compile successuflly but as an INCLUDE file it wont compile.
!AppDML WhenTask procedures equates list identifiers
!The WhenTask concept processed through WhosCalling, HasToDo and HasDone
!jcDict class
WhenTask ITEMIZE,PRE(WTjcDict)
FMPrimeFields EQUATE(401) !PROCEDURE
FMInit EQUATE !PROCEDURE(File File,ErrorClass EC)
InitDebug EQUATE !PROCEDURE(BYTE pAppDebugState)
END
!jcDictA class
WhenTask ITEMIZE,PRE(WTjcDictA)
FMPrimeRecord EQUATE(451) !PROCEDURE(BYTE SuppressClear = 0),BYTE
InitDebug EQUATE !PROCEDURE(BYTE pAppDebugState)
END
!jcRéf class
WhenTask ITEMIZE,PRE(WTjcRef)
FMPrimeFields EQUATE(501) !PROCEDURE
InitDebug EQUATE !PROCEDURE(BYTE pAppDebugState)
END
!jcRéfA class
WhenTask ITEMIZE,PRE(WTjcRefA)
InitDebug EQUATE(551) !PROCEDURE(BYTE pAppDebugState)
END
!jcTable class
WhenTask ITEMIZE,PRE(WTjcTable)
InitDebug EQUATE(401) !PROCEDURE(BYTE pAppDebugState)
END
!jcTableA class
WhenTask ITEMIZE,PRE(WTjcTableA)
InitDebug EQUATE(451) !PROCEDURE(BYTE pAppDebugState)
END
Thanks
Robert