that to my astonishment keeps compiling (no errors).
I don't understand the last expression in the ternary operation.
I still see an orphan bracket there after the colon : byte) | cap;
Can someone maybe be so kind as to explain how the syntax above works?
OK then can I ask what the closing bracket after the colon ")" couples with? : byte) | cap;
Would you mind highlighting it for me?
Yes I now see it thanks very much.
I now understand the result of the ternary operation expression
is being OR'ed with cap and the bit possibly getting switched on?
Never had seen a ternary operation in brackets before gosh.
I already highlighted the open and close parenthesis in bold. Take another look at what I posted. The result of the ternary operator expression is going to be logically ORed to the value contained by cap. Try counting the parens and you will see that they add up to 5 of each.
Yes thanks again I got stuck on this almost two years ago what a relief.
So an official version of the ROT-13 algorithm follows just so it all makes sense to everybody.
Apparently in the C subset.