Upgrade

angerangel edited this page Jan 7, 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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.