IF Computer > MINERVA > Manual > Reference > Predicates > Clause creation and destruction > load/1

load/1

MINERVA
ifcomputer logo
f
Expert Services on the Web

loads a file into MINERVA.

load(+FileName)

load/1 loads the MINERVA-Code of FileName.mbc into MINERVA.

Arguments

FileName             string  

Examples

load(operator). If the file operator.mbc exists, contains legal minerva code and can be read, the definitions in operator.mbc will be loaded into the MINERVA database and the initialization code (init-Directive) will be executed.
load('http://host/dir/prog.mbc').
load('ftp://host/dir/prog.mbc').
load('file:///C:/minlocal/hi_world.min').

Standard

This predicate is not part of the ISO-Prolog Standard.

See also

asserta/1, assertz/1, abolish/1, collect/3, unload/1, loaded/1/2, retract/1, retractall/1.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/clause_creat_destruct/load/print_en.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
Back> managed with ubiCMS