[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NumToStr query



PureBytes Links

Trading Reference Links

In-Reply-To: <memo.183406@xxxxxxxxxxxxxxxxxxx>
Doh! How sorted thanks to Gary...

        stocks[value1] = C of data(value1);

Cheers,
Ian

> I'm trying to assign values to an array based on the closing price of 
> several data sets like this:
> 
> for value1=1 to 10
>  stocks[value1]=StrToNum("c of data"+NumToStr(value1,0));
> end;
>  
> but it doesn't seem to be working.
> 
> Can someone see what I'm doing wrong and tell me how to do it right, 
> please?
> 
> Cheers,
> Ian
>