doc: add more inline conditional expressions to sample file
This commit is contained in:
@@ -30,4 +30,4 @@ age = Person new(name:"John Doe" age:34)
|
|||||||
--q = 10 if x > 2.
|
--q = 10 if x > 2.
|
||||||
--q = if x > 2 then 10 else 20 end.
|
--q = if x > 2 then 10 else 20 end.
|
||||||
|
|
||||||
cout put:5 multiply(by:5 add:2).
|
cout put:5 multiply(by:5 add:2) if x > 2.
|
||||||
Reference in New Issue
Block a user