Skip to content

Repeat_item Command

Obsolete

This command is obsolete. It is valid only in character-mode DataFlex. There is no equivalent for this option in the current DataFlex Framework's classes.

See Also

Purpose

To duplicate an item a specified number of times.

Syntax

repeat_item
    count
    times
    item_syntax

What It Does

Items in objects whose base class is menu and that use the on_item command may be created en masse with the repeat_item command. The command generates the number of on_item commands specified by the value of count.

The command is provided as a convenience when creating a group of blank items or items having a common message and value (represented by item_syntax).

repeat_item may be used only in an item definition block begun by either item_list or the begin_pull_down option of the on_item command.