module::max -- simultaneously
loadable modules
Introductionmodule::max(maxnum) sets the maximum
number of dynamic modules which may reside in the main memory
simultaneously.
Call(s)module::max()
module::max(maxnum)
Parametersmaxnum |
- | 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 |
ReturnsAn integer in the range 1..256.
Related
Functionsexternal, loadmod, module::age, module::displace, module::new, module::stat
Detailsmodule::max() returns the current maximum
number of dynamic module which may reside in the main memory
simultaneously.module::max(maxnum) sets a new maximum
number and returns this value.
Example
1The 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
Backgroundmodule::max uses the module function
stdmod::max to get and set the maximum number of
simultaneously loadable modules.module::age.module::stat displays information about
the dynamic module which are currently loaded in the main memory.