For applications, main/1 of the first loaded package will be called at startup time of a MINERVA program....
Move to
=> <=
Darueber Spitze
See also
Invocation
Predicates
Directives
Arithmetic
Functions
Objects
Error Messages
File Names
main
Packages
Debugger
Internationalization
Gui Programming
MINERVA to Java Interface
Java to MINERVA Interface
Restrictions
IF Computer > MINERVA > Manual > Reference > main

main

For applications, main/1 of the first loaded package will be called at startup time of a MINERVA program.

	main(+Args)
For applets, main/2 of the first loaded package will be called at startup time of a MINERVA program.
	main(+Applet, +Args)

The argument Args is the list of arguments passed to the MINERVA program from the command line or from the HTML wrapper.

If no user defined predicate main/1 is defined, then MINERVA will start in interactive mode and prompt the user for input.

Called is only the main/1 of the chronologically first loaded package, usually the one which is specified by the -l argument to minerva or to the one declared as package main in the *.mca or *.msp file. Other definitions of main/1 are ignored and cause a warning.

For unconditional processing at load time of a package use the init/1 directive.

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/main/home_de.html
published 2008/9/1 update 1999/5/10 (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