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

[REBOL] Re: Build Package

From: agem:crosswinds at: 7-Jul-2001 17:23

RE: [REBOL] Re: Build Package Hi Carl, Phil! [philb--upnaway--com] wrote:
> Hi Robert, > > I would certainly be interested .... didnt realise Carl's package would unpack everything on the client side. > > I have an email client that consists of 19 .r files (1 main file that 'does' the rest of the files which define functions). Currently I have a program to amalgamate everything into 1 big file. > But it needs replacing with something more general that I can use with some of my other programs ... especially something that handles graphics & sound files. >
What do you expect from carl? tsts. files: [ logo: %test.txt %test.r %test.r ] gives {logo: 64#{SGVsbG8gVGhhaXMh} print "%test.r" print "%test.r"} that means everything is joined, and stuff with variables (logo:) base-64-encoded in variable (images ..) scripts run linear down without need for' do . header is taken from first script with some adds. script looks then like REBOL [Title: "of first script" Built: 7-Jul-2001/15:06:59+2:00 Length: 56] code: 64#{lots-of-crazy-chars} if system/script/header/length <> length? code [alert "Corrupt program." quit] do decompress code no external unpacking required. ;-) Volker