Difference between revisions of "User talk:Toady Nakamura"

From Second Life Wiki
Jump to navigation Jump to search
m (typo)
(→‎Debug error: new section)
Line 20: Line 20:
}
}
</lsl>
</lsl>
== Debug error ==
Um I am sorry if I am going about this the wrong way but from what I can tell this was the only way to talk on the wiki and I had a question about the LSL 101 Logic page, the example script in particular, I copied it(sort of, I actually typed it out because of the note at the bottom) in the LSLEditor community edition and ran the debug... thing, and got the error "Field 'n' is never assigned to, and will always have its default value"
I was wondering if this was an actual issue, and I wonder this because I have no actual coding knowledge. I apologize profusely if I have the wrong person or posted this where I shouldn't have. If you would like to see how it came out exactly I will of course provide what I wrote.
--[[User:Rohise Resident|Rohise Resident]] 22:56, 9 October 2012 (PDT)

Revision as of 22:56, 9 October 2012

Leave me a message !!! Toady Nakamura 23:44, 5 July 2012 (PDT)

<lsl> //Counts down from 5 to 1, then can do something else default {

   state_entry()
   {
       integer count = 5;
       while (count)
       {
           llSleep(1.0);// wait a sec
           llSay(PUBLIC_CHANNEL, (string)count); // PUBLIC_CHANNEL has the integer value 0

           --index;
       }

       llWhisper(0,"I am done counting now.");
   }

} </lsl>

Debug error

Um I am sorry if I am going about this the wrong way but from what I can tell this was the only way to talk on the wiki and I had a question about the LSL 101 Logic page, the example script in particular, I copied it(sort of, I actually typed it out because of the note at the bottom) in the LSLEditor community edition and ran the debug... thing, and got the error "Field 'n' is never assigned to, and will always have its default value"

I was wondering if this was an actual issue, and I wonder this because I have no actual coding knowledge. I apologize profusely if I have the wrong person or posted this where I shouldn't have. If you would like to see how it came out exactly I will of course provide what I wrote.

--Rohise Resident 22:56, 9 October 2012 (PDT)