Difference between revisions of "Slversion"
From OpenEUO
					
										
					
					| m (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...") | m (→Usage Example) | ||
| (2 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
| == Usage Example == | == Usage Example == | ||
| − |   local sl = dofile(getinstalldir()..' | + |   local sl = dofile(getinstalldir()..'lib/simplelib.lua') | 
|   local v = sl.slversion() |   local v = sl.slversion() | ||
|   if v > 0.01 then |   if v > 0.01 then | ||
| Line 14: | Line 14: | ||
|   end |   end | ||
| − |   -->  | + |   --> Barely adequate. | 
| == Description == | == Description == | ||
| Line 21: | Line 21: | ||
| == See Also == | == See Also == | ||
| + | |||
| + | * [http://www.easyuo.com/openeuo/wiki/index.php/Simplelib simplelib] | ||
| * [[slimport]] | * [[slimport]] | ||
Latest revision as of 12:19, 24 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.
