From: georgesawyer Date: 2005-02-05T21:00:14+09:00 Subject: Range three dots (was Re: Range#length?!?!?) "Hal E. Fulton" Feb 13, 2003 at 06:45 AM wrote: >"Yukihiro Matsumoto" February 12, 2003 at 9:48 AM wrote: >>on 03/02/13, Hugh Sasse Staff Elec Eng writes: >>>This has always puzzled me, that the longer gap ('..' vs '...') is the shorter interval, but it's way too late to change now, and knowing what I know of Matz's work, there's going to be a VERY good reason for this! >>Unfortunately not for this case. ".." was there first, so only "..." was available when I wanted end excluding range. I made up the reason that ".. would be used more often, so that it should be shorter", but I myself does not feel this is very good reason. >I would rationalize it this way: .. works the same as in Pascal (the only language I know that also has this construct, though there are probably others). So the newer behavior gets the newer syntax (...). >Maybe two weak reasons can be combined to make a stronger one... ;) I remember it as, the third dot generally is a placeholder for the highest inclusive value of the range. With kind regards,