Michael: When I write any code that has a END* construct as soon as I type in the IF (for example) on the next line I immediately write the ENDIF statement. Then I go back and will in the stuff between the 2 lines with proper indents. At one time there was an intelligent editor that did this automatically back in the days of FoxBase as a third party editor. But I can't remember the editor's name... Also, I think, if you use the BEAUTIFY program on the suspect PRG it will perform all the indents between the IF and ENDIF and may assist you in finding your issue. Plus if you check the .ERR file it will probably tell you the line number of the IF that is unmatched. That is if you struggle to get line numbering turned on. I tell it in the properties to make line number on by default then when I come back it is still off and need to turn it on again... Regards,
Jack Skelley MB Software Solutions wrote: > Getting "An IF | ELSE | ENDIF statement is missing." ...but of course > it's not showing me where. This PRG is the main data access prg that's > got bazillion lines in it. GRRRRR!!!!! > > My temporary sanity saver is just to comment out the procedures 2/3 at a > time where I've been working to fix this. > > Now I understand where that prof was coming from when he said to keep > procedures to one page tall instead of spanning several pages. <g> > > ;-) > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** 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.

