IF Computer > MINERVA > Example Programs > MINERVA Features > Directives > include

include

MINERVA
ifcomputer logo
f
Expert Services on the Web

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

% 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 group of files

bb(a). bb(b).

:- include('bb.min').

bb(x). bb(y).

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

document: http://www.ifcomputer.co.jp/MINERVA/ExamplePrograms/MinervaFeatures/Directives/include/print_en.html
published 2008/10/6 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