Last modified on 27 October 2012, at 22:08

REBOL Programming/forever

USAGE:Edit

FOREVER body 

DESCRIPTION:Edit

Evaluates a block endlessly.

FOREVER is a function value.

ARGUMENTSEdit

  • body -- Block to evaluate each time (Type: block)

(SPECIAL ATTRIBUTES)Edit

  • throw

SOURCE CODEEdit

forever: func [
    "Evaluates a block endlessly." 
    [throw] 
    body [block!] "Block to evaluate each time"
][
    while [on] body
]