• ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.

Question Output to file?

I am currently running some test routines and would like to send generated output to a file. Is it possible to do so? Thanks.

Lua supports file operations through the methods in the 'io' table. This is described in the Lua manual.
 
File reading and writing

There are several examples in my addons for your reference.
Have fun!
 
Back
Top