ADXMBM

Contents


adxmbm sets the number of buffers allocated to the saving of the application messages.

 

Class, Type, and Dimension

[S]adxmbm Integer

 

Examples

   # Extracted from an APL.ini file
   [S]adxmbm = 10240
   # End of an update process of the application messages
 # with reinitialization of these messages
   $FIN
 Boxclr [LIBA]
   # emptying of the memory!
   [S]adxmbm = [S]adxmbm
 End

 

Description and Comments

adxmbm is an Adonix system variable of the Integer type, which sets the number of buffers from 32 bytes allocated for the saving of the application messages. Each buffer contais a message, i.e., an input of a local menu. Messages of over 32 bytes are stored in several buffers. Since the messages are contained in an Adonix table (for which the name is set by the [S]adxtms variable), each call to the mess function (for the application messages) and each entry of a field of this type triggers a read of this table. When you work in client-server mode, or under Oracle, you limit the number of reads if you save a large part of this table. You will also obtain better performance. On the other hand, more memory will be tied up.

Its value is set to 512 by default. This value is sufficient so that the entry of the most complex screens is not slow.

Its value cannot exceed 32000.

adxmbm is usually set by one of the processes called "APL.ini" that is launched when you start up the application. Its assignment by program triggers the emptying of the corresponding memory field. This operation is therefore to be performed after modifying the application messages.

The space taken up in the memory by these buffers should be considered in the calculation of the maximum size of memory that the application can occupy. This parameter is set by the [S]maxmem variable.

 

Associated Errors

No associated error

 

Associated Keywords

MESS - MESSNAME - ADXTMS - MAXMEM


CONTENTS


Copyright © Sage 1999 - 2007