Add "const" to CRMScript language?


in C++ there is the 'const' keyword, that can be used to indicate that a variable is constant and cannot be changed.

Would it be possible to get 'const' into CRMScript as well? It would be reassuring to use for example for configuration values that we don't want anyone to change the value of.

Integer foo = 1;
foo *= 2; //this is ok

const Integer bar = 3;
bar *= 2; //this should not be allowed

Ingen svar endnu!