Difference between revisions of "LSL Function Style"

From Second Life Wiki
Jump to navigation Jump to search
 
m
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=llFunction - Short function descriptor=
{{LSL Header|ml=*}} __NOTOC__
Propose a style for the LSL function articles by creating an article in the following form: <nowiki>[[{{FULLPAGENAME}}/Your Resident name]]</nowiki>


==Syntax:==
General discussion should be held in [[Talk:LSL Function Style]], whereas questions regarding a specific implementation should be held in the relevant article's talk page.
integer llFunction( key Parameter1, integer Parameter2, float Parameter3);


==Full Functional Description:==
== Requirements ==
This function performs this specific set of actions under these circumstances.
* Allows for accurate documentation
* Easy accessible to new and old scripters alike
* Details common problems with solutions


==Parameters:==
== Proposed Styles ==
* Parameter1 - This is a key parameter which expects to be passed a valid avatar key.
* Parameter2 - This is an integer parameter which indicates the number of widgets to process.
* Parameter3 - This is a float parameter used to describe the length of the stick used to whack bad formatters.


==Examples:==
=== Round 1 ===
  (code blocks)
* [[{{PAGENAME}}/Celierra Darling|Celierra Darling]]
* [[{{PAGENAME}}/Strife Onizuka|Strife Onizuka ''et al.'']]
* [[{{PAGENAME}}/SignpostMarv Martin|SignpostMarv Martin]]


==Caveats:==
=== Round 2 ===
* None known at this time.
* [[User:Strife_Onizuka/LSL_Style|Strife Onizuka]] - tentative submission

Latest revision as of 15:36, 24 October 2008