Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programming Standards
Message
De
16/11/1999 21:51:01
 
 
À
16/11/1999 18:23:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00291621
Message ID:
00291759
Vues:
19
>
>I'm already using the standard naming conventions.
>Surely variable names are not the only standards
>that folks are using to facilitate multi-developer
>environments!?!

Here's an example of a PRG header that I use. It can be modified for methods, functions, etc:

**************************
* Program: MyProg.Prg
* Description: Count the number of tildes in a table
* Application: TildeCounter
* Parameters: tcFileName: Required: The file name to use
* Date: 01-Nov-1999
* Author: Joe Programmer
**************************
* Modification Summary
*
* /01 16-Nov-1999 Jane Programmer
* 1. Changed DO WHILE !EOF() to SCAN/ENDSCAN
* 2. Added code to make sure tcFileName exists
**************************


In my code, I bracket the modifications to refer to the header:

*/01-2 - Begin
IF !FILE(tcFileName)
RETURN
ENDIF
*/01-2 - End
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform