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

Home » Public Forums » archive » Reading-in ASCII Files
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
Reading-in ASCII Files [message #15986] Wed, 23 June 1999 00:00
konu is currently offline  konu
Messages: 2
Registered: May 1999
Junior Member
Hello,

I've written a program that has quite a few input parameters. Passing all the parameters as arguments is impractical. I think, that instead, I should an ASCII file for input. What I want to do looks like this:

PRO REGISTER, Input_file
@Input_file ; I know I can't do this
...
END

Does anyone how know to get the behaviour I desire on the second line.

Input_file is an ASCII file that looks like this:

; some informative comment
var_1 = 5
; more comments
var_2 = 'string/to/a_filename'
...

If this simply can't be done, I suspect I'll have to "parse" the Input_file. Does anyone know of a procedure/function to do this?

Thanks,

Kristjan Onu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Reading-in ASCII Files
Next Topic: Re: stereo display with IDL

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

Current Time: Wed Oct 08 19:26:07 PDT 2025

Total time taken to generate the page: 0.00537 seconds