On Wed, Dec 11, 2002 at 03:27:22AM +0100, Frank Heckenbach wrote: [...]
In fact, `Integer (16)' is non-standard already. (Is this a competition who finds the most basic non-standard usage in this statement? ;-)
Now, seeing this, I'm starting to doubt whether this syntax is useful. AFAICS, there is no easy and clean way to achieve what's wanted here. The following would be just as wrong, of course:
type Int16 = Integer (16); Integer = Int16;
The only way out might be to define Int16 in another module (here probably in the GPC module) and use it in the System unit.
If System were a module rather than unit, export renaming would do the job, IMHO:
export System = (Borland_Integer => Integer, ...)
...
type Borland_Integer = Integer (16);
Emil