Currently there's a XY datatype in Rebol/View. Eg: 100x123 for 100 X, 123 Y.

It would be nice to have a range, describing two endpoints. For example,
Dates:
        12/Jan/2000-24/Dec/2000
    Integers:
        1-10
    Time:
        09:00-17:00
    Money:
        $10.00-$56.00

These would have refinements like:
        /Start or /Begin
        /End or /Finish
        /First
        /Last
    to access the first or last part of the range.

'first on:
        12/Jan/2000-24/Dec/2000
    like:
        first 12/Jan/2000-24/Dec/2000
    would produce:
        12/Jan/2000
    and 'last on
        12/Jan/2000-24/Dec/2000
    like:
        last 12/Jan/2000-24/Dec/2000
    would produce:
        24/Dec/2000

Operations like:
        if now in 12/Jan/2000-24/Dec/2000 [print "mostly in this year!]
    would be nice as well.

This has been CC-ed to [EMAIL PROTECTED]

Any comments?

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to