Please enable JavaScript to view this site.

 

Navigation: Appendices > Messages > Run-Time Messages > Macros

No macro of this index defined

Scroll Prev Up Next More

This run-time message is generated for any macro token for which no macro was selected of the corresponding index.

 

➢The present token has therefore been skipped.

 

Usually this run-time message comes from ignoring the design-time message 108108.

 

However, it is possible for the present message to occur without message 108108 being present, if the result of a macro refers to a macro index not used by any of the GridTemplate's macro tokens.

sRESULT = '[3*9AnyMacro]'

In the above example, if no macro was selected for the index value of 9, then the present message would be generated unless you specified that this macro index needed to be included (thus ensuring that message 108108 is triggered to remind you to set the macro for macro index *9, for example).

 

This could be done either:

 

• If the macro always refers to a macro of the same index, then use the INCLUDE_MACRO directive directly inside the macro's source code.

•If the index of the macro index may change from one script to another, then use the INCLUDE_MACRO setting of the current script's initial conditions.

 

Note that this message will only be displayed if you chose the option Warn if Macro is skipped, either in the preferences, or when launching diary generation.

 


Topic 169500, last updated on 17-Oct-2026