ntset/3—modify the text of a note attached to an event
The ntset/3 function modifies the text of a note attached to an event. The syntax for this function is as follows:
ntset($EVENT,$SEQNR,$TEXT)
ntset/3 arguments
Argument | Mode | Type | Description |
---|---|---|---|
$EVENT | Input | OBJECT | Specifies the event for which the note text is to be modified |
$SEQNR | Input | INTEGER | Specifies the sequence number of the desired note |
$TEXT | Input | STRING | Specifies the new text of the note |
Use the ntset/3 function to replace the text of the note in the $SEQNR position with the text $TEXT for the event $EVENT.
Notes are numbered, starting from 1 for the oldest note. The most recent note can be obtained by indicating 0 as sequence number.
ntset/3 example
ntset($E,0,'New explanation');
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*