[REBOL] Re: make string!
From: holger:rebol at: 26-Jun-2001 16:27
On Tue, Jun 26, 2001 at 05:02:59PM -0500, [ryan--christiansen--intellisol--com] wrote:
> Try as I might, I am unable to make an integer! value into a string! value,
> EXCEPT when I use 'append to append the integer! value to a string! value.
> Why can 'append take care of changing the datatype while make string!
> cannot? For example:
> >> a: 2
> == 2
> >> b: make string! a
> == ""
make string! 2
allocates an empty string of length 2, i.e. a string that has enough pre-allocated
space to hold two characters without any performance penalty. It does not
convert the number 2 to a string.