Versions des environnements
>My question is how exactly they are inserted? Manually by developer after he/she organizes the code or >automatically by IDE - if yes, how?
you would just type directly into the code editor `#region SampleRegionTitle` on one line
then a few lines down enter into the code editor the phrase `#endregion`.
this allows the developer to set up and organize their code the way they like.
try entering in the examples you were provided in the other posts and watch the Visual Studio IDE do its magic.
Incidentally that SampleRegionTitle is not a program variable and is not used for any functional purpose in the .exe file. It simply allows you to identify areas of your code with a title of your choosing...
Regions are really cool.
I wonder if VFP 10 will have regions?
O ya... there won't be a VFP 10
:)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement