On Mon, 21 Feb 2005, Frank Heckenbach wrote:
Adriaan van Os wrote:
Waldek Hebisch wrote:
The second way requires gpc-20050217 (qualified indentifiers).
Do we have a way to qualify built-in routines, e.g. "program.round"
No, we don't (except by explicit wrappers, as others have described).
(as "system.round" refers to a "system" unit) ?
Yes, it refers to a `System' unit. But built-in identifiers are not declared in a `System' unit (which would violate EP where `System' is not a special name), but at "level 0" as Chuck calls it (I don't know if the standard has a term for it, I think it just talks of "required procedures and functions" and that they have a "definingpoint not contained by the programblock").
One could consider whether to add such a facility, but especially for built-in routines with special syntax (such as `WriteLn') this will probably not be easy, so I don't really like the idea.
Would it be easier to have the linker ignore the built-in round() if there was a library module containing round() on the command line?
Russ