Table of Contents

ugBASIC User Manual

SPAWN

SYNTAX

   [HALTED] SPAWN [name][{[parameter],{[parameter],....}}]

PURPOSE

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

EXAMPLE

  SPAWN factorial(42)
  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