SETCURSORNOWAIT

Synopsis
SETCURSORNOWAIT
Description

SETCURSORNOWAIT changes the cursor to the familiar arrow shape. This should be just before a call to YIELD.

Once FMSLogo is set to yield, the appropriate (non-hourglass) cursor is used on the next event involving the cursor (like moving the mouse), regardless of whether you call SETCURSORNOWAIT. However, calling SETCURSORNOWAIT shows the arrow cursor without waiting for the next event.

Example
REPEAT 100 [
  NOYIELD
  SETCURSORWAIT
  REPEAT 100 [
    ; (work to be done)
  ]
  SETCURSORNOWAIT
  YIELD
]

SourceForge.net Logo