[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 11:13:02
Message-ID: 200408201112.i7KBCuP27345 () moulon ! inra ! fr
[Download RAW message or body]
>>>>> "M" == Martin DeMello <martindemello@yahoo.com> writes:
M> Well, the reason ruby was issuing a warning, at any rate :)
and you find this normal ?
vg% ruby -vce 'print (a + b)'
ruby 1.8.2 (2004-07-29) [i686-linux]
-e:1: warning: (...) interpreted as grouped expression
Syntax OK
svg%
svg% ruby -vce 'a { print (a + b) }'
ruby 1.8.2 (2004-07-29) [i686-linux]
-e:1: warning: don't put space before argument parentheses
Syntax OK
svg%
What is the next step ?
ruby will use a random generator to know if it must give the warning
"warning: (...) interpreted as grouped expression"
or
"warning: don't put space before argument parentheses"
:-)))
Guy Decoux
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic