Hello Jean!
Saturday October 25 1997 19:47, Jean Menten wrote to All:
JM> #DEFINE this 101
JM> #DEFINE that 102
JM> 1. what do those numbers mean ?
Well let us say that the price of an apple is 1.
If you place in your code :
#DEFINE APPLE_PRICE 1
You could place in your code for exemple :
? "The price for 10 apples is : "
?? APPLE_PRICE*10
When clipper will compile your programm, each time it will see APPLE_PRICE,
it will replace it with 1.
This is a great advantage because you can write programs that are easier
understandable.
Greetings,
Jean-Lievin
--- Visit my homepage at http://ebs.be/jlp
---------------
* Origin: E.B.S. Telecom, Brussels 322+ 420 24 89 4 nodes (2:291/742)
|