Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: the difference between copy* and copy

From: antonr:lexicon at: 26-Jul-2004 19:42

Ummmm, these are pointing to the same action.
>> same? :copy* :copy
== true It is defined so that protocols which define their own, internal COPY can use the normal one without using a long path like system/words/copy See the handler code of the different protocols. Here's the FTP handler COPY:
>> print mold get in system/schemes/ftp/handler 'copy
func [port /local out num index value][ out: make block! num: port/state/num index: port/state/index parse port/locals/dir-cache [ index [2 skip] num [set value skip skip (insert tail out scopy value)] ] out ] As you can see, this COPY is not the one we are familiar with. By the way, it looks like it is using 'scopy to refer to the system standard COPY, not 'copy*, as we would expect. That just means it's older code, I think. We were discussing this topic during development of View1.3 on Rebol-View world. Anton.