SHARE
TWEET

Simple Lua Code (Basic Subtraction and Division)

a guest Nov 8th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --script
  2. local a, b, c = 0, 0, 0
  3. local a1, a2 = a - b - c, a / b / c --Get it?, Because.. of my name..?, for get it.
  4.  
  5. print(a, b, c)
  6. a, b, c = 2, 4, 6
  7. a1, a2 = a - b - c, a / b / c
  8. print(a.." - "..b.." - "..c.." = "..a1)
  9. print(a.." / "..b.." / "..c.." = "..a2)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top