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

Home » Public Forums » archive » file_expand_path
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
file_expand_path [message #51899] Tue, 12 December 2006 15:37
damonanomad is currently offline  damonanomad
Messages: 2
Registered: December 2006
Junior Member
Hello,
I am trying to to use IDL and have run into some a strange behavior
in 6.2 using file_expand_path. The following lines illustrate what I
am seeing:

IDL> file_a=file_expand_path('full28field.table')
IDL> print, file_a
C:\DocSet\MyDoc\IDL\working\full28field.table
IDL> print, file_test(file_a)
0
IDL> file_b='C:\DocSet\MyDoc\IDL\working\FieldInfo\full28field.ta ble'
IDL> print, file_test(file_b)
1

As can be seen above, the path that it is returning is not the true
path of the file but I don't know why it isn't. The search path that I
have set in "Preferences" (in addition to default) is
'C:\DocSet\MyDoc\IDL' and its sub-directories. (note that
'\DocSet\MyDoc' = '\Documents and Settings\user\My Documents' in
reality)
Any ideas out there why I am running into this problem? Suggestions
would be greatly appreciated.

Thanks,
Damon
[Message index]
 
Read Message
Previous Topic: LONG - reads 4 or 8 bytes??
Next Topic: Re: LONG - reads 4 or 8 bytes??

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

Current Time: Sun Oct 12 02:27:57 PDT 2025

Total time taken to generate the page: 1.67921 seconds