Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Creator: Bolodefchoco
- --Made in: 08/12/2016
- --Last update: 08/12/2016
- --[[ Notes:
- Does:
- Cria uma tabuada
- Args:
- s --> Início da tabuada
- mmin --> Valor inicial para multiplicação
- e --> Fim da tabuada
- mmax --> Valor final para a multiplicação
- ]]--
- math.mtable = function(s,mmin,e,mmax)
- local m = {}
- e = e and e or s
- mmax = mmax and mmax or mmin
- for i = s,e do
- m[i] = {}
- for j = mmin,mmax do
- m[i][j] = i * j
- end
- end
- return m
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement