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

Re: NumToStr query



PureBytes Links

Trading Reference Links

On Fri, 19 Jul 2002, Ian Waugh wrote:

> 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?

You're expecting TS6 to evaluate your string, not simply convert "123"
to 123. TS6 does not do evalations.