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: 17-Jun-2002 11:04

Hi Joel, << How about adding #"%" as a valid suffix to any numeric datum, with the meaning of "left shift the decimal point by 2 and yield a decimal! >> I'd have to think about that for a while. I do think it could be a handy notation, but it would also tighten the lexical rules a bit more, which could have side effects on future development. Re: formatting for output. I agree that this is an important, and missing, piece of the REBOL puzzle. I have JUSTIFY and ROUND functions that I use, but only a few notes about a FORMAT function and dialect. Eric Long's format.r dialect didn't resonate with me, but that's just me. --Gregg