Rebol Programming/upgrade

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:

[edit | edit source]
UPGRADE 

DESCRIPTION:

[edit | edit source]

Download a new version of REBOL if available.

UPGRADE is a function value.

SOURCE CODE

[edit | edit source]
upgrade: func [
    "Download a new version of REBOL if available." 
    /local platforms fields me message
][
    do http://www.rebol.com/releases.html
]