Macro Error Checking

The Windows Help compiler checks the validity of each macro included in a build of the Help file during compilation. If the compiler finds an error, it gives an error message and continues the build. The compiler checks for the following:

nIf the macro name is spelled correctly

nIf the macro syntax is correct—matching parentheses, matching quotation marks, or missing commas

nIf the macro has the correct number of parameters

nIf the parameter type matches the specified type—numeric or string, for example

nIf the prototype is valid for a RegisterRoutine macro

Although the Help compiler can check for these predictable errors, as the Help author you are responsible for verifying that the macros you use work correctly in the built Help file.