Create new series from old series, one value differs
Posted: Wed Jan 19, 2011 7:09 am
Hi evereone,
I would like to create a new series in a workfile. The first obervation for that series is fixed (let us say equal to one). All other observations come form a series already in the workfile. I understand I cannot use Genr? Do I need to write a program rotating through the series observations? How do I do that using a simple example?
Here again what I need:
NewSeries(1) = "1"
For i = 2 to LastObservation
NewSeries(i) = Oldseries(i)
Next i
Not an expert on command reference. Any help is appreciated
I would like to create a new series in a workfile. The first obervation for that series is fixed (let us say equal to one). All other observations come form a series already in the workfile. I understand I cannot use Genr? Do I need to write a program rotating through the series observations? How do I do that using a simple example?
Here again what I need:
NewSeries(1) = "1"
For i = 2 to LastObservation
NewSeries(i) = Oldseries(i)
Next i
Not an expert on command reference. Any help is appreciated