
samples.expressions.nothing.pec Maven / Gradle / Ivy
define checkValue as method receiving Text value doing:
if value = "ok":
return "ok"
else:
return nothing
define main as method doing:
printLine "ok -> " + checkValue "ok"
printLine "other -> " + checkValue "other"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy