Name_item Command
Obsolete
This command is obsolete. It is valid only in character-mode DataFlex. There is no Windows equivalent for this option.
Purpose
To permit naming of object items beyond the 250-character capacity of a command line.
Syntax
name_item
symbolicName [[
item
] #] itemName [... itemName]
- symbolicName: The name for the object whose items are to be named, as defined in a preceding
name_objectcommand. - item: Optional.
#is the optional item number to begin naming with. If#is omitted, naming begins with the first item not yet named in a precedingname_objectorname_itemcommand. - itemName: Must be unique in the list for the object.
What It Does
name_item is intended for use immediately after a name_object command in which the 250-character command line capacity is insufficient for naming all items.
name_object myObject child anObject x y z
name_item myObject a b c
In this example, the name_object command assigns x, y, and z respectively as the names of the first three items of object anObject. The succeeding name_item command names the fourth through sixth items of anObject (through its symbolic name, myObject) as a, b, and c, respectively.
Where more properties and/or child objects are to be named in an object than can be named in the 250-character capacity of a single name_object command, additional name_object commands may be used for the additional properties and/or child objects. If name_object item is repeated for a given object, however, item renaming restarts with the first item, in contrast to name_item, which by default starts with the first item not yet named.