ParentFull threadcaligian·function mod0(x, y) return (x % y) + 1 endSomething like this? You replace % with mod0()View on HN