Mail Archives: djgpp/1996/09/18/19:18:33
Helge Kruse wrote:
>
> Hello,
>
> I don't know, if this newsgroup should become a Pascal
> group. But the gpc-djgpp seems to be the topic....
>
> I downloaded the version 1.2-2.7.2 of gpc and tried a unit
> sample. But the code won't work. It's so small, that Id like
> to post the code here:
[snip]
>
> uses u1,u2;
>
[snip]
> u1('abc');
> writeln('f2 returns:',f2(3));
[snip]
Err, I don't know about gpc, but i think borland (turbo) pascal used to
complain about redefined identifiers if you named your functions the same
as units (maybe try u1.u1('abc'))
Gosh, it's been 2 years since I did any work in pascal, and 6 for
anything realy major (I got introduced to C :) )
- Raw text -