HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Joker_vD | Hacker News Reader
Parent
Full thread
Joker_vD
·
So what does this "simple function" look like?
View on HN
caligian
·
function mod0(x, y) return (x % y) + 1 end
Something like this? You replace % with mod0()
Reply on news.ycombinator.com