Subject: ++ Help
From: Luis Enrique <mail41t-now@ h . m
Date: Mon, 10 Sep 2007 12:52:01 +0900
I am learning Ruby.
This is my problem.
d=0
if some == 1..90
a=1
b=4
d++
end
I get a syntax error.
syntax error, unexpected kEND
if I take the d++ then it is ok.
how should I use the ++ or +=?
Thanks
--
Posted via http://www.ruby-forum.com/.