On 10 May 2003 at 14:27, Frank Heckenbach wrote:
[...]
Turn your unit into a module. That's quite simple:
unit Foo;
interface
=>
module Foo;
export Foo = all;
and
implementation
=>
end;
and
begin [...] end.
=>
to begin do begin [...] end;
end.
I have a problem. I don't want to export everything. I only want to export things in the current interface section (and there are hundreds of them, and a few of them are routines from the GPC unit/module).
I have tried;
module sysutils interface; export sysutils = all; import GPC; system;
blah, blah; end. module sysutils implementation;
blah blah; end.
I am getting errors (such as "unknown identifier `TString'", "unknown identifier `UnixTimeType'", etc).
Any ideas?
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/