[gtkada] configuration files

Preben Randhol randhol at pvv.org
Wed May 29 12:56:03 CEST 2002


Preben Randhol <randhol at pvv.org> wrote on 28/05/2002 (18:38) :
> If everything is read into the memory before used it could be done by
> simply having a Get_Number_of_Items (Section => "Data") and then just do
> a for loop on this.
> 
>    for I in 1 .. Get_Number_of_Items (Section => "Data") loop
>       Get_Keyword_And_Value (Section => "Data", Keyword (I), Value (I));

oops should be:

      Get_Keyword_And_Value (Section => "Data", 
                             Line    => I,
                             Keyword => Keyword (I), 
                             Value   => Value (I));

>    end loop;
> 
> -- 
> Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
>                  «For me, Ada95 puts back the joy in programming.»
> 
> _______________________________________________
> gtkada mailing list
> gtkada at lists.act-europe.fr
> http://lists.act-europe.fr/mailman/listinfo/gtkada

-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 «For me, Ada95 puts back the joy in programming.»




More information about the gtkada mailing list