Re: Newbie question: why 2 uses clauses?



;5B> implementation / uses clause prevents "circular references error",
> where UnitA references UnitB which references UnitA.
>
> 3 initialization
>
> This section contains initialisation code of which all initialisation
> code in all units is run before the code in any implementation section.
> The initialisation code is run in the order in which your code
> encaounter the various units in the uses clause of all units. Yu must
> enter the "initialization" keyword.
>

3A old TP style begin..end initialization. Essentially the same as
initialization but with different syntax.
.



Relevant Pages

  • Re: How to do "Compile time" initialization of record array?
    ... It should be noted that there is proposed syntax for C# 3.0 which will ... public struct MyStruct ... What actually gets compiled is the same array initialization as there is ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Initialisation of derived type array
    ... default initialization applies to all objects of the type - ... The initialization in the DATA statement and in the type declaration ... I think that's what Dave was asking about, ... shows the syntax. ...
    (comp.lang.fortran)
  • Re: array of structs
    ... This syntax only works for initialization, not assignment, so you can do ... probably define the bools as an int ...
    (comp.lang.cpp)
  • Re: NEWBIE Question:-(
    ... > You are correct about it being an initialization, ... bit is a vendor-specific syntax for hexadecimal. ... > Prior to f90, there was no standard syntax for hex literals. ...
    (comp.lang.fortran)
  • Re: Initialisation of derived type array
    ... but I want to initialise each array element to a different ... special syntax for any of this stuff. ... The syntax of initialization in a type declaration, ... It is a syntax for writing a derived type value wherever ...
    (comp.lang.fortran)