List

#### Search Results

Search

# List

Subprogram Name | Source Name | Executable Example | Viewable Example
--- | --- | --- | ---
H3-OPEN-LIST H3-LIST-ITEM H3-CLOSE-LIST | H3OLIST H3LISTI H3CLIST | E3LIST | E3LIST

> Description

>   Creates various types of lists. Possible types are:

>   - unordered list,

>   - ordered list,

>   - menu-item list and

>   - directory list.

>   Cascading lists of up to 10 levels are supported. It is also possible to close more than one level at once.

> Changes from previous versions

>   All (A250) BY VALUE variables at the interfaces have been changed to (A) DYNAMIC BY VALUE.

>   There is no need to recatalog the programs, because the old interface (A250) is compatible with the new one.

> Appearance

>   1. H3-OPEN-LIST

>      `<DIR>` or
>      `<MENU>` or
>      `<OL>` or
>      `<UL>`

>   2. H3-LIST-ITEM

>      `<LI>`

>   3. H3-CLOSE-LIST

>      `</DIR>` or
>      `</MENU>` or
>      `</OL>` or
>      `</UL>`

> Supported Attributes

>   `TYPE=disc|square|circle TYPE=1|a|A|i|I`

> Parameters

>   1. H3-OPEN-LIST

>          1 H3TYPE   (A1) /* i /m: Set list as:
>          *               /*       'O' ordered list
>          *               /*       'U' unordered list
>          *               /*       'D' directory list
>          *               /*       'M' menu list
>          1 H3BULLET (A1) /* i /m: Type of list if ordered list:
>          *               /*       '1' Arabic numbers (default) (1, 2, 3, ...)
>          *               /*       'a' Alphanumeric, lowercase (a, b, c, ...)
>          *               /*       'A' Alphanumeric, uppercase (A, B, C, ...)
>          *               /*       'i' Roman numbers, lowercase (i, ii, iii, ...)
>          *               /*       'I' Roman numbers, uppercase (I, II, III, ...)
>          *               /* i /m: Type of bullet if unordered list:
>          *               /*       'D' Disc
>          *               /*       'S' Square
>          *               /*       'C' Circle

>   2. H3-LIST-ITEM

>          1 H3VALUE (A) DYNAMIC /* i /m: Item text

>   3. H3-CLOSE-LIST

>          1 H3LEVEL (N2)        /* i /m: Levels to be closed

> How To Invoke

>       PERFORM H3-OPEN-LIST H3TYPE H3BULLET
>       PERFORM H3-LIST-ITEM H3VALUE
>       PERFORM H3-CLOSE-LIST H3LEVEL