You can "save" the existing ones before modify them.

>> oldprint: :print
>> print: func [value][oldprint mold value]
>> oldprint "1"
1
>> print "1"
"1"


> Hi,
> 
> I need a suggestion how to implement a new dialect, linked to the
> global context, but without iterfering with existing words (commands).
> 
> I need to implement these commands in the global context since I need
> a user to do something like this (using a console I'm building):
> 
> >> print mydirCommand
> 
> Where "print" is the standard command, but "mydirCommand" is a custom
comma=
> nd.
> The problem is I think many commands I need to create will overlap
> standard commands.
> 
> E.g.: "copy" command in Rebol already exists, but I want to create a
> new command to "copy" like the copy function for files (like copy
> command implemented in Ms-DOS/Win, or "cp" in Linux).
> 
> >> copy %/c/temp %/c/temp2
> 
> Can you suggest me some solutions, workarounds, etc...?

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to