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

Home » Public Forums » archive » OPENing a file with variable name?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
OPENing a file with variable name? [message #4878] Tue, 15 August 1995 00:00
mbrown is currently offline  mbrown
Messages: 15
Registered: August 1995
Junior Member
Hi. I am trying to open a file whose name is a variable using OPEN. The
code looks like this
OPENR,1,filename
where filename is a string. I checked...it is definitely a string. Could
someone please tell me how to open a file using a variable for the file name?
Thanks.

Myron.
Re: OPENing a file with variable name? [message #4883 is a reply to message #4878] Tue, 15 August 1995 00:00 Go to previous message
meron is currently offline  meron
Messages: 51
Registered: July 1995
Member
In article <19950815.114349.909759.NETNEWS@WVNVM.WVNET.EDU>, mbrown@olie.wvitcoe.wvnet.edu (Myron Brown) writes:
> Hi. I am trying to open a file whose name is a variable using OPEN. The
> code looks like this
> OPENR,1,filename
> where filename is a string. I checked...it is definitely a string. Could
> someone please tell me how to open a file using a variable for the file name?
> Thanks.
>
> Myron.
>
It should work as stated. Works for me. Do you get some error message trying
to do it?


Mati Meron | "When you argue with a fool,
meron@cars3.uchicago.edu | chances are he is doing just the same"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: VELOVECT problem
Next Topic: IDL vs AVS

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

Current Time: Wed Oct 08 20:02:19 PDT 2025

Total time taken to generate the page: 0.01057 seconds