Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Finally got this thing working took awhile ...
- function r()
- -- tonumber IMPORTANT won't be a number without it TT
- r = tonumber(io.read())
- print(r)
- if r > 5 then
- y=7
- else
- y=3
- end
- end
- r()
- if (y > 1) and (y < 5) then
- print(y)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement