Alessandro

Just a quick note on terminology - Carl S blogged that Rebol functions 
are not commands at http://www.rebol.net/article/0188.html

(Personally, I'd go for the object option).

Regards

Peter

On Wednesday, May 10, 2006, at 18:16 Asia/Kuala_Lumpur, Alessandro 
Manotti wrote:

>
> Yes, I understand what you say  :-(
>
> So I need to decide which way could be the best:
>
>>> j/copy file1 file2
>>> j/dir directory_name
>
> Or...
>
>>> jcopy file1 file2
>>> jdir directory_name
>
> Even if the second one is faster for typing, in future it could create
> conflicts.
>
> More: the first way could be even used in a rebol application.
>
> I need to evaluate both the solutions.
> If you will have more ideas, please let me know!
>
> Thank you!
>
> --Alessandro
>
>
>
>
> On 5/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> Alessandro:
>>
>>> How can I do ?
>>
>> You could try:
>>
>> reb: make object!  [
>>   print: get in system/words 'print
>>   copy: get in system/words 'copy
>> ]
>>
>> That copies the original sytem words' values into the reb object.
>>
>> But it may go horribly wrong.....
>>
>> ....Remember that much of REBOL is implemented as mezzanines. That 
>> means =
> many
>> existing functions may be using the standard words.
>>
>> Example, assume that above object is defined, and you then redefine 
>> print=
>  as:
>>       print: func [xx] [reb/print "not implemented"]
>>
>> We can now use these:
>>
>>>> print "hello"
>> not implemented   ;; as expected
>>
>>>> reb/print "hello"
>> hello                 ;; as expected
>>
>> But:
>>>> probe reb
>> not implemented
>>
>> Probe uses print, and print has been redefined.
>>
>> You'd need to define probe to use reb/print.
>>
>> And that could get to be a very tiresome iterative process of 
>> debugging R=
> T's
>> mezzanines.
>>
>> Sunanda.
>>
>>
>> --
>> To unsubscribe from the list, just send an email to
>> lists at rebol.com with unsubscribe as the subject.
>>
>>
> -- 
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>

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

Reply via email to