Displaying 1 result from an estimated 1 matches for "turteldoves".
2006 Jul 03
5
How do I code this conditional statement in Ruby
Hi, I am a COBOL programmer and I am busy teaching myself Rails and Ruby.
In COBOL I can code this conditional
If x = 1
next sentence
else
..........................
The "next sentence" statement enables me to get out of the
conditional. How would I code the same thing in Ruby? In C you could
use break but I understand that Ruby has no break statement.
Regards,
Paul