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

ELA Help



PureBytes Links

Trading Reference Links

I'm new to Easy Language coding and I don't understand my mistake below. If
someone has an insight I sure would appreciate it.

This code:

Variables: i(0);

Print("Index test");
For i = 0 to 4 begin
 Print(High[i]);
End;

Produces this result:

Index test
    447.65
    454.15
    447.65
    447.65
    447.65
Index test
    462.68
    461.33
    453.28
    446.42
    447.65

The second set of values is correct and I don't understand what happened to
the first set. I'm running TS2Ki with BMI quotes. I'm testing during the day
and wonder if that has anything to do with it. Do I need to initialize the
High array before I use it?

Thanks in advance,

John Manasco