[REBOL] Re: to-number does not work
From: AJMartin:orcon at: 1-Oct-2003 16:46
Ashley wrote:
> I get the following with 1.2.10.3.1:
>
> >> to-integer 1
> == 1
> >> to-decimal 1
> == 1
> >> to-number 1
> ** Script Error: Cannot use to on datatype! value
> ** Where: to-number
> ** Near: to number! :value
>
> Anybody else sent this to feedback yet?
>> make number! 3
** Script Error: Cannot use make on datatype! value
** Near: make number! 3
I'm sure that Rebol can't turn an abstract datatype into a concrete value.
It might need a better error message.
Andrew J Martin
Grail Jedi
ICQ: 26227169
http://www.rebol.it/Valley/
http://valley.orcon.net.nz/
http://Valley.150m.com/