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

[REBOL] Re: percent! - new datatype request

From: greggirwin:mindspring at: 21-Jun-2002 12:08

Hi Carl, << Pair was added with pixel coordinates in mind I believe, hence it only accepts integers, not numbers. So adding percentage support shouldn't break any existing scripts. (He guessed wildly:) >> As a side note, pairs don't allow you to use a separator, like regular integers so there may be more to these lexical limits than we think.
>> p: 100x100
== 100x100
>> p: 1'000x1'000
** Syntax Error: Invalid pair -- 1'000x1'000 ** Near: (line 1) p: 1'000x1'000 --Gregg