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