Jump to content

Learning Lua


Recommended Posts

Lua and Squirrel are quite similar. Like Squirrel, Lua is dynamically typed, and even local variables are defined in the same way (keyword 'local'). Also, I'm not sure, but tables look exactly the same to me. Block syntax is different (Squirrel uses C-like syntax, so it has { and }, while Lua uses words, such as 'then' and 'end'). In addition, Lua doesn't have classes, though you can use metatables to make tables work like classes. So if you know Squirrel, Lua should be easy to learn.

As for Pawn, it's harder than Lua since you have to care about data types and some other low-level stuff.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...