Help! How to set a condition if a global variable is received

Good morning everyone.
I hope you are doing well.

Is it possible to make a condition if a global variable is received from an arduino then some calculations are done otherwise, zero is printed out

Please help!

Have you reached the point of receiving data yet?

Yes, I received the data from arduino by Bluetooth HC-05 and by creating values in global list.

Here is an updated blocks sample illustrating these ideas ...

BlueTooth_delimiter_sample.aia (3.4 KB) global message
You have to wrap the display code with an if/then test.