[REBOL] Re: Getting version number of a Rebol Program.
From: gschwarz:netconnect:au at: 23-May-2003 9:31
Cal,
Thank you for your input. Below is what I have done which is much neater,
only some of the names changed.
a: first load/all/header %program.r
b: first load/all/header to-file join program-location [ "tools/program.r" ]
if a/version <> b/version [ write %program.r read to-file join
program-location [ "tools/program.r" ]
print "Tools program updated, please restart program." wait 5 quit]
Regards,
Greg
----- Original Message -----
From: "Cal" <[Cal--prolific--com]>
To: <[rebol-list--rebol--com]>
Cc: <[gschwarz--netconnect--com--au]>