adxmto is used to know the maximum number of tables opened simultaneously and to modify this parameter.

Class, type and dimension

Integer [S]adxmto

Examples

# The current value is saved
 [L]SVGMTO = [S]adxmto
# Set to its maximum
[S]adxmto = 255

Description

adxmto is a Sage Integer type system variable specifying the maximum number of "Sage channels" that can be used at the same time by File, Trbegin orders. Its value can be modified when it is assigned.

A 'Sage channel' is used for:

  • Each table declared in a File or Trbebin order.
  • Each table 'link' set up by Link.
  • When accessing a counter, a description, a symbol (this channel being freed at once).

On the other hand, no additional channels are used in the following cases:

  • When using Trbegin to open a file already open in read mode by only providing its abbreviation.
  • When sorting a table.

adxmto can only choose values ranging from 0 to 255.

adxmto is set by the parameter entered in the Misc. tab of the folder management.

adxmto is usually positioned by one of the "APL.ini" name processes that are launched when starting the application. It can nevertheless be modified at any moment. The new value must be greater than or equal to the number of open tables at the time of the assignment, otherwise the error TROFIC (29) will be generated.

Associated errors

Error

Description

TROFIC (29)

Too many open tables:

Associated keywords

ADXMSO - FILE - TRBEGIN - FOR