[REBOL] Re: How to change local-port?

2009-01-13 Thread Bruno Albuquerque
=DEemseddin Moldibi [ Bircom ] wrote: I'm trying to open a UDP port with a specified local-port, but =3D local-port is changed when I send something. This is how TCP/IP works. the origin port is picked up by the OS itself. -Bruno -- To unsubscribe from the list, just send an email to lists

[REBOL] Re: How to change local-port?

2009-01-13 Thread Şemseddin Moldibi [ Bircom ]
Thank you, I know that OS allocates a port for you, but only if you set local port = to 0 (zero), if you set local port value other than 0 than OS will try = to allocate that port. And you should be able to change the local port to prevent firewall = problems. Many applications use specific local

[REBOL] [REBOL.org] Recent changes

2009-01-13 Thread rebol
[REBOL] [REBOL.org] Recent changes This is an automatic email from REBOL.org, the REBOL Script Library to notify you of recent changes to the Library. ===changes=== bbcode.r --change: new script --change: updated script -- new script --title: BBcode --owners: oldes --author: David

[REBOL] Re: mysql and binary data

2009-01-13 Thread Alan Macleod
I'm trying to upload a binary (image) file to a mysql DB. When I retrieve it the binary data seems to have changed and I can not display the image. I was able to do it with sqlite with no problem. I'm using the medium blob field type for the image data... Any ideas what I might be doing

[REBOL] Re: How to change local-port?

2009-01-13 Thread Gabriele Santilli
T24gVHVlLCBKYW4gMTMsIDIwMDkgYXQgMTA6MzEgQU0sIMWeZW1zZWRkaW4gTW9sZGliaSBbIEJp cmNvbSBdCjxzZW1zZWRkaW5tQGJpcmNvbS5jb20+IHdyb3RlOgoKPiBIaSwKPiBJJ20gdHJ5aW5n IHRvIG9wZW4gYSBVRFAgcG9ydCB3aXRoIGEgc3BlY2lmaWVkIGxvY2FsLXBvcnQsIGJ1dCA9Cj4g

[REBOL] reduce second [one two]

2009-01-13 Thread Giuseppe Chillemi
Hello, I tought it was a bug but it seems a feature: Whith the following script two: 2 probe reduce second [one two] I get TWO as result when I expected 2. An user told me that second [one two] returns 'TWO instead of TWO. I do I get TWO and have it reduced to 2 ?

[REBOL] Re: reduce second [one two]

2009-01-13 Thread Ammon Johnson
You just have 'reduce in the wrong place... one: 1 == 1 two: 2 == 2 probe second reduce [one two] 2 == 2 HTH! ~Ammon ;~ On Tue, Jan 13, 2009 at 3:52 PM, Giuseppe Chillemi gchill...@aliceposta.itwrote: Hello, I tought it was a bug but it seems a feature: Whith the following script

[REBOL] Re: reduce second [one two]

2009-01-13 Thread Anton Rolls
Hi Giuseppe, SECOND returns a word, and REDUCE does not reduce a word to its associated value. (REDUCE does reduce words inside a block that it is passed, so this might seem strange.) To reduce a word to its value, use GET. probe get 'two or probe get second [one two] but of

[REBOL] R: Re: reduce second [one two]

2009-01-13 Thread Giuseppe Chillemi
SECOND returns a word, and REDUCE does not reduce a word to its associated value. (REDUCE does reduce words inside a block that it is passed, so this might seem strange.) In fact I have reported it as a bug making a mistake because I presumed that two: 2 Probe REDUCE second [one two]

[REBOL] Re: R: Re: reduce second [one two]

2009-01-13 Thread Graham Chiu
I think this is a common error. While it's in the block, it's just unevaluated words. but do second [ one two ] should work. On Wed, Jan 14, 2009 at 7:47 PM, Giuseppe Chillemi gchill...@aliceposta.it wrote: SECOND returns a word, and REDUCE does not reduce a word to its associated value.

[REBOL] Re: reduce second [one two]

2009-01-13 Thread Tim Johnson
On Tuesday 13 January 2009, Giuseppe Chillemi wrote: probe reduce second [one two] I've never used 'reduce on a singleton value, which is what you are doing here: (evaluating right to left) second [one two] == two ;; get the value probe get reduce second[one two] 2 == 2 Is this what you are