Let s say I have
list: [system/history system/prompt]
I want to convert to
list-string: ["system/history" "system/prompt"]
This may be an obvious answer but I can t see any :)
Thanks.
Let s say I have
list: [system/history system/prompt]
I want to convert to
list-string: ["system/history" "system/prompt"]
This may be an obvious answer but I can t see any :)
Thanks.
Or
>> list: [system/history system/prompt]
>> map-each v list [form v]
== ["system/history" "system/prompt"]
There s many simple ways to do this in Rebol. It s interesting to use parse:
>> list: [system/history system/prompt]
== [system/history system/prompt]
>> parse list [(list-string: copy []) some [set path path! (append list-string mold path)]]
== true
>> list-string
== ["system/history" "system/prompt"]
Another way, that updates the existing list block:
list: [system/history system/prompt]
== [system/history system/prompt]
forall list [list/1: mold list/1]
probe list
== ["system/history" "system/prompt"]
Assuming you never have spaces in the original list (as is true in your example)
parse form list none
== ["system/history" "system/prompt"]
I have tested pop successufully with some POP servers with Rebol but it doesn t work with my hosting server dreamhost (which works with Outlook I have tested http://wiki.dreamhost.com/Outlook_Express )...
I want to be able to modify Object dynamically by adding / removing properties or methods on the fly. For Adding no problem, for Removing I thought about using Set Difference Math Operator but it ...
The new function below doesn t work if Obj is local. If I remove it from /local it works. So what to do to make it work with a local Obj thanks ? Sure not hard for you. Person: make object! [ Person:...
I want to do this: >> SET [a b] reduce [(ask "a: ") (ask "b: ")] a: 1 b: 2 == ["1" "2"] >> Programmatically: args: [a b] block: copy [] foreach arg args [ append block to-word "(" ...
Is there a function to get the parent of an object for example parent-of system/console/history would give system/console
Let s say I have list: [system/history system/prompt] I want to convert to list-string: ["system/history" "system/prompt"] This may be an obvious answer but I can t see any :) Thanks.
Since user.r has changed directory depending on version, it is annoying for automatic script distribution which would depend on user.r not to know where it is. So is there any system variable which ...
Rebol 2 VID was hugely missing Dropdownlist and Treeview, I have made a search on Rebol 3 on Google but couldn t find anything except a discussion. So what will Rebol 3 VID really include as new ...