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

How to initialise variable?



PureBytes Links

Trading Reference Links

Hello Amibroker users,
Could you please advise me how to assign initial value to new variable in
AFL?

I have situation like that (this is only example to simplify):
value = IIF(H>C, Ref(value, -1), 1);

and AFL Error window shows message
"value = IIF(H>C, Ref(value,
^

Unknown identifier"

Thanks,
Marek Chlopek