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
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
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.
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
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
>
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
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
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
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,
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
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,
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!,
> >
>
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
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]
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
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
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.
17 matches
Mail list logo