From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: Problem with Enumaration and visibility
Date: Wed, 14 Nov 2001 17:25:54 +0000 (UTC)
Date: 2001-11-14T17:25:54+00:00 [thread overview]
Message-ID: <slrn9v5e6s.k38.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 3BF29CBA.46D5F9B2@boeing.com
On Wed, 14 Nov 2001 16:32:58 GMT, Jeffrey Carter wrote:
> In the fragment of Setup shown, you declare a type, 2 enumeration
> literals (which are actually functions), a function (I presume, though
> you call it a procedure). The type declaration implicitly declares a
cut'n'paste error it is a function :-)
> You have a number of choices:
[..]
> 2. Add "use Setup;". This eliminates the need to prefix anything.
Don't like this for my packages.
>
> 3. Add "use type Setup.Method_Enum_Type;". This eliminates the need to
> prefix "=", but you will still need to prefix Spell.
Yes this is nice.
Preben
next prev parent reply other threads:[~2001-11-14 17:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <slrn9v4uqg.h34.randhol+abuse@kiuk0156.chembio.ntnu.n o>
2001-11-14 13:03 ` Problem with Enumaration and visibility Preben Randhol
2001-11-14 13:48 ` Wilhelm Spickermann
2001-11-14 16:55 ` Preben Randhol
2001-11-14 15:28 ` Ted Dennison
2001-11-14 16:32 ` Jeffrey Carter
2001-11-14 17:25 ` Preben Randhol [this message]
2001-11-14 15:37 Hambut Frumblefoot
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox