Hi, thanks, I forgot about it. But, see:
Money:
>> a: $100
== $100.00
>> poke a 2 3
== $3.00
>> a
== $100.00
It seems immutable to me
Date:
>> a: 7/1/2000
== 7-Jan-2000
>> poke a 1 8
== 7-Jan-0008
>> a
== 7-Jan-2000
Time:
>> a: 21:21
== 21:21
>> type? a
== time!
>> poke a 1 22
== 22:21
>> a
== 21:21
Tuple:
>> a: 1.2.3
== 1.2.3
>> type? a
== tuple!
>> poke a 1 22
== 22.2.3
>> a
== 1.2.3
So, I think, that although pokable, the values are immutable,
which is not bad.
Ladislav
>
> Hope this is helpful:
>
> >> HELP POKE
>
> Returns value after changing its data at the given index. (See
manual)
> Arguments:
> value -- (series money date time object port tuple)
> index -- (number logic)
> data -- new value
>
> The list below lists a few of the above pokables as immutable.
>
> (Maybe the list could be broken into two?) -jeff
>
> --------------------------------------------
>
> any-type ; undecidable
> any-function ; mutable
> action ; mutable (change third ...)
> function ; mutable (change first ...)
> native ; mutable (change third ...)
> op ; mutable (change third ...)
> any-word ; undecidable
> get-word ; immutable - (an immutable ref. to a mutable
word?)
> lit-word ; immutable - (an immutable ref. to a mutable
word?)
> refinement ; immutable - (an immutable ref. to a
mutable word?)
> set-word ; immutable
> word ; mutable (protect/unprotect/set ...)
> bitset ; immutable
> char ; immutable - scalar
> date ; immutable - scalar
> error ; immutable
> logic ; immutable - scalar
> money ; immutable - scalar
> none ; immutable - scalar
> number ; immutable
> integer ; immutable - scalar
> decimal ; immutable - scalar
> object ; mutable (through set-path ...)
> port ; mutable (close ...)
> series ; mutable (change ...)
> any-block ; mutable (change ...)
> block ; mutable - series (change ...)
> list ; mutable - series (change ...)
> lit-path ; mutable (change ...)
> hash ; mutable - series (change ...)
> paren ; mutable - series (change ...)
> path ; mutable - series (change ...)
> set-path ; mutable (change ...)
> any-string ; mutable (change ...)
> binary ; mutable - series (change ...)
> email ; mutable - series (change ...)
> file ; mutable - series (change ...)
> issue ; mutable - series (change ...)
> string ; mutable - series (change ...)
> tag ; mutable - series (change ...)
> url ; mutable - series (change ...)
> symbol ; immutable
> time ; immutable - scalar
> tuple ; immutable - scalar
> unset ; immutable
>
>
>
>
>
>
>