
samples.statements.switch-otherwise.pec Maven / Gradle / Ivy
define main as method doing:
a = 4
switch on a:
when 1:
printLine "a = 1"
when 3:
printLine "a = 3"
otherwise:
printLine "a = other"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy