Skip to content
angerangel edited this page Mar 20, 2013 · 1 revision

USAGE

   UPGRADE 

DESCRIPTION

Check for newer versions (update REBOL).

UPGRADE is a function value.

#SOURCE

upgrade: make function! [  [
    "Check for newer versions (update REBOL)."
    /local err
][
    print "Fetching upgrade check ..."
    if error? err: try [do http://www.rebol.com/r3/upgrade.r none] [
        either err/id = 'protocol [print "Cannot upgrade from web."] [do err]
    ]
    exit
] ]
Clone this wiki locally