I am attempting to define several variables at the beginning of a program that I do NOT want its value changed anywhere else in the program any time for any reason. In fact, I'd just as soon it give an error if its value changed.
Suppose I have:
%LoGre = 2
And later by accident I change it to:
If NameFail=0 then
I would be perfectly happy to have the program give me an error right then and there, and just come to an end. Can the variables be 'frozen' to certain values I give it?
Another way to look at it. If the value for "Pi" was 3.14159, most of us wouldn't want the program to change Pi somewhere unexpectedly.
Thanks.
Robert
Suppose I have:
%LoGre = 2
And later by accident I change it to:
If NameFail=0 then
LoGre=0
End ifI would be perfectly happy to have the program give me an error right then and there, and just come to an end. Can the variables be 'frozen' to certain values I give it?
Another way to look at it. If the value for "Pi" was 3.14159, most of us wouldn't want the program to change Pi somewhere unexpectedly.
Thanks.
Robert
Comment