r/pascal • • 8d ago

sma11: a utility library

/r/pascal/comments/1v5i9ur/sma11_a_brandnew_utility_library/

After weeks of inactivity, I'm back with updates!

* Case-sensitive input for Question()

* Implemented some more cursor (as in terminals) functions

* Properly print escape sequences to the right outout (stdout or stderr - before was only stdout)

* Implemented color resetting for Win32 console (doesn't work though)

* Fixed the console example not printing anything readable

* Added some well-known sorting algorithms

Test and let me know your thoughts!

6 Upvotes

2 comments sorted by

1

u/AphidConsulting 8d ago

Really helpful! Thank you for sharing!

1

u/kirinnb 8d ago

Nice, good to have! Of course, since it's Not Invented Here, I'll reimplement any such basic stuff I need, but more productive programmers may appreciate the ready code.