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

$EVENT

Input

OBJECT

Specifies the event for which a note is to be retrieved

$SEQNR

Input

INTEGER

Specifies the sequence number of the desired note

$TIME

Output

INTEGER

Time stamp of the note

$AUTHOR

Output

STRING

Author of the note

$TEXT

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

To determine the number of notes attached to an event, see ntcnt/2—count the notes attached to an event.

ntget/5 example

ntget($E,0,$TIME,$AUTHOR,$SLOT);
Was this page helpful? Yes No Submitting... Thank you

Comments