No announcement yet.

New merge utlity

  • Filter
  • Time
  • Show
Clear All
new posts

  • New merge utlity

    I fixed the old one but it was so long ago that I wrote it I no longer had a feel for the way it was done so I wrote a 21st century version to replace it.

    It differs from the old one in that it does all of its passes in memory while only reading the original source file once and doing a disk read for each #include statement.

    It is an iterative design that keeps re-reading the finished result until there are no more allowable #include statements left then it writes the result to disk as a new file with "merged_" prepended to the original file name. It does not modify the original.

    Main gain is its a lot faster than the old one and takes advantage of some of the later functionalty in PowerBASIC.
    Attached Files
    hutch at movsd dot com
    The MASM Forum - SLL Modules and PB Libraries