| View previous topic :: View next topic |
| Author |
Message |
Longshot
Joined: 18 Jan 2007 Posts: 1 Location: Australia
|
Posted: Thu Jan 18, 2007 2:08 pm Post subject: Is there a function to return the PSPLua version |
|
|
Because new functions are added to each version of PSPLua, (and there are a few incompatabilities between Lua V20 and ealier versions) it would be good to have a function which returns the current Lua version.
Perhaps there is one, and Ive missed it. Or is there a work-around? |
|
| Back to top |
|
 |
TacticalPenguin
Joined: 24 Jan 2007 Posts: 1
|
Posted: Wed Jan 24, 2007 3:31 pm Post subject: |
|
|
To check if the functions you need are supported do something like:
if functionyouneedinordertorunyourprogram() == nil then
print("You need to update your luaplayer!")
end |
|
| Back to top |
|
 |
|