Please enable JavaScript to view this site.

 

Navigation: 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 particular message occurs if the result of a macro refers to another macro.

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.

 

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 20-Mar-2021