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

Home » Public Forums » archive » Retrieving Specific Data From a .txt file - PVWAVE
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
Retrieving Specific Data From a .txt file - PVWAVE [message #80016] Wed, 25 April 2012 11:09
Erini Lambrides is currently offline  Erini Lambrides
Messages: 6
Registered: March 2012
Junior Member
Hello Folks,

I haven't used pv-wave for very long, so bear with me if the answer
to my questions seem obvious. In a procedure I am writing, I want to
be able to extra certain data from a .txt file and store that data
into specific variables that I have already in my procedure. The data
within the .txt files are produced through pv-wave so it will always
be the same formatting - so Step1: find the file ( I know how to do
this)
Step2: user inputs a number (in my case this is
called the shot number)
Step3: check if that number is there
Step4:retrieve the data (i would only need the
lines below that shot and above the next shot)
Step5:split up the data into specific variables
(I can manage that)
The format of the .txt file looks something like this
shot 12345
h12 54 69 72
h13 47 85 92
.
.
.
shot 12346

Any ideas at all? Sorry if this is all sounds convoluted.

Thanks for any help!
-erini
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: small consulting firm in NM needs an IDL developer
Next Topic: Re: Retrieving Specific Data From a .txt file - PVWAVE

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

Current Time: Wed Oct 08 17:29:29 PDT 2025

Total time taken to generate the page: 0.00667 seconds