On Mon, 3 Nov 2003 18:01:44 -0200 (BRST), Bruno G. Albuquerque
[EMAIL PROTECTED] wrote:
BTW, the reason I am doing this HTTP proxy is because I need NTLM
authentication. I already have all the NTLM stuff working (including DES
encryption by loading the OpenSSL library and using it) under
liquid.
that is its main purpose. it is also linked to vid via liquid-vid.
development has slown down for a few weeks, but it'll pick up.
http://www.rebol.it/~steel
a working version and some documentation can be found here: http://www.rebol.it/~steel
for an understanding of liquid itself, you
Hi Bruno,
You can use 'select with a little trick
firstvalue: 1
== 1
secondvalue: 2
== 2
searchblock: reduce [firstvalue secondvalue firstvalue]
== [1 2 1]
select searchblock firstvalue
== 2
select searchblock secondvalue
== 1
select searchblock firstvalue
== 2
select searchblock
Hi bruno,
do you mean something like the ALIAS function?
http://www.rebol.com/docs/words/walias.html
If not, can you supply some code, an example?
Met vriendelijke groet / with kind regards,
Arie van Wingerden
http://home.zonnet.nl/rebolution
ICQ 343101686
- Original Message -
Hello Patrick.
Thanks! This works great (although there is data duplication). It even
works in a case like this:
firstvalue:1
== 1
secondvalue: 2
== 2
thirdvalue: 3
== 3
fourthvalue: 4
== 4
test: [ 1 2 1 3 4 3 ]
== [1 2 1 3 4 3]
select teste 1
== 2
select teste 2
== 1
select teste 3
==
Hello Arie.
Thanks but this is not what I was looking for. Patrick nailed it though
(although his solution results in data duplication). See my previous
email.
-Bruno
Arie van Wingerden disse:
Hi bruno,
do you mean something like the ALIAS function?
Hi, Bruno,
I know of no way to avoid some duplication. See below.
Bruno G. Albuquerque wrote:
I have 2 values that would be mapped to each other. What I need to do is
to be able to find the first valeu by searching for the ceond and locate
the second by searching for the first. I did come
Hello Joel.
That's what I call a complete explanation. Thanks!
I decided to use the interleaved values option. The reason I need
something like what I described is that I am creating a HTTP Proxy using
Rebol (that will eventually evolve into an HTTP Tunnel application). The
mapping is used to
Hello.
I have 2 values that would be mapped to each other. What I need to do is
to be able to find the first valeu by searching for the ceond and locate
the second by searching for the first. I did come up with solutions to
that but I am not satisfied with any of the solutions. Is there a
Hi Bruno,
doing it in the SELECT-way is nice but you should consider using it with the
/SKIP-refinement. Without this you may end up with surprising results if one
value may occur in value-1 and value-2 position as in
;
that's-life: [cats birds cats birds
, but in the end, being
part of the problem is much more fun.
-Original Message-
From: Maxim Olivier-Adlhoch
Sent: Monday, November 03, 2003 11:53 AM
To: [EMAIL PROTECTED]
Subject: [REBOL] Re: Bidirectional value mapping.
liquid.
that is its main purpose. it is also linked
11 matches
Mail list logo