const char* GetNodeComment_bn ( const node_bn*  node )

Returns a C character string which contains the comment associated with node, or the empty string (rather than NULL) if node does not have a comment.

The comment may contain anything, but see SetNodeComment_bn for what it's meant to contain.

There is no restriction on the length of the comment, or on what characters it might contain.

If you need the string to persist, make a copy of the string returned, since its contents may become invalid after further calls to Netica API. Do not try to directly modify or free the string returned.

Version:

This function is available in all versions.

See also:

SetNodeComment_bn    Sets it
GetNetComment_bn    Get the comment for a whole net