Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Conditional-structures/Min/conditional-structures.min
Normal file
12
Task/Conditional-structures/Min/conditional-structures.min
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(true) ("I'm true") ("I'm false") if ; If first quotation evaluates to true,
|
||||
; evaluate second quotation.
|
||||
; Otherwise, evaluate the third.
|
||||
|
||||
(true) ("I'm true") when ; If without the false quotation.
|
||||
(true) ("I'm false") unless ; If without the true quotation.
|
||||
|
||||
2 ( ; For each quotation inside the case
|
||||
((3 >) ("Greater than 3" puts!)) ; quotation, evaluate the second
|
||||
((3 <) ("Smaller than 3" puts!)) ; quotation if the first quotation
|
||||
((true) ("Exactly 3" puts!)) ; evaluates to true. Otherwise, move
|
||||
) case ; on to the next one.
|
||||
Loading…
Add table
Add a link
Reference in a new issue