matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11604
Posted: 08:55am 13 Jan 2023
Personally I hate this syntax as it breaks any common sense rules within Basic (and certainly doesn't work in C) If : is essentially the equivalent of a end-of-statement/newline how can c=0 be executed as part of the condition?
My advice and practice is always to have either a simple IF condition THEN onestatement
or the normal IF ENDIF Edited 2023-01-13 18:57 by matherp