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

[REBOL] Re: reboldoc.r v1.1.4 available

From: brett:codeconscious at: 2-Nov-2000 18:44

Hi Chris, Here's an idea for your consideration. Not really a big issue. You function makes an assumption that you always want to write the result - a most reasonable assumption for what you are doing. I would however, allow the flexibility to just return a string to the caller. This allows the caller to perform edits on the result before writing to a destination file or url or whatever. Similarly for input for equivalent reasons. Alternatively, split the existing functionality into two functions the first doing as I suggest, the second with the file processing functionality you already have. Just a thought. Brett.