Reputation: 38180
I tried to do this:
b: []
append b to-word "test/a"
but it generates error
* Syntax Error: invalid character in: "test/a" * Where: to *** Stack: run to-word
Upvotes: 1
Views: 118
Reputation: 5447
You can use a lit-path!
, but by default the path will be split:
>> append [] 'test/a
== [test a]
Unless you use the /only
refinement:
>> append/only [] 'test/a
== [test/a]
This assumes Red. I'm not sure if it's the same in Rebol.
Upvotes: 2