Slversion

From OpenEUO
Revision as of 15:24, 1 November 2010 by Ximan (Talk | contribs) (Created page with "== Calling Convention == Call local v = sl.slversion() Args none Results v is a real number == Usage Example == local sl = dofile(getinstalldir()..'/lib/simplelib.lua') loc...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Calling Convention

Call

local v = sl.slversion()

Args

none

Results

v is a real number

Usage Example

local sl = dofile(getinstalldir()..'/lib/simplelib.lua')
local v = sl.slversion()
if v > 0.01 then
  print('Barely adequate')
end
--> 'Barely adequate.'

Description

Returns the version number of the simplelib library. First public release was version 0.03.

See Also