The task of programming an application that simulates the classification of the suras of the Holy Quran is no small feat. Judge for yourself.
At the very beginning of the project, the idea was to simulate only the first eight formulas, but then I stumbled upon a video on YouTube about the miracle of the golden ratio, and I decided to incorporate this formula (the ninth) into the project. And that’s when the problems started… In short, to overcome all the difficulties and identify all possible cases while providing users with an intuitive interface, it was necessary to resort to the services of:
- 166 procedures
- 55 functions
- Dozens of variables and constants of all kinds
All of this was used in a source code file that, according to the number provided by Delphi, contains no less than 29,000 lines filled with the following instructions: if, then, procedure, function, case, repeat, while…etc.
Once the listing was complete, all the procedures had to be tested manually and the results compared with those displayed by QURANMATH… and thank God: THE ACCOUNT IS CORRECT.
