>Hi All, I thought I would share this with you. It is a cool way to maintain you procedure and class files.
>
>I use #define statements to create unique lines in the Document View window. This help me divide the classes and procedure files into groups that are dependent, or simply related (I.e. CFG.prg in Document View) . I generated the uniqueness by prefixing the #define statement's name with several underscores (_). This make them stand out in the listing.
I don't care so much for uniquenes but rather go for clarity and the ease of finding things. I frequently need to write a long prg with several thousand lines (it needs to be complete on destination, without missing pieces, and with today's IT personnel there's no guarantee that nothing would be lost on the way), and while the #define isn't specially colored in the document view, at least its icon stands out. I've found that this vastly improves the navigation between the 5500 lines of code.
The value of each #define is "here" :).
#define SmallStuff
Procedure getdescr
Procedure MakeTabsCol
Procedure CheckSplitName
Procedure SplitNameInfix
Procedure SplitName
#define FindThisOrThat
Procedure findUnit
Procedure FindTrType
Procedure FindOutcome
#define WriteThisOrThat
Procedure WriteRelation
Procedure WriteLab
Procedure writeDiag
Procedure WriteUnit
Procedure WriteExpert
Procedure WriteRelPerson
Procedure WriteBlood
#define OldStuff
Procedure IsSamePartner
Procedure GetPartner
Procedure WriteMai
Procedure findUnitByName
Procedure FindPrsByFL
Procedure GetPerson
Procedure GetExpert
Procedure getExpertFL
Procedure findappt
Procedure FindGuardByFLA
#define OpenThisOrThat
Procedure OpenPersons
Procedure OpenRelations
Procedure openPhones
Procedure openMai