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

Home » Public Forums » archive » writing to a specific directory
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: writing to a specific directory [message #41297 is a reply to message #41101] Fri, 01 October 2004 17:03 Go to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
IDLmastertobe wrote:
> Yes, but I think this only applies openr and not openw. I'm just not sure
> as to how to write to a directory with respect to using openw.
>

dialog_pickfile does nothing else than returning a string which contains
a filename, including the path. That string can then be passed as an
argument to openr, openw and any other function / procedure which does
something with a file.

Anyway, you don't write to a directory, you write to a file. And to
specify the file in IDL, you use a text string. The text string can
include an absolute path, or a path relative to the current working
directory (which you can find out by doing

IDL> cd, current=current_dir & print, current_dir

).

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: writing to a specific directory
Next Topic: Re: Starting the virtual machine

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

Current Time: Sat Oct 11 12:39:10 PDT 2025

Total time taken to generate the page: 0.95962 seconds