[REBOL] Re: another tag! issue
From: rotenca:telvia:it at: 27-Jan-2002 2:51
Hi Hallvard,
> I said "in certain cases" as it returns a string where joining to a
> datatype doesn't make sense, as with numbers...
>
> >> join 10 20
> == "1020"
There is also this kind of exception (or bug? or special rule?):
>> t? join <4> 3
== tag!
>> t? join 3 <4>
== string!
>> t? join <4> $3
== tag!
>> t? join $3 <4>
== string!
>> t? join 3 #4
== string!
>> t? join 3 make image! [12x12]
== string!
and so on, the rule seems:
join any-string! scalar! = any-string!
join scalar! any-string! = string!
---
Ciao
Romano