Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug vs. Functionality
Message
De
30/08/2000 10:27:36
 
 
À
30/08/2000 10:13:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00410715
Message ID:
00410729
Vues:
16
>Hello to all:
>I discovered something today that I'd like to share with the rest of you, and get your input on how YOU feel it should be handled.
>
>I had a line similar to the following:
>
>do c:\windows\desktop\myprogram.prg with para1, para2, para3, ;
> para4, para5, para6
>
>I moved the program from my local drive to the network, but I wanted to save the previous code, in case I needed to switch back, so I just commented it out, so my code looked like this:
>
>*do c:\windows\desktop\myprogram.prg with para1, para2, para3, ;
>do l:\programs\myprogram.prg with para1, para2, para3, ;
> para4, para5, para6
>

A continued line is a continued line, even comments. It would be nice if the editor would show this, but it doesn't...

I also do what John K. does - all or nothing in the comment - however you can also save the headache by putting another line after the continued comment line, e.g.
*do c:\windows\desktop\myprogram.prg with para1, para2, para3, ;

do l:\programs\myprogram.prg with para1, para2, para3, ;
        para4, para5, para6
It makes it more readable too.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform