From: Hubert <herrdoktor@fumanchu.com>
Subject: Re: Elaboration Question
Date: Sat, 03 Jan 2015 01:50:31 -0800
Date: 2015-01-03T01:50:31-08:00 [thread overview]
Message-ID: <IXOpw.382949$Mq4.347198@fx25.iad> (raw)
In-Reply-To: <2f5e2392-68b0-4fe0-a224-57a060a6fd56@googlegroups.com>
>
> In your example this is no problem since at compile time the compiler will put a zero in the corresponding emplacement in the generated file. When program is loaded by the OS the corresponding memory will get the adequate value.
>
> The problems arise when, with My_Function and My_Var belong to another package
> A: Integer:= My_Function;
> or when A: Integer:=My_Var; with My_Var not being static but being the product of some calculation.
>
> Jean-François Martinez
>
Ok, makes sense.
Thanks also to all the other posters, it's not an easy topic it seems.
Personally I prefer the initialization call to a library simply because
it gives the programmer the liberty of determining the place in the
sequence of initializations of a potential longer list of libraries
which may interfere with each other's initialization if the sequence is
not under program control.
I am forced to use a graphics library currently which calls your program
as a DLL and controls your program and boy is that a pain in the butt.
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
next prev parent reply other threads:[~2015-01-03 9:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-02 3:27 Elaboration Question Hubert
2015-01-02 7:56 ` Simon Wright
2015-01-02 22:16 ` Randy Brukardt
2015-01-02 14:49 ` Brad Moore
2015-01-02 11:08 ` Mark Lorenzen
2015-01-02 13:35 ` David Botton
2015-01-02 15:11 ` sbelmont700
2015-01-02 21:57 ` Niklas Holsti
2015-01-06 2:33 ` Randy Brukardt
2015-01-06 8:17 ` Niklas Holsti
2015-01-06 20:06 ` Randy Brukardt
2015-01-03 9:45 ` Jean François Martinez
2015-01-03 9:50 ` Hubert [this message]
2015-01-03 18:43 ` Jean François Martinez
2015-01-04 1:57 ` Hubert
2015-01-04 12:05 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox