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

[REBOL] Re: Convert block inplace?

From: robert:muench:robertmuench at: 25-Jul-2004 18:51

On Sun, 25 Jul 2004 17:24:33 +0200, Volker Nitsch <[nitsch-lists--netcologne--de]> wrote:
>> 1. How can I change the block in place inside the function? I tried >> 'forall but I can't referr to the "current" entry. > > !>> a: [%hi.txt %ho.txt] > == [%hi.txt %ho.txt] > !>> forall a [change a to-string first a]
Hi, argh, forgot about change. Seems I need to learn my Rebol vocabulary more often. Thanks.
>> 2. 'swtich seems not to work with datatype! Is this a bug? > > No, obfuscation. the word string! and the datatype string! look the same > in console. 'type? gives the datatype, switch uses the word.
Ok, use the source Luke. Thanks everyone. Robert