Unofficial LSL Reference

[[wiki:macros]]


Unofficial LSL reference

User Tools

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

Forgotten your password? Get a new one: Set new password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:macros [2018-10-11 03:40 SLT]
sei Add abbreviation titles to LSO, Mono, and NaN
wiki:macros [2019-05-10 08:30 SLT] (current)
sei Change function categories to admit 2nd param
Line 16: Line 16:
 {{$kw=''​**@0**''​$}}{{##​ keyword ##}} {{$kw=''​**@0**''​$}}{{##​ keyword ##}}
 {{$lkw=''​**[[/​language/​@0]]**''​$}}{{##​ keyword with link ##}} {{$lkw=''​**[[/​language/​@0]]**''​$}}{{##​ keyword with link ##}}
 +{{$lla=[[/​language/​@0]]$}}
 {{$cc=**@0**$}}{{##​ constant category ##}} {{$cc=**@0**$}}{{##​ constant category ##}}
 {{$lcc=[[/​constants/​@0/​]]$}}{{##​ constant category with link ##}} {{$lcc=[[/​constants/​@0/​]]$}}{{##​ constant category with link ##}}
 {{$fc=**@0**$}}{{##​ function category ##}} {{$fc=**@0**$}}{{##​ function category ##}}
-{{$lfc=[[/​functions/​@0/​]]$}}{{##​ function category with link ##}}+{{$lfc=$??[@1|[[/​functions/​@0`|@1`]`]|//​[[/​functions/​@0`]`]//]$}}{{## function category with link ##}}
 {{$ec=**@0**$}}{{##​ event category ##}} {{$ec=**@0**$}}{{##​ event category ##}}
 {{$lec=[[/​events/​@0/​]]$}}{{##​ event category with link ##}} {{$lec=[[/​events/​@0/​]]$}}{{##​ event category with link ##}}
Line 26: Line 27:
 {{$lart=$??​[@1|[[/​articles/​@0`|@1`]`]|[[/​articles/​@0`]`]]$}}{{##​ article with link ##}} {{$lart=$??​[@1|[[/​articles/​@0`|@1`]`]|[[/​articles/​@0`]`]]$}}{{##​ article with link ##}}
 {{$prm=''​@0''​$}}{{##​ parameter citation within function ##}} {{$prm=''​@0''​$}}{{##​ parameter citation within function ##}}
-{{$pinf=**Infinity**$}} {{$inf=$pinf$}} {{$minf=**-Infinity**$}} {{$nan=<​html><​b><​abbr title="​NaN stands for Not a Number. It's a special value that floats can take.">​NaN</​abbr></​b></​html>​$}} {{$econst=**e**$}}+{{$pinf=**Infinity**$}} {{$inf=$pinf$}} {{$minf=**-Infinity**$}} {{$nan=<​html><​b><​abbr title="​NaN stands for Not a Number. It's a special value that floats can take, returned as the result of certain invalid operations.">​NaN</​abbr></​b></​html>​$}} {{$econst=**e**$}} 
 +{{$err=<​color maroon>​**@0**</​color>​$}}{{##​ error message ##}}
 {{$delay=Sleeps the script for @0 seconds.$}} {{$delay=Sleeps the script for @0 seconds.$}}
 {{$colorparam=A LSL color $lty[vector] (3 comma-separated RGB values in the range 0.0 to 1.0, between angle brackets)$}} {{$colorparam=A LSL color $lty[vector] (3 comma-separated RGB values in the range 0.0 to 1.0, between angle brackets)$}}