Use the directive 'include' to add a file into this file....
Move to
Next Prev
Up Top
See also
builtin
dynamic
external
include
op
package
import
init
initialization
ensure_loaded
double_quotes
IF Computer > MINERVA > Manual > Reference > Directives > include

include

Use the directive 'include' to add a file into this file. The 'include' directive will be replaced with the contents of the referenced file.

The directive 'include' is convenient e.g. to add common operator definitions to a each of a group of files

% -- example.min -------------------------------------------------

bb(a). bb(b).

:- include('bb.min').

bb(x). bb(y).

main(_Args) :- bb(X), writeq(bb(X)), nl, flush_output, fail ; true.

% -- bb.min -------------------------------------

bb(1). bb(2). bb(3).

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Language
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Directives/include/home_en.html
published 2008/7/7 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
scroll to top managed with ubiCMS