Using call with if then else

I've been using this technique a lot in a recent project so I thought I'd share it

So, no obvious gain to add the call in this simple example

But imagine that the current hour report was slow (say takes 2 secs to report) then the call approach becomes really advantageous

And a final example is if the value you want to test and then use is long and complicated - then the call approach is a lot neater :slight_smile:

good thinking.

reminds me of this;

untitled script pic(117)

untitled script pic(118)
untitled script pic(119)