Meino Christian Cramer wrote: >Hi, > > may be my Enigma hacking has encyphered my brain also...but... > > What is wrong with this code: > > etwdata=[[1,2],[3,4],[5,6]] # only example data > > etwdata.each{ |rot| > rot.each{ |val| > print (val + ?A).chr," " # here ruby fails...error message below... > } > print "\n" > > Ruby's error message: > > basicenigma4.rb:175: warning: don't put space before argument parentheses > > > Sorry... but _I_ dont see anything wrong here... > > didn't read it all, but imho ruby wants to read: print(val + ?A).chr," " but you want to write: print((val + ?A).chr," ") or sth like that. put explicit brackets in that case. emmanuel