Difference between revisions of "Slversion"
From OpenEUO
m (→See Also) |
m (→Usage Example) |
||
| Line 14: | Line 14: | ||
end | end | ||
| − | --> | + | --> Barely adequate. |
== Description == | == Description == | ||
Revision as of 16:48, 2 November 2010
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.