Re: [AD] al_get_path_basename

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Fri September 4 2009, Trent Gamblin wrote:
> I find the name of this function a little confusing. When I read it I think
> it should behave like the unix "basename" command, which returns the
> filename part WITH extension. But the allegro function returns the
> filename part without the extension.  I do think we should keep the
> functionality but maybe consider a different name.

try running: basename foo.txt .txt

;)

but yeah, the actual filename is the filename function.

>
> Trent :-)
>
> ---------------------------------------------------------------------------
>--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment - and
> focus on what you do best, core application coding. Discover what's new
> with Crystal Reports now.  http://p.sf.net/sfu/bobj-july


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/