create

create


cp Index Level create-abs
Syntax create file.reference attr.name {attr.name...}
Category TCL
Type Verb
Description is a simplified method of creating a file with a set of attribute-defining items from the TCL command line.

"create" automatically generates the dictionary items and then immediately invokes the Update processor to allow data entry into the newly-created file.

The "create" program is "smart" enough to watch for certain keywords in the command line and to insert the appropriate processing codes in the "conversion" attributes. For instance, if it detects the string "date" as one of the "attr.names", it inserts a "d2/" as the output-conversion of the corresponding attribute-defining item.

It also searches for keywords such as "zip", "zc" and "csz" and inserts the "zc" processing code; "phone" inserts a generic telephone mask. All fields are automatically indexed.
Options
See Also attr.name
Example create players name phone birthdate specialty
players NEW ITEM
name
phone
birthdate
specialty
Warnings
Compatibility D3 7.0 AP
cp Index Level create-abs