Anonymous user
Enforced immutability: Difference between revisions
→{{header|UNIX Shell}}: adding c shell
(→{{header|UNIX Shell}}: adding c shell) |
|||
Line 1,077:
The Unix shell does not support constants, but variables can be marked as readonly for the same effect.
{{works with|Bourne Shell}}
<lang sh>PIE=APPLE
readonly PIE</lang>
==={{header|C Shell}}===
<lang csh>set -r PIE = APPLE</lang>
=={{header|XPL0}}==
|