Routines (alphabetical) > Routines: H > HDF5 Routines > H5G_SET_COMMENT

# H5G_SET_COMMENT

The H5G_SET_COMMENT procedure sets a comment for a specified object.

## Example

See the example under H5F_CREATE.

## Syntax

H5G_SET_COMMENT, Loc_id, Name, Comment

## Arguments

### Loc_id

An integer giving the file or group identifier containing the object.

### Name

Name of the object within Loc_id whose comment is to be set or reset.

### Comment

New comment for the object.

## Keywords

None

## Version History

6.2 | Introduced

## See Also

H5G_CREATE