Posted By

reboltutorial on 04/23/10


Tagged

REBOL


Versions (?)

Save Block as Lines


 / Published in: R
 

URL: http://reboltutorial.com

  1. save-block-as-lines: func [where block /skip size /local data] [
  2. data: copy ""
  3. size: any [size 1]
  4. forskip block size [
  5. append data join mold/only copy/part block size newline
  6. ]
  7. write where data
  8. ]

Report this snippet  

You need to login to post a comment.