Adriaan van Os wrote:
[G4:~/gnu/testgpc/adriaan] adriaan% cat unita.pas unit A; interface end.
[G4:~/gnu/testgpc/adriaan] adriaan% gpc -c unita.pas --ucsd-pascal unita.pas:2: error: units are an extension of Borland Pascal, traditional unita.pas:2: error: Macintosh Pascal
UCSD Pascal certainly supports units.
unita.pas:3: error: units without `implementation' part are an extension of unita.pas:3: error: traditional Macintosh Pascal
UCSD Pascal also supports units without 'implementation part', or at least Apple UCSD Pascal does.
Thanks, I'll change this. I don't have access to a UCSD Pascal compiler, so I can't check this myself. AFAIK, nobody has cared about this dialect for some time, so you might find more discrepancies. If you do, please report or, preferable, send a patch (it doesn't take more than changing a dialect macro in a place that's usually easily found by the initial text of the message).
BTW, the latter is interesting because it would be one of the (relatively few) UCSD features that BP doesn't share.
Frank