On 2002-10-26 at 18:10:39, Michael Lazzaro wrote:
> > Larry wrote:
> > > If one were going to generalize that, one would be tempted to go the Ada
> > > route of specifying the radix explicitly:
Ada and others . . . ksh uses the # for this (in place of your colon below),
and I seem to recall that syntax being borrowed from an older language, but
I don't recall which one.  (Although ksh does also have the annoying
leading-zero-means-octal behavior when there is no explicit radix).

> > >       0123            # decimal
> > >       2:0110          # binary
> > >       8:123           # octal
> > >       16:123          # hex
> > >       256:192.168.1.0 # base 256

-- 
Mark REED                    | CNN Internet Technology
1 CNN Center Rm SW0831G      | [EMAIL PROTECTED]
Atlanta, GA 30348      USA   | +1 404 827 4754

Reply via email to