Gene,

Yes, the syntax rules for embedded comments may cause problems if you don't 
follow them correctly, but how is that different from any other part of a 
programming language?

Fernando is correct; if it's documented and it works correctly as specified, 
then it's not a bug.

FWIW, in VFP 6 and 7 (don't remember about 8) that feature didn't work - you 
couldn't put && comments on a continued line.  So would you rather gripe about 
having to be careful or gripe about not being able to do it at all?

Documenting your file structure in-line has several advantages, the price is 
subjecting your documentation to the command syntax rules.  I chose to document 
mine in a separate header section - I never had execution problems but I've 
gotten bit by changing the code and forgetting to change the documentation.  In 
both cases, the fault is ours and not VFP's.  

Dan Covill


> Date: Thu, 4 Sep 2014 11:43:04 -0700
> To: [email protected]
> From: [email protected]
> Subject: Re: if endif issue
> 
> At 02:52 2014-09-04, "Fernando D. Bozzo" <[email protected]> wrote:
> 
> >You should read the docs of the language you program before saying
> >something is "a bug"
> 
------------------ long gripe by Gene W --------------------
<here is the table definition for one 
> of the tables in my app:
> 
>        create table cwko;
>         (;
>         ;
>         wonbr n(6) not null,;       && Work Order Number
>         stncode c(3) not null,;     && Station Code
>         wogrp c(1) not null,;       && Work Order Group
>         ;                           &&  used in grouping similar WOs which
>         ;                           &&  will end up being invoiced together
>         clcode c(3) not null,;      && Client Code
> [snip]
> 
> Sincerely,
> 
> Gene Wirchenko

                                          

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
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/[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.

Reply via email to