ADRUID ADVANCED
SECTION
List component
A List component is a graphical component which displays a multi-column list
of text fields. (screenshot)
BEGIN COMPONENT
TITLE: Mime types
BEGIN LIST
LABEL: MIME type
ID: %arg1
LABEL: Extension
ID: %arg2
END LIST
BEGIN GENERATE mime.types
%arg1 %arg2
END GENERATE
END COMPONENT
A list component is characterized by a BEGIN LIST /END LIST section. It contains a list of LABEL /ID which
indicates respectively the name of a column and its ID (used to identify
the fields for the generation part).
Then a GENERATE section indicates what to generate and in which
file this information should be generated (BEGIN GENERATE YourFileName )
This section will be generated for each line in the list component.
|