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

[REBOL] Re: to-number does not work

From: greggirwin::mindspring::com at: 30-Sep-2003 22:44

Hi Ashley,
>>> to-integer 1
AT> == 1
>>> to-decimal 1
AT> == 1
>>> to-number 1
AT> ** Script Error: Cannot use to on datatype! value AT> ** Where: to-number AT> ** Near: to number! :value AT> Anybody else sent this to feedback yet? number! is a pseudo-type, not a concrete datatype. You would get the same thing with to-series, etc. What I think the feedback needs to tell them (which I have never sent in, absent-minded person that I am) is that those functions shouldn't exist. I imagine they're generated mechanically, which is why they exist in the first place. -- Gregg