compiles a file...
Move to
=> <=
Darueber Spitze
See also
compile/1/3
IF Computer > MINERVA > Manual > Reference > Predicates > Compilation > compile/1/3

compile/1/3

compiles a file

compile(+Filename)
compile(+ErrorStream.+Filename, +Options)

compile/1/3 compiles a given file

compile runs the compiler for *.min or *.mss depending on the extension of Filename.

Options is a list of options as used for minervac, e.g.

	['-sp',MySearchPath,'-encoding',MyEncoding]

compile/1/3 starts a new Minerva in the same process and uses the parameters -encoding, -sp, -c from the options list or the system parameters of the current MINERVA, where ('-c', Path/*.mca) will be replaced with ('-c', Path/minervac.mca) .

Arguments

ErrorStream            error output stream
Filename               atom
Options                list of minervac options

Examples

A typical program looks like

	:
	compile(File),
	load(File),
	:

Standard

These predicates are not part of the ISO-Prolog Standard.

See also

minervac,

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Sprache
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/Predicates/Compilation/compile/home_de.html
published 2008/11/17 update 2004/1/12 (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
scroll to top managed with ubiCMS