Jump to content
The simFlight Network Forums

Lua programming


Recommended Posts

Just a quick question... in my quest to better understand and apply Lua, I can't find the documentation on some commands I see being used...examples:

if

while true

do

etc.

Is there a list or something? How do you know what to use and when/how to use it?

Link to comment
Share on other sites

Just a quick question... in my quest to better understand and apply Lua, I can't find the documentation on some commands I see being used...examples:

if

while true

do

etc.

Is there a list or something? How do you know what to use and when/how to use it?

They are part of the Lua language. My documentation is just for the functions added by the built-in libraries.I can't better the official documents and tutorials.

For information about Lua please follow the link to the main Lua website. There's a reference manual and lots of guidance on Lua programming there. There are also several good books on it.

Regards

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.