The CDF_ATTRENAME procedure is used to rename an existing attribute in a Common Data Format file.

Examples


See the example for CDF_ATTPUT.

Syntax


CDF_ATTRENAME, Id, OldAttr, NewName

Arguments


Id

The CDF ID of the file containing the desired attribute, returned from a previous call to CDF_OPEN or CDF_CREATE.

OldAttr

A string containing the current name of the attribute or the attribute number to be renamed.

NewName

A string containing the new name for the attribute.

Keywords


None

Version History


Pre 4.0

Introduced