The "array_write" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | array | The index of a previously-created array to encode as a string |
[pretty] | boolean | Optional: Enables or disables formatting the string with linebreaks and indentation |
#
DescriptionConverts an array of any dimensions to a string, optionally with "pretty-print" to separate values by line with proper indenting.
Note that all array contents will be treated as strings. If the array contains pointers to other types of data, the pointer will be written literally rather than writing the contents of the data itself. The exception to this rule is sub-arrays and structs, which will be preserved.