Lua Study Notes 10: lua simple command line, lua Study Notes

Source: Internet
Author: User

Lua Study Notes 10: lua simple command line, lua Study Notes

The command line has been used many times before. This time, you can easily learn the command line:

1 format

Lua [options] [script] [args]

2. Specific commands

-E directly uploads the command to lua

-L load a file

-I: Enter the interaction mode.

For example, terminal input:

Lua-e "print (math. sin (12 ))"


To learn the basics required by lua, I will use vb and simple c #. You can directly learn lua video tutorials (not e-books)

A little programming experience.
However, because lua is implemented in C, understanding C will help.

Book.luaer.cn

Now I want to learn about Lua, the basic learning method, and the tutorial. It is best to have a video with your help. You can write a simple game.

Learning programming is not about software applications or videos.
You can download a luaforwindows
After installation, there is a demo program in the root directory, which can be followed by the demo program. The main thing is to have a general understanding of the features of the lua language.
Of course, if you want to master a language, it will not be half a year or a year.
To learn programming, you must be diligent in asking questions during the learning process. You can post them again.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.