Any library function access begins from Lib. prefix declaration. 

Complete list of all top level sub libraries:



It's possible to use shorten variables for compact and faster access to any library object or function. For example:


Project = Lib.Project

local text = Project.getText("/folder/text.txt")  


or even shorter:


local getProjectText = Lib.Project.getText

getProjectText("/folder/text.txt")


Best practice is to make any library call as short as possible for better performance and less memory usage.


NOTE:

In LuaStudio print() and require() replaced to custom versions. Lua originals can be found in package['___luaprint'] and package['___luarequire'].

Created with the Personal Edition of HelpNDoc: Free Kindle producer