http://agrs.info/includer.zip
Закрыт баг с 3м режимом.
Фрагменты кода включаются в указанное место скрипта, а не в конец.
Ну и еще по мелочи...
Предложения, баги и т.д. как обычно в приват или на мыло.
Очень надеюсь что еще одну версию делать не придется, и что все это будет в инже.

Here is an automatic translation of includer.txt with my corrections

Русская версия в архиве с программой.
Code: Select all
INSTALLATION
1) Copy contents of archive in a folder with injection. The archive comprises:
- subs (an obligatory folder for procedures)
- examples (a folder with an example)
- includer.exe (obligatory executable a file of the program)
- includer.cfg (the list of the scripts subject to processing in the second mode)
2) Check up job of the program on an example:
- Start includer.exe
- After the program execution will be completed, it will open a window with the message on a mistake or with the message "Done".
- If the program was executed successfully, she will create in a folder with injection a script example.sc
- Open it and compare to the same file in a folder examples
3) If the program has come to the end with the message on a mistake, analyse this message and arrange.
DESCRIPTION
MODE 1:
In the first mode the program processes the unique script which it receives from the first parameter.
The first parameter to set very simply. Drag a file with a script on an includer.exe. Or make a link (such as ' C:\inj\includer.exe C:\inj\autoload.sc ').
MODE 2:
In a file includer.cfg create the list of files subject to processing by a rule " one string - one name of a file ".
Start includer.exe without parameters and it will consistently process all scripts which have been written down in includer.cfg.
MODE 3:
If includer will find out that in the first parameter is transferred *.cfg file, it will process not as a script, but as in 2nd mode (a set of scripts).
It allows to break the list of your scripts into some files on the author, purpose, shard and others...
PRINCIPLE OF JOB
Includer opens a script, searches in it for lines of type "*> include filename.sc" and replaces them with contents of the same file from subfolder "subs". Then saves a script in the root.