Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Orbiter Lua Scripting
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Orbiter Lua Scripting Find support, share snippets and general discussion around using the Lua engine in Orbiter.

Reply
 
Thread Tools
Old 09-06-2019, 01:15 PM   #1
dmurley
Orbinaut
Default 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.
dmurley is offline   Reply With Quote
Old 09-06-2019, 01:25 PM   #2
martins
Orbiter Founder
Default

Quote:
Originally Posted by dmurley View Post
 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.
martins is offline   Reply With Quote
Thanked by:
Old 09-12-2019, 02:22 AM   #3
BEEP
Addon Developer
Default File reading and writing

There are several examples in my addons for your reference.
Have fun!
BEEP is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > Orbiter Lua Scripting


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 12:31 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.