RE: Easy way to count total lines of code in complete project?

2007-01-16 Thread Lee Lorentz
How about Xdoc / FoxDoc by Walt Kenamer? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Stephen the Cook
Sent: Tuesday, January 16, 2007 19:42
To: [EMAIL PROTECTED]
Subject: RE: Easy way to count total lines of code in complete project?

MB Software Solutions <> wrote:
> Is there an easy way to determine the total number of lines of code in 
> an app/project?

There use to be a great documentation program for VFP code.  I can't
remember the name of it but it would rip through all your classes, and forms
doing what your looking for as well as a lot more.  Sorry I can't remember
it's name.  

Stephen Russell
DBA / .Net Developer

Memphis TN 38115
901.246-0159

"Our scientific power has outrun our spiritual power. We have guided
missiles and misguided men." Dr. Martin Luther King Jr.

http://spaces.msn.com/members/srussell/




___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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.


RE: Index on Deleted()

2007-02-15 Thread Lee Lorentz
Just a shot in the dark here.

The first argument you're sending into the SEEK() function is the value
sought.  You should be sending in a value of .T. but you're sending in the
DELETED() status of the current record in the currently-selected workarea.

Try:

? SEEK( .T., 'MyTable', 'DelRecs' )

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Weller
Sent: Wednesday, February 14, 2007 16:06
To: [EMAIL PROTECTED]
Subject: Index on Deleted()

I have an index on DELETED() in most of my tables.  To check if a table
needs packing I look for a deleted record using this index.  When I look at
a table with no deleted records I'm finding that the line:

LOCATE FOR DELETED()
?FOUND()

returns False, whereas

? SEEK(DELETED(), 'MyTable', 'DelRecs')

is returning True - which is obviously wrong!  This happens on all of the
tables which do not have deleted records.  Any suggestions as to what I am
doing wrong?  (I'm going to change the code to use LOCATE rather than SEEK
as an interim measure).

TIA


John Weller
01380 723235
07976 393631



[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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.