Tom Schneider wrote:
Well, at least the 3rd mechanism is specified in the Extended Pascal standard (ISO 10206), while your way (derving the file name from the variable name) is not standardized and therefore also compiler dependent...
Hmm. Deriving the name from the variable with no changes would seem to me to be pretty simple, whether or not it is standard.
Especially the 2nd mechanism is also pretty simple - such that multiple compiler vendors had the same idea of introducing this extension. However it's an extension.
Deriving the name from the variable makes Pascal case-sensitive and does not allow for arbitrary file names so I really wonder that there is more than one compiler doing this. And of course, it's also an extension.
Anyway: Let's introduce this as a compatibility option (with lowercase file names), so we'll all be happy. ;-)
Peter