Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HowTo: Multi-line Comments in VFP (Take 2)
Message
De
10/11/2000 11:29:10
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00439900
Message ID:
00440247
Vues:
58
>
>I find this useful for writing descriptive comments, not for disabling a block of code by commenting it out. Comment/Uncomment certainly works better for the latter. What I don't like about Comment/Uncomment is that it takes two steps and doesn't respect indentation - if you comment a block of indented code the comment marks are placed at the left margin regardless of indentation, which disrupts the readability of the code. With the */ technique I can write an indented multi-line comment easily in one step. For example
IF .T.
>   IF .T.
>      */ This is a multi-line comment ;
>         that you can use to describe what's ;
>         happening in this nested block of code. */
>      WAIT WINDOW NOWAIT "Foo"
>   ENDIF
>ENDIF
Rick,
OIC. I would still prefer comment/uncomment and maybe tab,tab (or beautify) for the sake of preserving my syntax coloring. You can't believe how much errors I experience if I don't do that (getting older:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform