Hi Giuseppe, Your assumption that SITE is a copy is incorrect. Each iteration through the FOREACH body block, SITE is set to a new url. Essentially, SITE is a "pointer" to the original url. There is no copying happening.
Therefore, INSERT, REMOVE and APPEND are all working on the original urls. Anton. > Here is a piece of code taken from the server monitor. > > sites: [ > ; List of URLs (http or tcp are allowed) > http://www.rebol.com > http://www.rebol.net > http://mail.rebol.net > http://mail.rebolot.com > tcp://www.altme.com:5400 > ] > > foreach site sites [ > ; Convert any http to tcp on port 80 > if find/match site http:// [ > insert remove/part site 7 tcp:// > append site ":80" > ] > ] > > I have supposed that "site" contains a copy of the value taken from > "sites" block. Ok, lets suppose it referrers to the site series: why does > append works on the single block entry and not on the end of the block ? > > Giuseppe -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
