Table of Contents

ugBASIC User Manual

SPAWN

SYNTAX

   [HALTED] SPAWN [identifier]

PURPOSE

This keyword will invoke a (parallel) procedure. The procedure can be invoked in an “halted” state using the keyword HALTED, so that a RESPAWN command must be issued in order to “wake up” the procedure.

EXAMPLE

  handle = SPAWN moveShip
  handle = HALTED SPAWN moveArrow

ABBREVIATION

 Sw

AVAILABLE ON

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY