Difference between revisions of "Talk:LlGetNotecardLine"

From Second Life Wiki
Jump to navigation Jump to search
Line 7: Line 7:


Eg. llGetNumberOfNotecardLines() returns 6. Thus with line 0 being the first line , line 5 should be the last but this is not the case. Line 6 is the correct index for the last line. ???? -- '''[[User:EddyFragment Robonaught|Eddy]]''' 16:54, 24 May 2009 (UTC)
Eg. llGetNumberOfNotecardLines() returns 6. Thus with line 0 being the first line , line 5 should be the last but this is not the case. Line 6 is the correct index for the last line. ???? -- '''[[User:EddyFragment Robonaught|Eddy]]''' 16:54, 24 May 2009 (UTC)
So if you had a notecard...
<pre>1
2
3
4
5
6</pre>
What is the value of associated with llGetNumberOfNotecardLines(notecard, 6)? Is the value "6" or [[EOF]]? -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 17:40, 24 May 2009 (UTC)

Revision as of 09:40, 24 May 2009

Check validity of: "If the return is a NULL_KEY then notecard could not be found in inventory???". Check what happens if permissions are not present.

I've checked it and it never return a NULL_KEY. Strife Onizuka 21:29, 16 April 2007 (PDT)

Does not support negative indexes

But....The first line is index "0" and strangely the last line is numbered as if the first line was "1".

Eg. llGetNumberOfNotecardLines() returns 6. Thus with line 0 being the first line , line 5 should be the last but this is not the case. Line 6 is the correct index for the last line. ???? -- Eddy 16:54, 24 May 2009 (UTC)

So if you had a notecard...

1
2
3
4
5
6

What is the value of associated with llGetNumberOfNotecardLines(notecard, 6)? Is the value "6" or EOF? -- Strife (talk|contribs) 17:40, 24 May 2009 (UTC)