comp.lang.ada
 help / color / mirror / Atom feed
From: "Ehud Lamm" <mslamm@mscc.huji.ac.il>
Subject: Re: Protected Object: little question
Date: Sat, 1 Dec 2001 12:43:21 +0200
Date: 2001-12-01T12:43:21+02:00	[thread overview]
Message-ID: <9uach8$p5p$1@news.huji.ac.il> (raw)
In-Reply-To: 3C07DE0D.B5B1C77B@9online.fr

You must use a function inside the portected object. It can return a dummy
value (a boolean TRUE for example).
If you don't want users to deal with this ugly and useless return value,
simply provide a procedure (declared otuside the p.o) that uses the function
and discards the dummy return value.

Ehud





  parent reply	other threads:[~2001-12-01 10:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30 19:29 Protected Object: little question Bruno Hergott
2001-11-30 21:15 ` Dale Stanbrough
2001-12-01  4:00   ` Mark Lundquist
2001-12-01 15:55     ` Nick Roberts
2001-11-30 22:37 ` Jeffrey Carter
2001-12-01 10:43 ` Ehud Lamm [this message]
2001-12-03 13:24 ` John English
2001-12-03 15:26   ` Martin Dowie
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox