[LANG][TOOL] .imp/.import files

Started by SplinterGU, September 12, 2007, 05:47:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SplinterGU

These files are a list of modules to load.

They can be of 2 types, global or by module.

Global, they have the name "bgdc.imp" and or "bgdc.import", and they should be in the compiler's directory.

Local, they are by project, the name is "<the prg's name>.imp" and or "<the prg's name>.import", and they should be in the .prg's directory.

The names of the modules should specify without extension, for example, for "mod_cd.dll" or "mod_cd.so", only "mod_cd" is necessary to put. (Without ")

One module by line should be specified.

NOTE:
This feature is optional, you can use the classic "import" keyword in your prg.
This file only is useful in compiler's time.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Sandman

This is cool.

Does the original import file work without the ".dll" or ".so" part as well? And what are all the advantages over the original import system?
-- Sandman

SplinterGU

Only that you not need modify your proyects...
It's same that use import in your prg.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2