PureBytes Links
Trading Reference Links
|
Sometimes the way
we have always done something is not so simple in AFL.
<FONT color=#000080
size=2>
How doI
accumulate "Points"?
<FONT
size=2>
If
condition 1 is true then Points = 5.<SPAN
class=109013318-15102002>
<FONT
color=#0000ff face=Arial><SPAN
class=109013318-15102002>
<FONT
color=#0000ff face=Arial><SPAN
class=109013318-15102002>x=iif(condition1,5,0);
<FONT
color=#0000ff face=Arial><SPAN
class=109013318-15102002>y=iif(condition2,5,0);
<FONT
color=#0000ff face=Arial>points=x+y;
?????
<FONT
color=#0000ff face=Arial><SPAN
class=109013318-15102002>
<FONT
color=#0000ff face=Arial><SPAN
class=109013318-15102002>jayson
<FONT
color=#0000ff face=Arial><SPAN
class=109013318-15102002>
If Condition 2 is
true then I want to add another 5 to
"Points".<FONT
color=#000080 size=2>
The
statement: Points = 5 + 5; will work
fine.
<FONT color=#000080
size=2>
The
Statement: Points = Points + 5; will not work giving me
an Unknown identifier message.
<FONT color=#000080
size=2>
It should be this
simple !!
<FONT color=#000080
size=2>
<FONT color=#000080
size=2>Thanks,
<FONT color=#000080 face="Vladimir Script"
size=5>Rick
Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|