Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
De
29/07/1998 02:16:55
 
 
À
25/07/1998 16:50:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00122218
Vues:
21
>>PROCEDURE CalcSomeThings
>>PARAMETERS tcEmpCode,tdLastWorkDay
>>
>> * 1. Setup
>> * 1.1 Check if params valid
>> ... do checking, take action
>> * 1.2 Open tables
>> ... open them
>> * 1.3 Other pre-verification
>
>Nice, actually I also start some things in form of a outline comment, specially if it's to be done by someone else. Saves me lots of explanation.
>
>I only don't see any point in numbering - the actual order of events may differ in the final version, and once you look at the code with the outline numbers out of order, you just begin to wander what's wrong, when it's actually OK.
>
>BTW, how does one outline a form? What's the rule-of-thumb approach when you want to write the specs for a form? Write down all the objects with just descriptions of behavior, or what?


Dragan,

Actually the numbering helps me a lot in making things clearer in my mind. I do have to renumber by hand, which is pain, but find it is worth it.

I don't outline a form normally, but in a procedure by procedure basis which is fine. I think the best place to do it in FPD would be the the setup code. Don't know about VFP.

Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform