Cannot get `OMIT` working according to the documentation

I am trying to figure out how OMIT works - better said I want to eventually create a template in which one can define a value - but I want to have a fallback value, or better said a default value for the equate if it’s not set - but I can’t get the following piece of code to work - it throws a Unknown Identifier unless I remove the OMIT (comment it out is enough`

OMIT('MyEquateValue', MyEquateValue <> 0)
MyEquateValue EQUATE('TEST')
MyEquate EQUATE(MyEquateValue)

The above was inside my .inc file which I include - but it does act the same inside the Global Data section - my program is currently Clarion 8 (Legacy)

The thing I don’t understand is that it should only be omitted when it has a value other than 0 - it’s 0 by default if not defined according to the documentation - but clearly it does have a value, otherwise it wouldn’t be omitted right?

Got it fixed - apparently it works a little different than I thought- following works:

OMIT('*My Equate*', MyEquate <> 0)
MyEquate EQUATE('TEST')
! *My Equate*

Read the help carefully. If your Expression is just an Equate Label without an operator (no = <> ) e.g.

   OMIT('xxx', _IncludeMyCode_)
   xxx

Of _IncludeMyCode_help says

If the Expression contains an EQUATE that has not yet been defined, then the referenced EQUATE is assumed to be zero (0). COMPILE and OMIT are opposites.

It actually was the way I wrote it - I used the EQUATE as terminator and that didn’t work