Every time I look at some more expert code online, I see things like %s and %d on some lines, especially in dialogs, but I have no idea what it is. I have googled terms, and I can not find the answer and whether it is Delphi-bound or something common for each programming language.
I saw a message related to C saying that it is used to "convert variables at run time", how many arguments can we specify on one line, if so?
Usage example:
ShowMessageFmt('Day %d = %s',[i,Days[i]]);
found in Delphi Basics .
delphi
Jacques Koekemoer
source share