Task

Demonstrate any means your language has to prevent the modification of values, or to create objects that cannot be modified after they have been created.




define PI = 3.14159;            # compile-time defined constant
const MSG = "Hello world!";     # run-time defined constant