Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding Standards
Message
From
29/07/1998 02:16:55
 
 
To
25/07/1998 16:50:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00115272
Message ID:
00122218
Views:
23
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform