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

[REBOL] En Masse Modifier

From: ryanc::iesco-dms::com at: 16-Oct-2001 12:47

Since this type of thing seems the like the fashionable function to write these days, I thought that I had better offer my own version quick before I get out of style... ; Ryan's en masse modifier. Changes original block modify: func [blk fun][ head forall blk [blk: back change/part blk reduce [fun first blk] 1] ]
>> modify "gggg" :to-binary
== "#{67}#{67}#{67}#{67}"
>> modify ["gg""gg"] :to-binary
== [#{6767} #{6767}] --Ryan Ryan Cole Programmer Analyst 707-468-5400