comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: procedure within a procedure

procedure within a procedure
type: item
description: I have a procedure which reads in a large amount of data(.25mb i think). It takes a while for idl to read in all the data. Then I have about 5 lines of which I use to print selected data points using plot, and oplot from the large data set. The problem comes when I plot say 5 points out of 50. Then I stop. Then I want to plot a different 5 points out of the master data set, without having to read in all the data. Is there a way to make the procedure execute from the point where I just manipulate the data, or should I somehow make those lines say an auxilliary procedure, and somehow allow that to see the variables from the initial procedure? What it boils down to, is I want to be able to plot an infinite number of time, but read in the data only once. -- ************************************************************ ************ Bobby J. Allen II. Computer Science Major University of Maryland Baltimore County 410-455-1927 ballen1@gl.umbc.edu ************************************************************ ************* "When I was a young man, I observed that nine out of ten things I did were failures. I didn't want to be a failure, so I did ten times more work" - George Bernard Shaw " For the foolishness of God is wiser than man's wisdom, and the weakness of God is stronger than man's strength" - I Cor 1:25 (N.I.V) ************************************************************ **************
creator: allen bobby
date: 1997-01-16T08:00:00-00:00