What is &ANALYZE-SUSPEND and &ANALYZE-RESUME?

There is no mention of these preprocessor directives anywhere in the ABL reference or handbook.
What do they do?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jurjen's picture

&ANALYZE-SUSPEND/RESUME

They help the Appbuilder.
When the Appbuilder opens a .w file it analyzes the sourcefile to learn about the widget definitions and so on. This analyzer has to skip some parts, those parts are marked with &ANALYZE-SUSPEND and &ANALYZE-RESUME directives.
So these directives have no effect on the compiled program, they only have effect on the Appbuilder. When you (re)move them, the Appbuilder will be confused and may clobber your sourcefile.