Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine An APP's Install Location
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00603607
Message ID:
00604919
Vues:
26
Hi Steve.

>How come you have
>
>
endif atc('PROCEDURE', lcPath) > 0
>
>instead of just
>
>
endif
An old habit that goes back way before even xBase (AppleSoft Basic is where I believe I started doing this). I always include the complete statement in ENDIF, ENDDO, ENDSCAN, etc., mostly so I can easily see which ENDIF matches which IF statement in nested statements. This was more useful in the days when you couldn't really indent your code, but it's a habit now.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform