Archive

Posts Tagged ‘Label is illegal’

Lotus Notes Error : Label is illegal outside of a subprogram

Label is illegal outside of a subprogram

In Lotus Notes, I found if sometime raise error when you create new notes document.  That cause you defined a label at the module level in lotus notes form. Labels may not be defined at the module level. Executable statements at the module level are executed as the module is compiled, and then discarded. Therefore, control cannot be transferred to a labeled statement at the module level.

Read more…

Viewed 7371 times by 2149 viewers