I suppose I should start by pointing out that your code does not change the variable variables, but simply sets their values. You should use the VAR keyword (or LOCAL area in CF9) to indicate that the variables should have a VAR.
In addition, chain assignment does not work in all versions of CF. My workplace is still at 6.1, and this is causing an error.
Finally, if I remember correctly, if you use the assignment operator as described above, var1 and var2 are true, since the result of the assignment operation is true if no error has occurred. (someone will correct me if I am wrong, since I can not check it at work, since we are at 6.1)
In any case, in order to return to your question, I do not associate an appointment or a show. First, I think individual assignments are clearer. secondly, it does not work in all versions. Therefore, I would suggest that preferences be preferred.
source share