| delorie.com/archives/browse.cgi | search |
| Newsgroups: | comp.os.msdos.djgpp |
| From: | hk AT bercos DOT de (Helge Kruse) |
| Subject: | Re: gnu pascal unit problem |
| Reply-To: | hk AT bercos DOT de |
| Organization: | BERCOS GmbH Berlin, Germany |
| Message-ID: | <Dxz6C7.Gxn@bercos.de> |
| References: | <Dxx3Bv DOT 2G5 AT bercos DOT de> <324124FD DOT 13BD AT blackmagic DOT tait DOT co DOT nz> |
| Date: | Thu, 19 Sep 1996 10:26:31 GMT |
| Lines: | 20 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Bill Currie (billc AT blackmagic DOT tait DOT co DOT nz) wrote:
: >
: > uses u1,u2;
: [snip]
: > u1('abc');
: 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'))
gpc will assume that u1 is a RECORD and looks for the member u1.
That doesn't work.
BTW: I wrote: renaming the function or unit name does not help.
Helge
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |