[gtkada] text files

Preben Randhol randhol at pvv.org
Mon Nov 12 19:10:34 CET 2001


Preben Randhol <randhol at pvv.org> wrote on 12/11/2001 (18:04) :
> 
> You miss new_line; here

skip_line; I mean.

> 
> >        c(1):=character'VAL(10); ------------>HERE DOES THE PROBLEM BEGIN!!

c(1):= "" & ASCII.LF;

> >        gtk.text.insert(texto, chars=>c);---->
> >       end loop;
> >       close(file);
> > end cargar;

But I think that perhaps it is better to use Get_Line or sth like that.

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




More information about the gtkada mailing list