News for hackers. Stuff that matters.
Re:Why Pascal Is Not My Favorite Programming Language (1981)... by Akira1364 on Monday February 03, 2020 @09:23AM (#22224320)
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.

There are no comments on this comment yet.