64 bit assembler > Mikl__'s ml64 examples

Renaming tool for Vasily's include files.

(1/1)

hutch--:
Problem solved with Vasily's include files, here is a toy that renames "extern" to "externdef" with a batch file to run it.

Place the EXE and BAT file in the same directory as Vasily's include files, run the batch file and all includes will have extern renamed to externdef.

Modified includes tested on multiple examples and they work fine, the main gain is you can build libraries that do not end up bloated at massive sizes.

Files attached.

Basic at its best.  :biggrin:


FUNCTION PBmain as LONG

    cmd$ = command$

    Open cmd$ for Binary as #1
      Get$ #1, lof(1), a$
    Close #1

    Replace "extern " with "externdef " in a$

    Open cmd$ for Output as #1
      Print #1, a$;
    Close #1

    StdOut cmd$

End FUNCTION

Navigation

[0] Message Index

Go to full version