comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: FILE_DIRNAME question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FILE_DIRNAME question [message #45603 is a reply to message #45602] Mon, 19 September 2005 13:38 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Kenneth Bowman wrote:
> Can anyone explain what I am doing wrong here?
>
> IDL> print, FILE_DIRNAME(['top', 'middle'], /MARK)
> ./ ./
> IDL> print, FILE_DIRNAME('/top/middle/', /MARK)
> /top/
>
>

Hi,

I have the same system and version. I'm not sure what to think, but I
wonder why you are comparing '/top...' with 'top'. I have always
assumed that the leading '/' was an important component of the path
description. At least when I do the following I get what I expect to get.

IDL> print, FILE_DIRNAME(['/top', '/middle'], /MARK)
/ /

Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Container/Holder Destruction
Next Topic: wildcard in "where" command

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:16:44 PDT 2025

Total time taken to generate the page: 0.64011 seconds