This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local function calculateGroups(format) | |
| local groups = {} | |
| local currentIndex = 1 | |
| local excess = 0 | |
| repeat | |
| local groupStart = currentIndex | |
| local groupWidth = excess |