The common blocks used in ADAM application programs to hold information read from the Interface Module and required by the parameter system, impose certain limits on the size and number of parameters names, defaults and constraints etc. Further constraints are imposed by workspace requirements for the Interface File parsing system.
Current values for important limits are published here, together with the symbolic names used for the constants where appropriate.
Parameter names | 15 | SUBPAR__NAMELEN |
Parameter keywords | 15 | SUBPAR__NAMELEN |
Action and program names | 15 | SUBPAR__NAMELEN |
Action keywords | 15 | SUBPAR__NAMELEN |
Menu names | 15 | SUBPAR__NAMELEN |
Monolith names | 80 |
Length of parameter value string | 132 |
Length of PROMPT string | 80 |
Length of HELP string | 132 |
Length of HELPKEY string | 132 |
Length of action HELP string | 132 |
Number of parameters | 1500 | SUBPAR__MAXPAR |
Number of actions | 300 | SUBPAR__MAXACT |
Number of menus | 300 | SUBPAR__MAXACT |
Number of command line parameters | 50 |
Size of NEEDS storage | 300 | SUBPAR__MAXNEEDS |
Size of storage for constraints/defaults | 500 | SUBPAR__MAXLIMS |
Note: There are SUBPAR__MAXLIMS positions of each type available for constraints/default storage. One position of the relevant type is used for every value given in IN, RANGE and DEFAULT fields or specified as a dynamic default by the program.
Length of line (characters) | 132 | PARSE__BUFSIZ |
Length of token (characters) | 132 | PARSE__BUFSIZ |
Number of tokens on a line | 32 |