You are writing a core application or a basic utility and you want it to take parameters like myutility.exe verbose import=entry.log export=output.csv to indicate verbosity in the messages, also the file that will be read and finally, the file that will be generated after processing, but the question is: how to correctly detect them within the program? There are many different methods, I will demonstrate the way I use it over time which is simple and maintenance free. The example is for Delphi and Lazarus.
Read more in the following article: