[REBOL] Re: paths & lookups & change

2003-10-23 Thread Elan
Hi Robert. My preference for this kind of tasks is using objects. Even though it is a little more verbose, I find it quite intuitive to use the get and set functions, as in: >> db: make object! reduce [ to-set-word "first word" 1 to-set-word "second word" 2 ] >> probe db make object! [ f

[REBOL] Re: comparing two URLs

2003-10-23 Thread Hallvard Ystad
Thanks both. But theoretically, a these two URLs may very well not represent the same document: http://www.uio.no/ http://uio.no/ but still reside on the same server (same dns entry). So ... Is it possible to _know_ whether or not these two documents are the same without downloading their doc

[REBOL] Re: paths & lookups & change

2003-10-23 Thread Brett Handley
Hi Robert, Thanks for the explanation of your reasoning. Looking at the Core guide, paths look purpose-built for this sort of database. So your reasons have good company :^) Regards, Brett. > Hi, there are several reasons: > > - For storing data I'm always working with nested blocks of name/val

[REBOL] Re: Euro and German currency

2003-10-23 Thread r3b0l
Le 21-Oct-03, vous avez écrit : > > Can people living in Europe or Germany confirm whether these formats for > currency look right, please? > > Euro: 123.456,00 € > German Mark: 123.456,00 DM > US Dollar: $123,456.00 First correct notations for currency taken in my old ARexx script YAE (1999).

[REBOL] Re: ML "tutorial"

2003-10-23 Thread carlos.lorenz
I guess something is making emails bounce Thanks anyway Tim Carlos Em Qui 23 Out 2003 15:58, Tim Johnson escreveu: > Hmmm. Is RT having problems? I sent this yesterday > and it was sent back. Also, Carlos, please note, > for some reason me emails to you keep getting kicked > back to me for some re

[REBOL] Re: Quickest way home using bitsets...

2003-10-23 Thread Romano Paolo Tenca
> it should be 1 - 8 to be more consistent, but who use it anyway? > It's used only for parsing (charset is only shortcut for bitset) I use it for flags, and also RT use it in some code for the same. But the most important use, perhaps, is when you read a binary file, in the header often you fin

[REBOL] ML "tutorial"

2003-10-23 Thread Tim Johnson
Hmmm. Is RT having problems? I sent this yesterday and it was sent back. Also, Carlos, please note, for some reason me emails to you keep getting kicked back to me for some reason. so let's try this again! -- I've received a request for a "M

[REBOL] Re: REFERER to a URL in REBOL?

2003-10-23 Thread SunandaDH
Carlos: > I need a way of getting the REFERER of a URL > in my CGI. Any help? select system/options/cgi/other-headers "HTTP_REFERER" Use (in a test CGI) print replace/all mold system/options/cgi newline to see all the header fields, Sunanda. -- To unsubscribe from this list, just

[REBOL] Re: REFERER to a URL in REBOL?

2003-10-23 Thread Andreas Bolka
Thursday, October 23, 2003, 6:49:59 PM, carlos.lorenz wrote: > I need a way of getting the REFERER of a URL in my CGI. Any help? referer: select system/options/cgi/other-headers "HTTP_REFERER" -- Best regards, Andreas -- To unsubscribe from this list, just send an email to [EMAIL PROTECTE

[REBOL] Re: reading POP trouble

2003-10-23 Thread carlos.lorenz
Bryan I am very ashamed because the trouble was with timeout configuration The code you passed me now works perfectly Thanks Carlos Em Qui 23 Out 2003 14:48, carlos.lorenz escreveu: > Em Qui 23 Out 2003 07:06, bryan escreveu: > > do this > > mailbox: [ > > scheme: 'pop > > host: " mail

[REBOL] Re: reading POP trouble

2003-10-23 Thread carlos.lorenz
Em Qui 23 Out 2003 07:06, bryan escreveu: > > do this > mailbox: [ > scheme: 'pop > host: " mail.revistaeletronica.com.br " > user: "carlos/revistaeletrica" > pass: "password" > ] > > messages: read mailbox > > the way you set up user may depend on your service provider, uncertain.

[REBOL] Re: Quickest way home using bitsets...

2003-10-23 Thread rebOldes
Hello Rebolinth, Tuesday, October 14, 2003, 10:10:42 PM, you wrote: R> Hello All, R> After discovering the world of bitsets (they must have eaten Kellogs that morning at rebol ;-) R> I was wondering how crispy it could get? R> What im trying to accomplish is to reverse a bitset! R> Or bette

[REBOL] REFERER to a URL in REBOL?

2003-10-23 Thread carlos.lorenz
Hello list I need a way of getting the REFERER of a URL in my CGI. Any help? Carlos -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.

[REBOL] Q for Win9x users now available - new GUI, modules..

2003-10-23 Thread Terry Brownell
Q for Win9x users has arrived. Includes a new GUI, modules, demos and more.. check it out at http://www.powerofq.com/downloads.html Some XP, Win2k users may prefer this GUI as well, so have a look. Thanks, Terry - Do you Yahoo!? The New Yahoo! Shopping - with i

[REBOL] Re: reading back checksum/secure

2003-10-23 Thread rebOldes
Hello SunandaDH, Tuesday, October 21, 2003, 11:30:24 PM, you wrote: Sac> The other problem is that URLs pass through a host of intervening machines Sac> downstream of you and your server. So: Sac> http://www.myserver.com/mycgi.r?username=carlos&password=#{A8C40A306844B07D7B3 Sac> C733C3A9EF479A

[REBOL] Re: Object lesson, please?

2003-10-23 Thread Gabriele Santilli
Hi SunandaDH, On Thursday, October 23, 2003, 5:19:47 PM, you wrote: Sac> I need a function that expands an object to add extra fields. Just some quick notes... 1. you can do this: >> original: context [a: 1 b: 2] >> template: context [a: b: c: none] >> probe changed: make template original m

[REBOL] Re: reading POP trouble

2003-10-23 Thread bryan
>How do I read a POP account if an "@" is a part of the username like this >username: [EMAIL PROTECTED] >pass: "password" >server: mail.revistaeletronica.com.br I cannot do the following : >>read pop://[EMAIL PROTECTED]:[EMAIL PROTECTED] do this mailbox: [ scheme: 'pop host: " mail

[REBOL] Object lesson, please?

2003-10-23 Thread SunandaDH
I need a function that expands an object to add extra fields. So I've written one. See below. From an engineering perspective, it works fine. From a REBOL elegance viewpoint that "return do mold obj" goes clunk in my brain. Is there a better way? A bit of backgroundI got a system that ho

[REBOL] Re: Euro and German currency

2003-10-23 Thread "Robert M. Münch"
On Tue, 21 Oct 2003 22:12:47 +1300, A J Martin <[EMAIL PROTECTED]> wrote: > Can people living in Europe or Germany confirm whether these formats for > currency look right, please? > > Euro: 123.456,00 ¤ Hi, I think with ¤ it's the taste of people how to use it. Both are OK: ¤ 123.456,00 or 123

[REBOL] Re: $QUERRY_STRING

2003-10-23 Thread martin mauchauffee
Carlos Yes, and ( in your example, ) in the INDEX.R, I need a word that contains "dir/dir1/dir" for client1 and "dir/dir2/dir" for client2 > Martin, > > Well if I understood this time > what you need is something that > can tell you where from the client came. > > For instance: > > If client1 d