user.cell2 = if(same(props.prop1.value, "A"),<AAA>,FALSE)
user.cell3 = if(samestr(props.prop1.value, "B", <BBB>,FALSE)
user.cell4 = if(samestr(props.prop2.value, <golden string>),TRUE,FALSE)
props.prop1.value = "<input string>
props.prop2.value =<"string">
user.cell1 = if(user.cell2, User.cell2,if(user.cell3, User.cell2, if(user.cell4, user.cell4,"deadbeef"),"NA"),"badness")
comments
- for easy debug use lots of cells
- start with a simple one like if (user.cellx = 1, 100,-100)
- the else clause can be another if then else, an else statement or jus a simple "comma bracket)...need the else clause noted not just hanging out there.
- can have up to 126 nested if then else in a single cell....very tough to read and figure out which one triggered.