On 09-Dec-00, Philip Bevan wrote: > Hi Matt, > why can you use to-integer > for example >>> a: "1234567890" > == "1234567890" >>> either error? try [to-integer a] [print "Not an integer"] [print > "Integer"] > Integer That wouldn't work for decimals in the string as "123.7" would be converted to an integer and returned as okay. All I can think of is forall-ing through the string and checking every character, but I'm sure there's a more simpler way in REBOL. -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
- [REBOL] Re: PostgreSQL 2 Rebol and back again... Sharriff Aina
- [REBOL] Re: PostgreSQL 2 Rebol and back again... Jamey Cribbs
- [REBOL] Re: PostgreSQL 2 Rebol and back again..... Daan Oosterveld
- [REBOL] Path with integers Giovanni Cardona
- [REBOL] Re: Path with integers Allen Kamp
- [REBOL] integers in paths Giovanni Cardona
- [REBOL] Testing if a string is... Mat Bettinson
- [REBOL] Re: Testing if a s... Daan Oosterveld
- [REBOL] Re: Testing if a s... Philip Bevan
- [REBOL] Re: Testing if a s... Mat Bettinson
- [REBOL] Re: Testing if a s... Carl Read
- [REBOL] Re: Testing if a s... Gabriele Santilli
- [REBOL] Re: Testing if a s... Carl Read
- [REBOL] Re: Testing if a s... Garold L. Johnson
- [REBOL] Re: Testing if a s... Gabriele Santilli
- [REBOL] Re: Testing if a s... Garold L. Johnson
- [REBOL] Re: Testing if a s... Petr Krenzelok
- [REBOL] Re: Testing if a s... Andrew Martin
- [REBOL] ODBC Graham Chiu
- [REBOL] ODBC problems Graham Chiu
- [REBOL] Re: PostgreSQL 2 Rebol and back again..... Gabriele Santilli
