[REBOL] Re: Interesting date formatting functions

2003-12-04 Thread A J Martin
Didec wrote: > And so (even if I can suppose what is it) what is the code of the 'pad func ?? Here's the version I use: >> source pad pad: func [ {Pads a value with leading zeroes or trailing spaces or a specified fill character.} Value [any-type!] "The value." Width [integer!] "The

[REBOL] Re: [bug?] Problem with 'load

2003-12-04 Thread SunandaDH
Romano: > troublesome-script: { > , > REBOL [needs: [9.9.9 xxx]] > } > load-all-script: func [s][ > if s: script? s [ > load/all s > ] > ] That's ingenious!! Thanks a lot, Sunanda. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with un

[REBOL] Sharp Zaurus 5600

2003-12-04 Thread rebol
Hello, Do any of you have a Zaurus? Can Rebol be ported? Thanks, James -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Re: Compressing image data (bugs?)

2003-12-04 Thread Henrik Mikael Kristensen
Gabriele Santilli wrote: > Hi Henrik, > > On Thursday, December 4, 2003, 3:18:36 PM, you wrote: > > HMK> Still, I'd like to know if there's an easier way to contain the image > HMK> size with the data. > > Just keep the image in the original format, i.e.: > >image-data: read/binary %img.g

[REBOL] Re: [bug?] Problem with 'load

2003-12-04 Thread Romano Paolo Tenca
Hi Sunanda, > troublesome-script: { > , > REBOL [needs: [9.9.9 xxx]] > } > script? troublesome-script ;; finds a valid header : correct! > load-header troublesome-script ;; Romano's script -- finds a valid header: > correct! > load troublesome-script ;; fails due to the 'need >

[REBOL] Re: Compressing image data (bugs?)

2003-12-04 Thread Romano Paolo Tenca
Hi, Henrik given a Rebol image, a solution: do decompress compress mold help.gif Instead a more secure: load decompress compress mold/all help.gif fails for a load bug (Feedback Id #31r704220): >> load mold/all help.gif ** Syntax Error: Invalid construct -- #[ ** Near: (line 522) #[i

[REBOL] Re: Compressing image data (bugs?)

2003-12-04 Thread Gabriele Santilli
Hi Henrik, On Thursday, December 4, 2003, 3:18:36 PM, you wrote: HMK> Still, I'd like to know if there's an easier way to contain the image HMK> size with the data. Just keep the image in the original format, i.e.: image-data: read/binary %img.gif Then later you can LOAD it: img: load

[REBOL] Re: Compressing image data (bugs?)

2003-12-04 Thread Henrik Mikael Kristensen
Henrik Mikael Kristensen wrote: > Hi, all > > Sometimes image handling baffles me a bit. I want to embed a small > 2-colored image in the script for use in a button. It would of course be > nice to compress it to a chunk of binary data. > > However, I always lose the size of the image when do

[REBOL] Re: [bug?] Problem with 'load

2003-12-04 Thread SunandaDH
Hi Brett, > I might have missed a message on this, but is there any reason why you > cannot use an upgraded version of REBOL? Thanks for the reply. My mistake.I got too many version of REBOL around, and I did all my pre-post testing on an older version. Load does now perform as you say,

[REBOL] Compressing image data (bugs?)

2003-12-04 Thread Henrik Mikael Kristensen
Hi, all Sometimes image handling baffles me a bit. I want to embed a small 2-colored image in the script for use in a button. It would of course be nice to compress it to a chunk of binary data. However, I always lose the size of the image when doing something with it, which is highly impract

[REBOL] Re: [bug?] Problem with 'load

2003-12-04 Thread Brett Handley
Hi Sunanda, > We know 'load is bad as it evaluates the header: > Not true - Core 2.5.2 introduced a safer LOAD. Please see: http://www.rebol.com/docs/changes.html#section-4.2 > But this problem looks like it needs a different approach. ... > Any ideas? I might have missed a message on this,

[REBOL] Re: HTTP Headers

2003-12-04 Thread Reboler
Thank you.. Anton - Original Message - From: "Anton Rolls" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 11:44 PM Subject: [REBOL] Re: HTTP Headers > > select system/options/cgi/other-headers "HTTP_REFERER" > > ? > > Anton. > > > Hi Folks!, > > >

[REBOL] Re: Interesting date formatting functions

2003-12-04 Thread Didec
Re: Interesting date formatting functions > not to mention 'pad function - that one has to be added to core to stop > bothering me each time I need it :-) YES ! And so (even if I can suppose what is it) what is the code of the 'pad func ?? > > -pekr- > -- To unsubscribe from this list, just

[REBOL] Re: PayLoad 1.2

2003-12-04 Thread Olivier Auverlot
Sorry, you can't use payload to build CGI application. If you want to hide your script for an web application, you must buy SDK. Olivier ;-) - Original Message - From: "Sabu Francis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 5:13 PM Subject: [REBOL]

[REBOL] Re: [bug?] Problem with 'load

2003-12-04 Thread SunandaDH
More problems with load. This may not be a bug, but I can't find a workaround. I want to be able to safely load *any* script to check it has acceptable syntax before allowing it into REBOL.org. But we absolutely don't want to evaluate the header as that may execute untrusted code in server

[REBOL] Re: Interesting date formatting functions

2003-12-04 Thread Petr Krenzelok
Gregg Irwin wrote: >AJM> This is the interesting one/two: > >*Very* creative thinking Andrew! > >-- Gregg > > > not to mention 'pad function - that one has to be added to core to stop bothering me each time I need it :-) -pekr- -- To unsubscribe from this list, just

[REBOL] Re: Interesting date formatting functions

2003-12-04 Thread Gregg Irwin
AJM> This is the interesting one/two: *Very* creative thinking Andrew! -- Gregg -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.