comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Initialising stuff
Date: Wed, 17 Oct 2001 02:42:22 GMT
Date: 2001-10-17T02:42:22+00:00	[thread overview]
Message-ID: <3BCCF006.B3A57E6F@acm.org> (raw)
In-Reply-To: tB1z7.4699$nT1.823830@news6-win.server.ntlworld.com

"chris.danx" wrote:
> 
> It's private and global inside the screens package, outside it can't be
> accessed.  The operations such as put, gotoxy etc manipulate the variable,
> and to ensure proper working it requires initialisation.

That's not global, that's package state data. Whether you initialize it
where it's declared, or provide default initial values for all the
components of a record, or put a bunch of elaborate initialization code
in the package body, it's initialized during elaboration of the package.

-- 
Jeff Carter
"You couldn't catch clap in a brothel, silly English K...niggets."
Monty Python & the Holy Grail



  reply	other threads:[~2001-10-17  2:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-16 20:16 Initialising stuff chris.danx
2001-10-16 20:40 ` Ted Dennison
2001-10-16 21:26   ` chris.danx
2001-10-17  2:42     ` Jeffrey Carter [this message]
2001-10-18  8:18       ` chris.danx
2001-10-16 22:54 ` Mark Johnson
2001-10-16 23:27   ` chris.danx
replies disabled

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