Dump.LUAtable
Appearance
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | dump.LUAtable | |
| Function Description: | Wraps CMM.dump.LUATable to provide a convenient interface for dumping a table to a file, forwarding all parameters and logic to the underlying CMM.dump.LUATable function. | |
| File Location: | cmm.tools.lua | |
| Syntax: | CMM.dump.LUAtable( table TBL , string FullPath ) | |
| Return Value: | nil | |
| Parameters: | Name | Description |
| TBL | Table to be serialized and written to a file. Must be a valid table structure. | |
| FullPath | Full file path where the Lua table will be saved. If invalid or missing, defaults to CMM.dump.Directory. | |
| Example: | CMM.dump.LUAtable(CMM, "C:\test123\file.lua") | |
| Example Description: | Demonstrates calling CMM.dump.LUATable with the CMM table to save it as a Lua file at C:\test123\file.lua, leveraging the same validation and directory handling as the original function. | |
| Related Functions: | ||
| Notes: | ||