Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What Does the * Represent in Lua?

Asked by 8 years ago

This may be a bad question, but I have seen it in many scripts and do not know what it represents. As it is seemingly important, what does it mean? Thanks!

2 answers

Log in to vote
2
Answered by 8 years ago

Hi! A * in lua coding represents multiplication. If you said print(6 * 5), it would print 30. Hope this helps!

Ad
Log in to vote
0
Answered by 8 years ago

Yep, the * sign represents Multiplication. You can use * in functions such as print(10*5), and this would print '50' in the output window.

Answer this question