write_p2engine_file

This page is under construction and the function cannot be used in the current P2 Engine releases. Will appear soon in the next release of P2 Engine!

Write the project data to a P2Engine format (on file or on screen).

The filename has to be set as the argument of the function. When no argument is set, the data will be printed to the screen.

Parameters: 
I/O Type Name Description
input string filename Name of the output file (optional)

 

Example: 
function ()
        io.write('\n')
end
Class: 
P2Reader