Difference between revisions of "Talk:;"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
Other than the use at the end of a line it appears to be used in equasions too. But since there is no explination of what it means I came looking. Good luck if you were hoping to find out yourself. | Other than the use at the end of a line it appears to be used in equasions too. But since there is no explination of what it means I came looking. Good luck if you were hoping to find out yourself. {{unsigned|EddyFragment Robonaught|02:31, 15 April 2009}} | ||
:In the [[for]]-loop above, the ''';''' sign is used to end an empty line. The initializer in the for-loop can be omitted, however, the number of statements needs to equal 3. The loop could therefor also look like | |||
:<lsl> { | |||
for (i = 0; i < c; ++i) | |||
MENU1 += llGetInventoryName(INVENTORY_OBJECT, i); | |||
}</lsl> | |||
in case it's supposed to start with 0. [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 08:58, 15 April 2009 (UTC) |
Revision as of 00:58, 15 April 2009
Considering the amount of use this little symbol gets I am amazed that it has no description. I was looking to see what it meant in the following usage. I have pulled this bit out of one of the example scripts found whilst looking at dialogs.
{ for (; i < c; ++i) MENU1 += llGetInventoryName(INVENTORY_OBJECT, i); }
Other than the use at the end of a line it appears to be used in equasions too. But since there is no explination of what it means I came looking. Good luck if you were hoping to find out yourself. —The preceding unsigned comment was added on 02:31, 15 April 2009 by EddyFragment Robonaught
- In the for-loop above, the ; sign is used to end an empty line. The initializer in the for-loop can be omitted, however, the number of statements needs to equal 3. The loop could therefor also look like
- <lsl> {
for (i = 0; i < c; ++i) MENU1 += llGetInventoryName(INVENTORY_OBJECT, i); }</lsl>
in case it's supposed to start with 0. Lynch (talk|contribs) 08:58, 15 April 2009 (UTC)