Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cool tip on using the Document View
Message
De
02/10/2017 04:48:12
 
 
À
01/10/2017 05:41:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01654690
Message ID:
01654718
Vues:
83
Excellent suggestion to my original idea. Between the Document View window and Class Browser, document management became much easier. I still believe the Project Manager could use some improvements.

>>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
>
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform