Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Now if only they'd port Perl to the Commodore 64...

by myocom (Deacon)
on Jan 19, 2001 at 07:05 UTC ( #52920=obfuscated: print w/ replies, xml ) Need Help??

Passes -w, requires a wide display.

use strict;my@c=(15,6,6,6,6,54,28,0);my@o=(51,51,51,51,51,51,30,0); my@m=(30,51,48,30,3,51,30,0);my@d=(63,12,12,12,12,12,12,0);my@r=(12 ,30,51,63,51,51,51,0);my@e=(51,59,63,63,55,51,51,0);my@s=(30,51,51, 51,51,51,30,0);my@i=(51,51,51,63,51,51,51,0);my@x=(63,48,48,60,48, 48,63,0);my@t=(62,51,51,62,60,54,51,0);my@y=(62,51,51,62,48,48,48,0 );my@f=(48,48,48,48,48,48,63,0);my@u=(30,51,48,48,48,51,30,0);my@k= (51,54,60,56,60,54,51,0);print C(\@c,\@o,\@m,\@d);print C(\@r,\@e, \@s,\@d,\@i,\@x,\@t);print C(\@y,\@x,\@t,\@f);print C(\@i,\@r,\@u, \@k,\@x,\@t);sub C{my@c64;my@c=@_;for my $c(0..7){for my $c64(@c){ push@c64,c64(2*${$c64}[$c])}push@c64,"\n"}return@c64}sub c64{my$c= substr unpack("B32",pack"N",shift),-8;$c=~s/0/ /g;$c=~s/1/C=/g; return $c}

Comment on Now if only they'd port Perl to the Commodore 64...
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://52920]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2013-05-22 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (461 votes), past polls