GetPersistentDataTable
This function was added in DSL 4
Description
Returns a persistent data table for the current collection.
This table is preserved after DSL is reset, and is tied to the name of the current collection.
function GetPersistentDataTable() --[[ ... ]] end
Parameters
None.
Return Values
persistentDataTable
:table
- A table that can be used to store persistent data for the current collection. This table is automatically saved and loaded by DSL.
Example
function main()
local persistentData = GetPersistentDataTable()
persistentData.someValue = 42
end