Node:add-comment, Next:sub-comment, Previous:sub-recipient, Up:Protocol Requests
add-comment [32] (( text-no : Text-No; comment-to : Text-No )) -> ( );
Add a comment link between the text comment-to
and the text
text-no
(text-no
becomes a comment to the text
comment-to
). This call is used to add comment links after a text
has been created. The normal procedure for creating comments is to add a
comm-to
element to the text's misc-info list when the text is
created (see The Misc-Info List).
Example:
1 26 1 =1 2 22 12 17 6 97 4 197 1 5 4 256 1 0 * 1 26 2 =1 49 49 18 17 6 97 4 197 1 5 1 52 1 2 { 0 2 6 1 } 1 32 2 1 =1 1 26 1 =1 2 22 12 17 6 97 4 197 1 5 4 256 1 1 { 3 2 } 1 26 2 =1 49 49 18 17 6 97 4 197 1 5 1 52 1 4 { 0 2 6 1 2 1 9 19 52 18 17 6 97 4 197 1 }
In this example, text number two is added as a comment to text number one. The change is reflected in the Misc-Info List of the texts.
login-first
index-out-of-range
text-no
and comment-to
are identical. The
error-status
is text-no
.
no-such-text
text-no
of comment-to
are undefined.
comment-limit
comment-to
already has the maximum number of comments.