Yep I know - but with the && the syntax colouring in the editor makes it a whole lot easier to read.
-----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of AndyHC Sent: Sunday, 16 July 2017 10:27 PM To: profoxt...@leafe.com Subject: Re: "An IF | ELSE | ENDIF statement is missing" you don't need the comment markers - this works just fine: x=1 IF x=1 WAIT WINDOW 'true' ENDIF x=1 Darren wrote: ....... With terminating comments... > ... > IF NOT BETWEEN(HOUR(DATETIME()), 1, 15) && 01:00:00 to 14:59:59 > > =messagebox(.... > > ENDIF && NOT BETWEEN(HOUR(DATETIME()), 1, 15) && 01:00:00 to 14:59:59 > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/011001d2fe30$340dca50$9c295ef0$@ozemail.com.au ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.