[top][index]
search for:

addStartFunction -- add a startup function

addStartFunction (() -> ...) -- record a function for later execution, when the program is restarted after loading dumped data.

See also:

  • runStartFunctions -- run the start up functions
  • Code:

         -- ../../../Macaulay2/m2/setup.m2:234-236
         addStartFunction = g -> (
              startFunctions = append(startFunctions,g);
              g)

    [top][index]
    search for: