SWITCH support

This example demonstrates how to use the SWITCH to execute one or more blocks of statements.

Source:

Screenshot:

$ hbrun switch.prg


---
FOUND: 1

---
FOUND: 1

---
FOUND: 1
FOUND: 2
other

---
OTHERWISE

---
NOT FOUND: running OTHER                                                                                                                                                                                                                                                                                                ---                                                                                                                                                         Nested FOUND: 22In CASE 1
2
---

How to build/run:

To learn how to build/run this example, see this page.