next
|
previous
|
forward
|
backward
|
up
|
top
|
index
|
toc
|
home
Macaulay2
>
The Macaulay2 language
>
system facilities
>
addStartFunction
addStartFunction -- add a startup function
Synopsis
Usage:
addStartFunction f
Inputs:
f
,
a
function
Consequences:
When the program restarts, the function
f
will be called, with no arguments.
Description
The program is said to restart if
dumpdata
is used to save the state, and at some later time,
loaddata
is used to restore it.
See also
addEndFunction
-- add an ending function
loaddata
-- load state of the system from a file
dumpdata
-- dump state of the system to a file