Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: OT: Need help with numeric bases

From:Tristan <kesuari@...>
Date:Tuesday, February 25, 2003, 1:24
On Tue, 2003-02-25 at 12:14, H. S. Teoh wrote:
> #!/usr/bin/perl > map{$acc=$acc*8+$_;}split//,$ARGV[0];print"$acc\n"; > > > The corresponding human-readable version would be:
(Off-topic) And this is why I like Python coders. You don't get the non-human readable option. Tristan

Replies

H. S. Teoh <hsteoh@...>Python (Was: Re: OT: Need help with numeric bases)
Peter Clark <peter-clark@...>