nested_conditions.ion 221 B

12345678910111213141516
  1. if test a = a
  2. echo true a == a
  3. if test b != b
  4. echo true b != b
  5. else
  6. echo false b != b
  7. if test 3 -gt 2
  8. echo "true 3 > 2"
  9. else
  10. echo "false 3 > 2"
  11. end
  12. end
  13. else
  14. echo false a == a
  15. end