Previous Page Next Page Contents

prog::init -- loading objects

Introduction

prog::init(object) initializes the MuPAD object object.

Call(s)

prog::init(object)

Parameters

object - MuPAD object to initialize or option All

Options

All - initialising all MuPAD objects

Returns

prog::init returns the void object null().

Related Functions

loadproc, Pref::verboseRead, prog::check

Details

Option: All

Example 1

Initializing 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 2

Using 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

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000