Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual FoxPro 7 Wish List
Message
 
À
21/06/2000 04:11:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00382104
Message ID:
00382578
Vues:
23
I'm going to have a closer look at this - I always thought #DEFINE was for constants.

>#DEFINE dasn't mean CONSTANT. All #statements are processed in first step of compiler. What that mean? If we have clause
> #DEFINE bleble 0
>and somewhere in code
> memvar = bleble
>after first step of compile we have
> memvar = 0
>THIS is very usefull method of writing code becouse programs are easy to understanding and maintenans.
>So, why we don't wanting more.
> #DEFINE ADD %1=%1 + %2
>and later
> ADD(add2me,1)
>is more readable and easy to maintenance?
>
>Marky
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform