Could you use tuple! datatype?

>> colour: 12.34.56
== 12.34.56

Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-

----- Original Message -----
From: "Hallvard Ystad" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 8:13 AM
Subject: [REBOL] code beauty... fiction ?


> When I do java programming, I have the types BYTE and SHORT. I haven't
found this in rebol, so I convert integers this way:
>
> short: load rejoin ["#{" pick to-hex some-integer 5
>                          pick to-hex some-integer 6
>                          pick to-hex some-integer 7
>                          pick to-hex some-integer 8
>                    "}"]
>
> byte: load rejoin ["#{"  pick to-hex some-integer 7
>                          pick to-hex some-integer 8
>                   "}"]
>
> I don't find this a very sexy way to do it. Has anyone got any suggestions
to do it in a more intuitive way?
>
> ~H
> Praetera censeo Carthaginem esse delendam
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
>


-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to