• ORBITER-FORUM will be temporarily closed at 2020-09-23 08: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?

martins

Orbiter Founder
Orbiter Founder
Joined
Mar 31, 2008
Messages
2,352
Reaction score
8
Points
0
Website
orbit.medphys.ucl.ac.uk
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.
 

BEEP

Addon Developer
Addon Developer
Joined
Apr 5, 2008
Messages
149
Reaction score
7
Points
18
File reading and writing

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