Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!samsung!usc!wuarchive!decwrl!shelby!bloom-beacon!eru!luth!sunic!mcsun!unido!sbsvax!greim From: greim@sbsvax.UUCP (Michael Greim) Newsgroups: comp.lang.c Subject: Re: binary constants (??) Summary: DEC uses numbers with radix 36. Message-ID: <1728@sbsvax.UUCP> Date: 5 Dec 89 09:54:29 GMT References: <305@frf.omron.co.jp> <20830@mimsy.umd.edu> <20989@mimsy.umd.edu> <15348@haddock.ima.isc.com> Organization: Universitaet des Saarlandes, Saarbruecken, W-Germany Lines: 17 In article <15348@haddock.ima.isc.com>, karl@haddock.ima.isc.com (Karl Heuer) writes: > In article <1989Nov29.164913.1794@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: > >For some reason, I've never had cause to write numbers in (say) base 19. > > Interestingly enough, I once needed to write some constants whose natural > radix was 64 (and, due to the context, none of the radix-64 digits would ever > exceed the value of 'Z'). When I tried to make use of the arbitrary-radix > feature built into the language I was using at the time (using the notation > ddddB64), it triggered a compiler bug. If I recall correctly (the manual is nowhere near) DEC uses numbers with radix 36 in the names for their fonts for the graphic system VWS, which runs on VMS on MicroVaxes. I was never curious enough to decipher the number, though. I have a define "my_font01=[DEC's font name]", and that's all I care about the numbers. Michael