ntget/5—return the time stamp, author, and text of a note attached to an event
The ntget/5
function returns the time stamp, author, and text of a note attached to an event. The syntax for this function is as follows:
ntget($EVENT,$SEQNR,$TIME,$AUTHOR,$TEXT)
ntget/5 arguments
Argument | Mode | Type | Description |
---|---|---|---|
| Input | OBJECT | Specifies the event for which a note is to be retrieved |
| Input | INTEGER | Specifies the sequence number of the desired note |
| Output | INTEGER | Time stamp of the note |
| Output | STRING | Author of the note |
| Output | STRING | Text of the note |
Use the ntget/5
to obtain the note at the $SEQNR
position that is attached to event $EVENT
. The time stamp is returned in $TIME
, the author is returned in $AUTHOR,
and the text of the note is returned in $TEXT
.
Notes are numbered, starting from 1 for the oldest note. The most recent note can be obtained by specifying 0 as sequence number $SEQNR
ntget/5 example
ntget($E,0,$TIME,$AUTHOR,$SLOT);
Comments
Log in or register to comment.