From: "chris.danx" <chris.danx@ntlworld.com>
Subject: Initialising stuff
Date: Tue, 16 Oct 2001 21:16:52 +0100
Date: 2001-10-16T21:16:52+01:00 [thread overview]
Message-ID: <EA0z7.4255$nT1.766306@news6-win.server.ntlworld.com> (raw)
Hi,
I need a variable (global) for a screen package (write to video memory) and
would like it to be initialised once and once only when the package is
"with"ed.
I can think of one way to do this...
package body xxx is
...
begin
initialise screen stuff here;
end xxx;
but I'm unsure if this will work as I don't know the issues involved. Will
this work bearing in mind the purpose of the package?
Is the following the same or similar?
package xxx is
...
private
type yyy
is record
abc : byte := 0;
end record;
a_yyy : yyy;
end xxx;
Any advice?
Thanks,
Chris
next reply other threads:[~2001-10-16 20:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-16 20:16 chris.danx [this message]
2001-10-16 20:40 ` Initialising stuff Ted Dennison
2001-10-16 21:26 ` chris.danx
2001-10-17 2:42 ` Jeffrey Carter
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