IF Computer > MINERVA > Manual > Reference > Directives > init

init

MINERVA
ifcomputer logo
f
Expert Services on the Web

MINERVA packages can be referenced as a modular unit and dynamically loaded upon demand.

Use the directives 'package' and 'init' to group predicates into MINERVA packages.

The MINERVA compiler generates a *.mpk interface description for each *.min source file resp. its *.mbc object file.

Predicates with functor starting with '_' (underscore) will not be included in the interface description.

The *.mbc file is loaded automatically when the first of its predicates is used.

If a predicate it marked with the 'init' directive, it is invoked at load time.

See the example files:

abc_library.min, abc_library.mpk, example.min and example.mpk

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Directives/init/print_de.html
published 2008/11/17 update 2001/3/22 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS