Community Forum

Incorrect Return Values shown in 19 Documentation

Forum Overview >> Documentation

CategoryDocumentation
Created15.12.2018 06:07


Nolan Carl (nolangene) 15.12.2018 06:07
The Return Values and some text are wrong between the two Functions getNumOfConfigurationTypes (should return an integer) and getConfigurationTypes (should return a Table) please see clipped text below and the documentation listing under ConfigurationManager

getNumOfConfigurationTypes
Description
Returns number of configuration types
Definition
getNumOfConfigurationTypes()
Return Values
integer numOfConfigurationTypes number of configuration types
Code
function ConfigurationManager:getNumOfConfigurationTypes()
return table.getn(self.intToConfigurationName)
end
getConfigurationTypes
Description
Returns a table of the available configuration types
Definition
getConfigurationTypes()
Return Values
integer numOfConfigurationTypes number of configuration types
Code
function ConfigurationManager:getConfigurationTypes()
return self.intToConfigurationName
end

Jos Kuijpers - GIANTS Software 02.01.2019 16:19
Fixed, will be in next LUADOC update


Note: Log in to post. Create a new account here.