Thanks!!!

--- In [email protected], "Fred" <[EMAIL PROTECTED]> wrote:
>
> Vr = ValueWhen(DateNum() == 1070531, C);
> Vr0 = ValueWhen(DateNum() == 1061229, C);
> 
> --- In [email protected], "gbosmis" <gbosmis@> wrote:
> >
> > Hi
> > 
> > Any suggestions how I can make something like this. Basically I 
> want 
> > a way to assign a specific date's value to a variable and carry 
on 
> > some returns calculations.
> > 
> > Regards.
> > 
> > // Returns Exploration //
> > Filter=1;
> > for( i = 0; i < BarCount; i++ )
> > {
> > if (DateNum[i] == 1070531)
> > vr = C[ i ];
> > if (DateNum[i] == 1061229)
> > vr0 = C[ i ];
> > } 
> > AddColumn( vr/vr0, "Returns" );
> >
>


Reply via email to