CREATE-LIST

Function

Creates a named list.

Syntax

CREATE-LIST
NAME=list_name_txt_lit|_var|_col
LIST=(value_lit|var|_col|(r,g,b)...)

Arguments

NAME

Name of the list.

LIST

Values included in the list.

Description

This command creates named lists of items. This command may be used anywhere within an Production Reporting program and will override a previously declared named list. The list and internal copies of the variables placed into the structure used to maintain the list are established at run-time. Updates to the elements used to define the list do not change the contents of the list after the list has been established. To add an item to a list, reenter the complete list.

Examples

begin-report
create-list   name='linestyle'
  list=('solid','longdash','dot')
end-report