prog::init -- loading objects
Introductionprog::init(object) initializes the
MuPAD object object.
Call(s)prog::init(object)
Parametersobject |
- | MuPAD object to initialize or option All |
OptionsAll |
- | initialising all MuPAD objects |
Returnsprog::init returns the void object null().
Related
Functionsloadproc, Pref::verboseRead, prog::check
Detailsprog::init can be used to initialize MuPAD
objects.Pref::verboseRead, you can make
MuPAD print information on files loaded automatically.
Option: All
Example
1Initializing all MuPAD objects takes a lot of time and greatly increases the memory requirements:
>> bytes()
522304, 815604, 2147483647
>> prog::init(All):
Check the memory usage again:
>> bytes()
15990660, 16507016, 2147483647
Example
2Using Pref::verboseRead, we obtain
information on what is loaded by the system:
>> reset(): Pref::verboseRead(2): prog::init(prog::trace)
loading package 'prog' [lib/]
reading file lib/PROG/checkini.mu
reading file lib/PROG/trace.mu