Undefined output variables

I am trying to figure out how the header parameters work. More specifically, what happens to output variables and whether they are supposed to be explicitly defined in the code? Without definition, I thought there would be NameError or replacement with some default value (empty string, zero, etc.) based on the variable’s type. Instead, the value computed in the previous call was used. This behavior is somewhat unexpected. Why does it work this way?

Screenshot from 2020-08-12 09-42-35

Hi Diana,

Can you please provide CaesarShiftCipher function content?
You can share it with me inside Datagrok.

Thanks!

Done! Hope it will help a little