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

to-string

 [1/5] from: rotenca:telvia:it at: 4-Nov-2002 21:27


Why?
>> to string! #""
== "^@" --- Ciao Romano

 [2/5] from: chris:ross-gill at: 4-Nov-2002 15:40


Hi Romano,
> >> to string! #"" > == "^@"
It appears that #"" relates to character 0.
>> to-string #""
== "^@"
>> to-integer #""
== 0
>> to-char to-integer #""
== #"^@"
>> = #"" #"^@"
== true
>> to-integer #"^@"
== 0 - Chris

 [3/5] from: greggirwin:mindspring at: 4-Nov-2002 14:36


<< Why?
>> to string! #""
== "^@"
>>
I guess it's trying to be helpful, rather than saying #"" is an invalid char! value. --Gregg

 [4/5] from: g:santilli:tiscalinet:it at: 4-Nov-2002 23:57


Hi Romano, On Monday, November 4, 2002, 9:27:22 PM, you wrote: RPT> Why?
>>> to string! #""
RPT> == "^@"
>> #""
== #"^@" (A char! cannot be empty, that is.) Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

 [5/5] from: rotenca:telvia:it at: 5-Nov-2002 19:13


Hi Gregg, Gabriele and all,
> Why? > > >> to string! #"" > == "^@" > >> > > I guess it's trying to be helpful, rather than saying #"" is an invalid > char! value.
This is the Feedback answer: That looks like a bug. We will consider it a bug. Thanks for reporting it to us. --- Ciao Romano