Yes, you can use protect ... but it is not cast in stone,
merely in lava ...

>>  digit-str: "0123456789"
== "0123456789"
>>  protect 'digit-str
>> digit-str: "abcdefg"
** Script Error: Word digit-str is protected, cannot modify.
** Where: digit-str: "abcdefg"
>> append digit-str "abcdefg"
== "0123456789abcdefg"
>> digit-str
== "0123456789abcdefg"


As to my knowledge, there isn't a stone carver in Rebol.

regards,

Ingo


Those were the words of [EMAIL PROTECTED]:
> protect 'digit-str
> 
> > How may I set a word to a constant value?
> > as in:
> > digit-str: "0123456789" ;cast in stone, code can't change it
> > TIA
> > -Tim


--
                do http://www.2b1.de/
    _     .                                _
ingo@)|_ /|  _| _  <We ARE all ONE   www._|_o _   _ ._ _  
www./_|_) |o(_|(/_  We ARE all FREE> ingo@| |(_|o(_)| (_| 
                                             ._|      ._|

Reply via email to