Previous Page Next Page Contents

module::max -- simultaneously loadable modules

Introduction

module::max(maxnum) sets the maximum number of dynamic modules which may reside in the main memory simultaneously.

Call(s)

module::max()
module::max(maxnum)

Parameters

maxnum - maximum number of dynamic modules which simultaneously reside in the main memory: integer less than or equal to 256 and greater than or equal to 1 respectively the number of currently loaded modules

Returns

An integer in the range 1..256.

Related Functions

external, loadmod, module::age, module::displace, module::new, module::stat

Details

Example 1

The maximum number of dynamic modules which resides in the main memory simultaneously can be limited. The first command returns the current setting. The second command sets the maximum number to 256.

>> module::max()
                                    16
>> module::max(256)
                                    256

Background




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000