The following syntax doesn't work at all...

set in object 'word value

Is the documentation incorrect?

> How can I add a string to an existing object? The available documentation
> does not explain this.
> 
> Here is my console session...
> 
> >> test-object: make object! [x: "string"]
> >> probe test-object
> 
> make object! [
>     x: "string"
> ]
> 
> >> set in test-object 'y "another string"
> ** Script Error: set expected word argument of type: any-word block.
> ** Where: set in test-object 'y "another string"
> 
> >> another-string: "another string"
> == "another string"
> >> set in test-object 'y another-string
> ** Script Error: set expected word argument of type: any-word block.
> ** Where: set in test-object 'y another-string
> 


Reply via email to