If and control flow script example

Can somebody give me some examples of “if”, “if-else” statements
I have read Ignition manual but could not get much examples so that I can have practice


It is Python so you can search the web for examples: tutorialspoint.com/python/python_if_else.htm


Is it possible you give me some exclusive example related to Ignition designer. I mean how to use in event handler, tag binding etc.
Thanks again

Check out the scripting videos on Inductive University: inductiveuniversity.com/course/scripting