2 ms·
Very nice - I'll have to take a look at your COBOL when I've got some free time. My AOC code is also on GitHub: https://github.com/kimmeld/AOC2020 https://git
by Mister_Snuggles 6y ago
Very nice - I'll have to take a look at your COBOL when I've got some free time.
My AOC code is also on GitHub: https://github.com/kimmeld/AOC2020 https://github.com/kimmeld/AOC2020
There are two things to keep in mind here:
First, UniVerse BASIC isn't the old BASIC like you'd find on an Apple ][ or C-64, nor is it the QBasic you'd find in MS-DOS. It has its own unique features, such as dynamic arrays.
Second, I'm taking advantage of UniVerse features where they make sense. When I do this I document it since the code only has a portion of the solution. So far, I've done these for an alternate version of day 4 and for day 7. In particular, I used a UniVerse file in place of a hash table for day 7.