IF Computer > MINERVA > Manual > Reference > Directives > external

external

MINERVA
ifcomputer logo
f
Expert Services on the Web

The directive 'external' is used to declare the existence of predicates in an external package

As a result of the declaration, the compiler will not complain about missing predicates, and at runtime the package file will be loaded dynamically when the external predicates are first accessed.

For collections of predicates, use the directive 'package'

:- external(bb,[b/1,b/2]).

a(Z) :- b(X), b(X,Z).

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Directives/external/print_en.html
published 2008/7/21 update 2002/3/20 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
Back> managed with ubiCMS