That's what I love about ruby - the readability of its code :D * email55555 email55555 <email55555 / gmail.com> [0109 05:09]: > 264 bytes. > > :-( gmail wrap again my program. > > the 2 lines > > x%2==0 ?u[x/2*3]>o ?f*s+f+f:f+"-"*s+f:(u[h=x*4/3]>o > > ?f:"|")+f*s+(u[h+1]>o ?f:"|")}*f} > > should be one line instead of two ( it should join together like) > ... :(u[h=x*4/3]>o ?f:"|")+ ... > On Mon, 10 Jan 2005 00:03:53 -0500, email55555 email55555 > > s=(s=$*.index"-s")?$*.slice!(s,2)[1].to_i: 2 > > d,="\21\265\22H\245\10-\0\23".unpack"B*" > > f=" " > > o=48 > > y=(0..4).map{|x|$*[0].split('').map{|z|u=d[7*z.to_i,7] > > x%2==0 ?u[x/2*3]>o ?f*s+f+f:f+"-"*s+f:(u[h=x*4/3]>o > > ?f:"|")+f*s+(u[h+1]>o ?f:"|")}*f} > > y[3,1]*=s > > y[1,1]*=s > > puts y > > -- 'You may need to metaphorically make a deal with the devil. By 'devil' I mean robot devil and by 'metaphorically' I mean get your coat.' -- Bender Rasputin :: Jack of All Trades - Master of Nuns