In a code block try this:
Input == "b"?
Input == "c"
"Unexpected value! Check your dataset!"
That’s from memory on my phone so it may be off. Cpu is locked up doing some heavy lifting at the moment so I can’t confirm.
General idea is:
The ? marks the end of the test and initialized the function so don’t forget it.
The : divides the true from false so don’t forget it either.
The ; marks the end of the line of code, so… well you get the idea.
Nesting can go pretty deep. I haven’t found a limit yet anyway. Nesting is also possible on either the true statement or the false statement:
Helps to use offset tabs (though the forum doesn’t like typing them on a phone) for various levels of nesting so you know where you are in a given statement.