RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-16 Thread Darren
;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:5

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-16 Thread AndyHC
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

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-14 08:59, Ted Roche wrote: On Thu, Jul 13, 2017 at 9:40 AM, wrote: Don't you hate it when you have a super long one-time conversion program, This is another good justification for printouts. Every few months, we print out long listings,

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Koen Piller
work precisely as you want. > > -- > > rk > > -Original Message- > From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Dave > Crozier > Sent: Friday, July 14, 2017 8:37 AM > To: profoxt...@leafe.com > Subject: RE: "An IF | ELSE | ENDIF

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Richard Kaye
Crozier Sent: Friday, July 14, 2017 8:37 AM To: profoxt...@leafe.com Subject: RE: "An IF | ELSE | ENDIF statement is missing" I feel your pain! I TRY and keep the rule that no tabbed programming structure (if... endif, do case.. endcase etc.) should span more than a page. but must ad

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Ted Roche
On Thu, Jul 13, 2017 at 9:40 AM, wrote: > Don't you hate it when you have a super long one-time conversion program, This is another good justification for printouts. Every few months, we print out long listings, break out the multi-colored

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Dave Crozier
Of mbsoftwaresoluti...@mbsoftwaresolutions.com Sent: 14 July 2017 13:03 To: ProFox Email List <profox@leafe.com> Subject: Re: "An IF | ELSE | ENDIF statement is missing" On 2017-07-14 07:39, Laurie Alvey wrote: > I was wondering if Intellisense would help (IFELSE). No. Intellisense doesn

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-14 07:39, Laurie Alvey wrote: I was wondering if Intellisense would help (IFELSE). No. Intellisense doesn't prevent you from writing sloppy way-too-long code. lol ___ Post Messages to: ProFox@leafe.com Subscription Maintenance:

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread Laurie Alvey
I was wondering if Intellisense would help (IFELSE). Laurie On 14 July 2017 at 12:32, wrote: > On 2017-07-13 16:34, Ted Roche wrote: > >> On Thu, Jul 13, 2017 at 9:40 AM, >> wrote: >> >>> >>> It pays to

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-14 Thread mbsoftwaresolutions
On 2017-07-13 16:34, Ted Roche wrote: On Thu, Jul 13, 2017 at 9:40 AM, wrote: It pays to take the time and do good modular design instead of this way-too-long PRG run on crap. hahaha So, wait, you're saying that if you create

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Darren
[mailto:profoxtech-boun...@leafe.com] On Behalf Of Gene Wirchenko Sent: Friday, 14 July 2017 2:42 PM To: profoxt...@leafe.com Subject: RE: "An IF | ELSE | ENDIF statement is missing" At 06:59 2017-07-13, "Darren" <fox...@ozemail.com.au> wrote: >And another tool I have w

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Gene Wirchenko
At 06:59 2017-07-13, "Darren" wrote: And another tool I have which helps is to add comments to the end of the terminating commands - e.g. ENDIF, ENDFOR, ENDDO, EXIT etc. which help to identify the branch / loop. I dislike the clutter intensely, and if the

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Paul H. Tarver
To: profoxt...@leafe.com Subject: RE: "An IF | ELSE | ENDIF statement is missing" Hey Paul - I think your reply is more in the way of Derailment instead of HiJacking! :-) I must admit - sometimes when I want a little break from work - I come hang out here in the land of ProFox - just for the ent

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Ted Roche
On Thu, Jul 13, 2017 at 9:40 AM, wrote: > > It pays to take the time and do good modular design instead of this > way-too-long PRG run on crap. hahaha > So, wait, you're saying that if you create functions/modules/methods that are short, do only one

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Kurt Wendt
Tel. +1-212-747-9100 www.GlobeTax.com -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Paul H. Tarver Sent: Thursday, July 13, 2017 4:14 PM To: profoxt...@leafe.com Subject: RE: "An IF | ELSE | ENDIF statement is missing" Not to hijack t

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Paul H. Tarver
, July 13, 2017 2:11 PM To: profoxt...@leafe.com Subject: Re: "An IF | ELSE | ENDIF statement is missing" On 13 July 2017 at 18:51, Malcolm Greene <pro...@bdurham.com> wrote: > Not to hijack this thread, but Python's indentation-as-syntax > eliminates problems like this. I k

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Paul Hill
On 13 July 2017 at 18:51, Malcolm Greene wrote: > Not to hijack this thread, but Python's indentation-as-syntax eliminates > problems like this. I know this doesn't solve the problem at hand, just > pointing out how another language handles this situation. It makes it worse!

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread John Weller
A technique I've used in the past for complex structures - definitely worth the effort! John Weller 01380 723235 07976 393631 > And another tool I have which helps is to add comments to the end of the > terminating commands - e.g. ENDIF, ENDFOR, ENDDO, EXIT etc. which help > to identify the

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Laurie Alvey
Mike, Thanks for for your clarification. Errant (in the sense of erring) comes from the Latin "errare", to err. Errant (in the sense of on a mission) comes from Old French (travelling). English has plenty of words which are spelt the same but have different meanings, e.g. cleave. Laurie On 13

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Malcolm Greene
Not to hijack this thread, but Python's indentation-as-syntax eliminates problems like this. I know this doesn't solve the problem at hand, just pointing out how another language handles this situation. Malcolm ___ Post Messages to: ProFox@leafe.com

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Michael Glassman
Alvey Sent: Thursday, July 13, 2017 11:32 AM To: profoxt...@leafe.com Subject: Re: "An IF | ELSE | ENDIF statement is missing" Apart from all of the above, my pet hate is mistakenly using ERRANT instead of ERRING. ERRING means in error and ERRANT means on a mission (as in "A Kni

Re: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Laurie Alvey
t; > > -Original Message- > From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of > mbsoftwaresoluti...@mbsoftwaresolutions.com > Sent: Thursday, July 13, 2017 8:41 AM > To: profoxt...@leafe.com > Subject: "An IF | ELSE | ENDIF statement is missing" >

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Paul H. Tarver
[mailto:profoxtech-boun...@leafe.com] On Behalf Of mbsoftwaresoluti...@mbsoftwaresolutions.com Sent: Thursday, July 13, 2017 8:41 AM To: profoxt...@leafe.com Subject: "An IF | ELSE | ENDIF statement is missing" Don't you hate it when you have a super long one-time conversion program, add some new 1-time

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Darren
Subject: RE: "An IF | ELSE | ENDIF statement is missing" On 2017-07-13 09:50, Darren wrote: > I wrote something ages ago to deal with that type of thing. Basically > renders to HTML and puts the matched branching statements into div > blocks which were collapsible. Made it eas

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Darren
..@leafe.com] On Behalf Of mbsoftwaresoluti...@mbsoftwaresolutions.com Sent: Thursday, 13 July 2017 11:41 PM To: profoxt...@leafe.com Subject: "An IF | ELSE | ENDIF statement is missing" Don't you hate it when you have a super long one-time conversion program, add some new 1-time crap over

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread mbsoftwaresolutions
On 2017-07-13 09:50, Darren wrote: I wrote something ages ago to deal with that type of thing. Basically renders to HTML and puts the matched branching statements into div blocks which were collapsible. Made it easy to find the issue. Yes been there !! You should upload that to the ProFox

RE: "An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread Darren
...@leafe.com] On Behalf Of mbsoftwaresoluti...@mbsoftwaresolutions.com Sent: Thursday, 13 July 2017 11:41 PM To: profoxt...@leafe.com Subject: "An IF | ELSE | ENDIF statement is missing" Don't you hate it when you have a super long one-time conversion program, add some new 1-time crap

"An IF | ELSE | ENDIF statement is missing"

2017-07-13 Thread mbsoftwaresolutions
Don't you hate it when you have a super long one-time conversion program, add some new 1-time crap over time, and then all of the sudden when ready to run you get this error message, AND CAN'T SEE WHERE THIS MISSING/ERRANT STRUCTURE IS? I'd be surprised if we haven't all been there at some