There is no limit to the number and position of Stop statements within procedures.
The Stop statement acts like a breakpointplacing the program in break mode and highlighting the current line in the development environmentallowing you to step through the code line by line.
Stop is intended primarily for use in the design-time environment, where it suspends program execution without terminating it. In the runtime environment, Stop invokes the debugger.
Unlike the End statement, Stop does not explicitly close any open files or clear any variables, except in a compiled executable.