PureBytes Links
Trading Reference Links
|
m.jonker@xxxxxxxxxx writes:
>
> Does anybody know how to assign a value to a variable in an if..then
> statement? What I'd like looks something like this:
>
>
>
> if(condition, Trend:=1, Trend:=-1)
I'm not at my metastock machine, but will:
Trend := if(condition, 1, -1);
work?
--
========================================================================
User Surly
http://www.unixgeek.com/cgi-bin/motd.pl - PGP email preferred
|