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 will be used on the next event involving the cursor (like moving the mouse), regardless of if you call SETCURSORNOWAIT. However, calling SETCURSORNOWAIT will show 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