From: Colin_Paul_Gloster@ACM.org (Colin Paul Gloster)
Subject: Re: Some questions
Date: 10 Oct 2002 13:44:29 GMT
Date: 2002-10-10T13:44:29+00:00 [thread overview]
Message-ID: <slrnaqb11t.of3.Colin_Paul_Gloster@camac.dcu.ie> (raw)
In-Reply-To: 19f3ad7fb9ae3e7dd23e6ce7a7e8ee1a.110780@mygate.mailgate.org
Sim Con wrote:
"[..] i have another question:
my print procedure needs a stack type for work and use some
private variable of the generic class so if i define a specific print
in other parts (main procedures or in other packages) i receive an
error, any help? thanx again!!"
Add a function (an accessor method) to the generic which returns a copy of
the private variable. This function should not be private, so that it can
be called elsewhere.
next prev parent reply other threads:[~2002-10-10 13:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 11:17 Some questions Sim Con
2002-10-10 12:27 ` David C. Hoos
2002-10-10 13:34 ` Sim Con
2002-10-10 13:44 ` Colin Paul Gloster [this message]
2002-10-10 14:36 ` David C. Hoos
2002-10-10 14:18 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox