In ANSI C, you can define a variable as constant by preceeding it with const. You can for example define a double variable x that you cannot change by const double x; However, what is the advantage of using const over #define? Why was the reason for its addition to ANSI C. Paul Siu paul at tredysvr.tredydev.unisys.com