[REBOL] Re: 'alias command in REBOL
From: g:santilli:tiscalinet:it at: 18-Jan-2001 19:58
Hello Geo!
On 18-Gen-01, you wrote:
GM> Exactly what is the difference if I say:
GM>>> stampa: :print
GM> instead of using 'alias command? What is the advantage
GM> between them?
Alias makes "stampa" THE SAME WORD as "print"; it is a different
spelling of the same word. With the above, you assing to the word
'stampa the value of the word 'print.
>> alias 'print "stampa"
== stampa
>> 'stampa = 'print
== true
>> alias 'part "not-completely"
== not-completely
>> copy/not-completely "something" 4
== "some"
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/