Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Ewalk02 on November 03, 2017, 08:11:35 AM

Title: Lua Basics Tutorial
Post by: Ewalk02 on November 03, 2017, 08:11:35 AM
Is there a Lua Scripting 101 for Dummies out there?  I've done plenty of coding but never in Lua so I'd like to see some sort of language reference list or something.  Ultimately I'm trying to figure out how to use generic inputs and I would like to make it where if my spindle is running flood coolant is always on.  Thanks! 
Title: Re: Lua Basics Tutorial
Post by: joeaverage on November 03, 2017, 09:46:23 AM
Hi,
I find this very helpful:
https://www.lua.org/pil/contents.html (https://www.lua.org/pil/contents.html)
Lua itself is pretty easy however when you add the many hundreds of Mach API calls, wxWidget calls and Machs modular structure it becomes complex.

Craig