On 11 Feb 2003 at 4:15, Frank Heckenbach wrote:
[...]
As the note in the GPC unit says:
: This unit contains Pascal declarations of many RTS routines which : are not built into the compiler and can be called from programs. : Don't copy the declarations from this unit into your programs, but : rather include this unit with a `uses' statement. The reason is : that the internal declarations, e.g. the `asmnames', may change, : and this unit will be changed accordingly.
If you just need some declarations from the GPC unit in your units, you might achieve it via `only' imports (see my other mail), possibly with import renaming to avoid name conflicts:
import GPC only (FileMode => GPC_FileMode);
If you also need to re-export some of those declarations, I'll have to think further ...
That is exactly the problem. As you remember, Delphi's Sysutils is a sort of amalgam of routines from the old BP Strings and Dos units - some are identically named, and some are not. Instead of reinventing the wheel, I just export them using the asmnames. If the asmnames will be changing frequently, this kind of solution becomes a non-starter. Therefore I suggest that asmnames should not be changed until we have qualified identifiers.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/