getValues
The getValues
method returns multiple values for a parameter (for example, a comma-separated list or numbered list like keyN).
Syntax
getValues( section, parameter )
Arguments
Argument | Description |
---|---|
section
|
(string) The section in the configuration file. |
parameter
|
(string) The parameter to find in the configuration file. |
Returns
(Strings). The strings can be assigned to a table. To map the return values to a table, surround the function call with braces. For example:
values = { config:getValues( section, parameter ) }