Hi All, I'm playing with my new PAC and loving it so far, however I've found tonight that the below (edited) code won't compile if I comment-out the (unwanted) "DELAY 1s" line: [COLOR="Navy"]if [/COLOR]TimerRunning(3) [COLOR="Navy"]then [/COLOR][COLOR="seagreen"]{this is either a re-entry or fan not yet started}[/COLOR] delay([COLOR="sienna"]"0:00:01"[/COLOR]) [COLOR="Navy"]else if [/COLOR](GetLightingState([COLOR="sienna"]"B2 fan timer"[/COLOR])) [COLOR="Navy"]then[/COLOR] [COLOR="Navy"]begin[/COLOR] TimerStart(4); [COLOR="seagreen"] {start the count-up timer}[/COLOR] [COLOR="Navy"]end;[/COLOR] TimerStop(3); [COLOR="seagreen"]{kill the count-up timer}[/COLOR] [COLOR="Navy"]end; [/COLOR] All I'm trying to do here is turn an IF statement on its head, only giving the code something to do if the condition is FALSE (the ELSE statement), however it appears that the compiler doesn't see an "IF" condition with no resulting action as valid, something I'm used to being able to get away with in other languages. Can I consider this a bug which might be sorted in future releases, or is there a semi-colon I've missed somewhere? (I'm using PICED 3.4.0.0, BTW). Functionally this code works fine for me in the simulator - all I'm querying is whether I should be able to write an IF statement (as a positive) and then only act if it's false (the "ELSE") as is my desire here. (It's just that sometimes code flows more logically here, rather than testing for the negative "NOT" condition, I want to test for the reverse.) IF <conditional test> ELSE <code does something here because it's not> END Also, who do I need to bribe to have the standard windows "control arrows" enabled in the editor: ^right takes me a word to the right, ^left a word to the left, ^A for that matter highlights all text in the module... (I really, really, miss my sideways arrows!) (But loving my new PAC.):) Greig.