Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Problem with try [ open/direct/binary tcp://... ] Re:(9)

From: g:santilli:tiscalinet:it at: 4-Oct-2000 15:35

[joel--neely--fedex--com] wrote:
> It appears that using a block as the second argument, when the first > argument is of any-string! type, causes the contents of the block > be treated as strings.
Yup, INSERT uses FORM to convert values that are not of the ANY-STRING! (pseudo)type to strings. The point is, BINARY! values should not be converted, because you CAN insert binary values in ANY-STRING!s without conversion. Furthermore, insert something #{1234} should (AFAIK) be equivalent to insert something [#{1234}]
> > INSERT shouldn't use FORM when inserting a BINARY!. I'm sending > Do you mean "shouldn't" in the sense of > > 1) "contradicts the official specification", or
If you have such a thing, please send it to me! ;-)
> 2) "doesn't do what I expected", or > 3) "doesn't seem to me to do The Right Thing"?
I can't read Carl's mind, but I assume that it wasn't his intention to have the two expressions above behaving differently.
> there is one which I've overlooked, I'll be VERY grateful if you > will tell me where it is (and it may very well be Carl's massive
> tome of yesterday evening -- I just haven't finished reading it!)
I didn't have the time either...
> Of course, I generally hold your experienced expectations -- as > in (2) -- or your good taste in programming -- as in (3) -- in > very high regard!
Thank you very much. But I'm sure you're far more experienced than me in programming. :) I'm just a student after all, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila --