to-number does not work
[1/8] from: atruter:labyrinth:au at: 1-Oct-2003 13:53
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?
Regards,
Ashley
[2/8] from: brett:codeconscious at: 1-Oct-2003 14:40
It looks like these to-* functions have been created for the pseudo types..
I think my pick of the bunch would be:
to-any-type "make my day"
:^)
> Anybody else sent this to feedback yet?
Just looking up the public bug tracking system... oops we don't have one!
You better send it then :^)
Regards,
Brett.
[3/8] 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
[4/8] from: AJMartin:orcon at: 1-Oct-2003 16:46
Ashley wrote:
> I get the following with 1.2.10.3.1:
> >> to-integer 1
<<quoted lines omitted: 7>>
> 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/
[5/8] from: lmecir:mbox:vol:cz at: 1-Oct-2003 9:51
Hi all,
----- Original Message -----
From: "Brett Handley" <[brett--codeconscious--com]>
To: <[rebol-list--rebol--com]>
Sent: Wednesday, October 01, 2003 6:40 AM
Subject: [REBOL] Re: to-number does not work
> It looks like these to-* functions have been created for the pseudo
types..
> I think my pick of the bunch would be:
> to-any-type "make my day"
<<quoted lines omitted: 4>>
> Regards,
> Brett.
edit: http://www.compkarori.com/vanilla/display/Core+Level , please.
> ----- Original Message -----
> From: "Ashley Truter" <[atruter--labyrinth--net--au]>
<<quoted lines omitted: 19>>
> >
> > Ashley
-Ladislav
[6/8] from: maximo:meteorstudios at: 1-Oct-2003 8:57
Brett:
> Just looking up the public bug tracking system... oops we
> don't have one! You better send it then :^)
LOL... well I shouldn't be laughing, but I found your approach pretty funny...
AFAIK this list is the bug list. But it has a human interface. :-)
Plus many bugs come with workarounds and suggestion which broaden your knowledge in general.
-MAx
[7/8] from: brett:codeconscious at: 20-Oct-2003 22:50
I wrote:
> > Just looking up the public bug tracking system... oops we don't have
one!
and Ladislav Mecir responded with:
> edit: http://www.compkarori.com/vanilla/display/Core+Level , please.
Well I just registered and logged on intending to carry out your request.
However, just like last time I played with Vanilla it left a bad taste in my
mouth. I've no idea how to make an edit and not bugger everything up. I also
don't see it being a good way to record bug type information.
Sorry.
Brett.
[8/8] from: robert:muench:robertmuench at: 21-Oct-2003 21:56
On Mon, 20 Oct 2003 22:50:54 +1000, Brett Handley
<[brett--codeconscious--com]> wrote:
>>> Just looking up the public bug tracking system... oops we don't have
>>> one!
> ...
> I also don't see it being a good way to record bug type information.
Hi Brett, if you can hold for a few days than you (and others) could test
a bug-reporter Reblet I'm developing at the moment. I'm going to release
an encapped version (I need to get some experience with it). The main idea
is to have this bug-reporter being a replacement for the IOS version. It
will come along in two versions:
1. Standalone (encapped)
2. IOS /xpeers version
Robert
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted