Appendix A: Maximums

Maximum Values Permitted by Toolkit

Item

Maximum

Box name (size in bytes)

30

Button name (size in bytes)

30

Caption text on Windows (size in bytes)

78

Channels

255

Composite container window, children associated with

2047

Environment levels (set by U_START, which has a default of 16)

32

Field name (size in bytes)

30

File stack (set by FS_INIT, which has a default of 16,384)

114,688

Footer lines

4

Format string (size in bytes)

80

General window name (size in bytes)

15

Header lines

4

Input field display length (size in bytes)

65,535

Input field help identifier (size in bytes)

80

Input field information string (size in bytes)

80

Input field input length (size in bytes)

65,535

Input field name (size in bytes)

30

Input field prompt (size in bytes)

80

Input field user text string (size in bytes)

80

Input field view length (size in bytes)

9,999

Input field, alpha and multi-dimensional (size in bytes)

65,535

Input field, decimal (size in bytes)

28 for decimal, including implied decimal (for implied decimal, up to 28 can follow the decimal point)

Input field, integer (size in bytes)

1, 2, 4, or 8

Input set name (size in bytes)

30

Input set, fields in

253

Input structure name (size in bytes)

30

Input structure, elements in

507

Input window name (size in bytes)

15

Input window, buttons in

127

Input window, Fields in

253

Input window, input sets in

25

Input window, total characters (and associated data) for all field names

2550

Line name (size in bytes)

30

List “find” window name (size in bytes)

15

List class name (size in bytes)

15

List, data argument associated with (size in bytes)

3,999

List, header/footer line length

32,767

List, user data associated with (size in bytes)

65,535

Loaded windows and lists (note that each list includes multiple windows)

1,024

Menu column name (size in bytes)

15

Menu columns, number placed (primary)

9

Menu columns, memory available for (in bytes)

65,535

Menu entries per menu column

20

Menu entry name (size in bytes)

10

Menu entry, user-defined text string associated with (size in bytes)

80

Menu list name (size in bytes)

10

Method name (size in bytes)

30

Rendition scheme name (size in bytes)

30

Repository structure alias name (size in bytes)

30

Scroll bar window name (size in bytes)

15

Selection list defined by S_SELBLD or .SELECT, entries in

32,767

Selection list defined by the SELECT qualifier for .FIELD, entries in

99

Selection window name (size in bytes)

15

Structure (size in bytes)

9,999

Tab set window name (size in bytes)

15

Tabs in a tab set

24

Text messages (size in bytes)

200

Text object name (size in bytes)

30

Toolbars

256

Toolbars placed

4 (1 per side)

U_ABORT message line, characters in (UNIX, OpenVMS)

70

U_ABORT message, characters in (Windows)

1,920

U_ABOUT information line, characters in

76

U_DIALOG dialog box, lines in

12

U_MESSAGE message line, characters in

76

U_MESSAGE window, lines in (on UNIX and OpenVMS; no limit on Windows)

5

U_OPEN, filenames used with (number of characters)

256

Window, max height

32,767

Window, max width

32,767

Window library, text entry in (size in bytes)

15

Window script, physical line in (size in bytes)

255