DiskStream.saveToFile()

   
Type function
Library wattageTileEngine.ObjectSystem.DiskStream.*
Return value VOID
Keywords  
See also  

Overview

This function persists an object graph to a file.

Syntax

DiskStream.saveToFile( topLevelObject, fileName )
topLevelObject (required)

Object. The top level object of the object graph.

fileName (required)

String. The name of the file to save to.

Examples

Please see the example in the Usage Guide.