|
|
|
|
|
by Akira1364
2323 days ago
|
|
You use "array of const" to write the equivalent of a regular C variadic function in modern Pascal implementations such as Delphi and Free Pascal: https://www.freepascal.org/docs-html/ref/refsu69.html That said, as far as at least Free Pascal goes, there isn't actually even a specific function called `writeln` with a real body that you can go and look at somewhere. It's a magic language-level intrinsic that gets broken down into calls to various other intrinsics by the compiler based on what's passed to it. |
|