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

Home » Public Forums » archive » Re: String input to PRO ??
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
Re: String input to PRO ?? [message #5852] Tue, 05 March 1996 00:00
Andy Loughe is currently offline  Andy Loughe
Messages: 174
Registered: November 1995
Senior Member
Dot Carney wrote:
>
> This is a novice PV-WAVE (on UNIX) question:
>
> How do I write a procedure which will be called with a file-name
> as a parameter? I want a file demo.pro which I call in wave
> with the statement demo,file_name where file_name is an ascii
> string naming a file in my UNIX directory. For example:
>
> PRO demo,file_name
> openr,1,file_name
> ... etc ...
>
> compiled and then used, eg:
>
> wave> demo,file.1234
>
> which would open 'file.1234' in my directory. I would prefer to NOT
> do this from a C-shell script ... I'd like to do it within wave.
>
> thanx --dcarney@lerc.nasa.gov


I think you have done it!
But how do you call it? Use quotes.

An example...

wave> demo, 'file.1234'


--
Andrew F. Loughe (afl@cdc.noaa.gov)
University of Colorado, CIRES * Campus Box 449 * Boulder, CO 80309
phone: (303) 492-0707 fax: (303) 497-7013
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Using IDL's map database
Next Topic: lego option with surface

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

Current Time: Wed Oct 08 13:46:41 PDT 2025

Total time taken to generate the page: 0.00551 seconds