LOOPVIEW

Syntax: #LOOPVIEW [view] {Commands}

Loops through the records in the current view and executes the commands. If View is present, it is a string list whose first item is the name of the View to query. The option second item of the list is the name of the Database to query.

LOOPVIEW Example

#LOOPVIEW {#SHOW &Name}

Loops through the current view and displays the Name of each record

#LOOPVIEW Weapons {#SHOW &Name,&Hit,&Dam}

Loops through the records in the Weapons view and displays the Name, Hit, and Dam fields



Contents LOOPDB MAKEROOM