Build

Takes a variable number of parameters

Description:

Note: Unlike most other statements in MOX, because of the dynamic number of other items you must specify a blank FieldBase and a blank IfLenFld when they are not needed and they are not otherwise set by the commands WorkWith and WorkIf.

The contents of each Item are appended to each other and placed into Destination. For the best efficiency, use between 3 and 9 items per statement.

Usage:

FieldBase, Destination, Item1, Item2, [...other items...], IfLenFld
[WorkWith], Destination, Item1, Item2, [...other items...], IfLenFld
FieldBase, Destination, Item1, Item2, [...other items...], [WorkIf]
[WorkWith], Destination, Item1, Item2, [...other items...], [WorkIf]

Examples:

Simple

Build "MemTab.Person.", "Fullname", "Firstname", "` ", "Lastname", ""

Realistic

WorkWith        "ToDo.Item"
Build "Name", "<a href='?Item.Edit=", "Alias", "'>", "Name", "</a>", "Alias"
NewFields "Delete"
Build "Delete", ((NbSp$ 4) & "<a href='?Item.Del=", "Alias", "'><? i remove ?</a>", "Alias"
End WorkWith