Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Getting version number of a Rebol Program.

From: Al:Bri:xtra at: 23-May-2003 17:52

> 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" ]
This is nicer: The_File: %tools/program.r b: first load/all/header program-location/:The_File if a/version <> b/version [ write %program.r read program-location/:The_File ] Andrew Martin ICQ: 26227169 http://www.rebol.it/Valley/ http://Valley.150m.com/