Difference between revisions of "NAK"

From Second Life Wiki
Jump to navigation Jump to search
(should maybe finally have something in this page)
 
(No difference)

Latest revision as of 13:48, 21 May 2024

Description

Constant: string NAK = "\n"+llChar(21)+"\n";

The string constant NAK has the value "\n"+llChar(21)+"\n"

NAK is a value returned by the llGetNotecardLineSync function when the requested notecard data is not available due to the notecard not being in the region notecard cache. The value returned equals the characters with codes "10, 21, 10", which is to say the ASCII "NAK" character surrounded by two newline characters.

If the NAK response is encountered, the card can be fetched into the region notecard cache by using the llGetNotecardLine or llGetNumberOfNotecardLines functions. If the notecard doesn't exist at all, further llGetNotecardLineSync calls will continue returning NAK.

Caveats


Related Articles

Functions

•  llGetNotecardLineSync

Notes

NAK is an acronym that stands for "Negative AcKnownledgement".

Deep Notes

Search JIRA for related Issues

Signature

string NAK = "\n"+llChar(21)+"\n";//An ASCII "NAK" character (21) surrounded by two newline characters (10).