[gtkada] Re: gtkada digest, Vol 1 #125 - 5 msgs

Preben Randhol randhol at pvv.org
Fri Apr 5 14:51:33 CEST 2002


manuel.op.de.coul at eon-benelux.com wrote on 05/04/2002 (14:39) :
> >How do you do that?
> 
> In a body at library level you do something like:
> 
>   Save_Dir : constant String := My_Os_Lib.Get_Current_Dir;

But current directory do not have to be the same as the directory the
program is in.

Say you in Linux have you program in /usr/bin and you start it from
/home/somebody/ then the current directory will be the last and not
where the program is.

> Do you still have my sources? Then look in package 
> Os_Command how to get the current directory.

I'll check

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




More information about the gtkada mailing list