User:Jeblad/weird lua stuff

Something along the lines of is allowed&hellip;

An expression enclosed in parentheses always results in only one value. Thus, (f(x,y,z)) is always a single value, even if f returns several values. (The value of (f(x,y,z)) is the first value returned by f or nil if f does not return any values.)

Testing for unequalness, the usual != is insted done as ~=

Conversion routines are not applied for e1qualness testing so "0"==0 evaluates to false

If both arguments in a comparison is strings, then the result is locale dependent. This will possibly have consequences on servers with multiple sites, ie. multiple wikipedias on a single cluster or wikipedias on incubator.

The operators  and   use short cut evaluation.

Concat av string er med to prikker (..)

Tables can have separators both with comma and semikolon.

Entries for specific indices's are given as

can have multiple elements,  will have a single element

There is an implicit  when the function is called as