I guess then when you are writing a parser for a compiler then it helps
if all numeric constants start with a numeric.
Marc

Wes Stevens wrote:
> 
> We need to find an old ibm'er for that answer I think. I know that 0x has
> been used on ibm systems since before cisco made it's first router.
> 
> >From: "Priscilla Oppenheimer"
> >Reply-To: "Priscilla Oppenheimer"
> >To: [EMAIL PROTECTED]
> >Subject: Re: what does 0 in  0Xnnnn mean? [7:40372]
> >Date: Wed, 3 Apr 2002 17:22:17 -0500
> >
> >I think editors like to thrown in leading zeros. For example, you will
> >notice that they never let you get away with saying something like .534.
It
> >has to be 0.534. Supposedly that's easier to read.
> >
> >I didn't know octal was 0d. I bet they had to do that because of the other
> >rule that you have to start with 0. 0o or 0O would be too hard to parse if
> >they were to use o or O for octal. ;-)
> >
> >Priscilla
> >
> >At 04:40 PM 4/3/02, John Neiberger wrote:
> > >I think the question is what does the '0' specifically refer to?  We
> > >know that 0x indicates hex, but I'm guessing he's asking why we don't
> > >simply use x instead of 0x, or d for octal instead of 0d.
> > >
> > >Speaking of that, why is octal 0d?  I'd think that 'd' should mean
> > >decimal.
> > >
> > >John
> > >
> > > >>> "Persio Pucci"  4/3/02 2:16:55 PM >>>
> > >That indicates that the notation in use is hexadecimal for the
> > >registry
> > >number i.e. 0x2102 set the registry bits to 10000100000010
> > >
> > >Persio
> > >
> > >----- Original Message -----
> > >From: "Jeffrey Reed"
> > >To:
> > >Sent: Wednesday, April 03, 2002 5:12 PM
> > >Subject: what does 0 in 0Xnnnn mean? [7:40372]
> > >
> > >
> > > > Here s a good question an intern asked me and I couldn t even
> > >make-up an
> > > > answer
> > > >
> > > > I was working with him showing how to recover a password and we were
> > > > changing the confreg setting. He asked what the leading 0 before the
> > >X
> > > > represented. I m not sure  any help from the group is
> > >appreciated.
> > > >
> > > > Jeffrey Reed
> > > > Classic Networking, Inc.
> > > > Cell 717-805-5536
> > > > Office 717-737-8586
> > > > FAX 717-737-0290
> >________________________
> >
> >Priscilla Oppenheimer
> >http://www.priscilla.com
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=40456&t=40372
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to