[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Got stuck...
From:       ts <decoux () moulon ! inra ! fr>
Date:       2004-08-20 10:05:01
Message-ID: 200408201004.i7KA4tu24534 () moulon ! inra ! fr
[Download RAW message or body]

>>>>> "M" == Martin DeMello <martindemello@yahoo.com> writes:

M> Other people have pointed the error out, but it's worth noting that
M> print is actually a method of Kernel, not a keyword, hence the need for
M> parens surrounding the entire argument.

 What error ?

svg% ruby -ve 'val = 32; print (val + ?A).chr," "'
ruby 1.8.2 (2004-07-29) [i686-linux]
-e:1: warning: (...) interpreted as grouped expression
a svg% 



Guy Decoux

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic