LSL Wiki Mirror 7-7-7 : NamingConventions

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
LSL uses names of the form "llAction" where the prefix "ll" stands for "Linden Lab" and is used to denote a Linden-made function.

In LSL scripts, Catherine recommends naming global variables with the prefix "g" as in "gVariableA". Some scripters prefer to also specify the type in the variable itself, as in "vector gvVariableA = <23,39,0>;" or "float gfVariableA = 31.9;" This is a matter of personal preference and can be useful for keeping those "Type Mismatch" errors down.

The LSL Wiki Mirror 7-7-7 uses the name of a function call, handler, or constant for WikiNames.


StyleGuide / Tutorial / Examples
There are 3 comments on this page. [Display comments/form]