SETCURSORWAIT sets the cursor to the familiar hourglass shape. Its purpose is to indicate two things. First, it indicates that the current operation may take some time. Second, it indicates the user does not have control until the operation completes. This command only works when not yielding. Once FMSLogo is set to yield, the appropriate (non-hourglass) cursor is used on the next event involving the cursor (like moving the mouse). This means that you must run NOYIELD before each SETCURSORWAIT. If you decide to YIELD momentarily during a computation you must run SETCURSORWAIT again. In other words, if you wish to use SETCURSORWAIT it should always be paired up with a NOYIELD (just before it).
REPEAT 100 [ NOYIELD SETCURSORWAIT REPEAT 100 [
; (work to be done)] SETCURSORNOWAIT YIELD ]