 This allowed multi-step decision trees to be written in a single line.They serve a purpose similar to the found in modern languages like C or Java, where they are used to return a value from a compact structure implementing if-then-else.JOSS' version has any number of conditionals, not just three, so it is more of a compact switch statement than a compact if-then.