PureBytes Links
Trading Reference Links
|
Now, obviously, you didn't really write this. There is a bug in my
browser, since several of my e-mails got screwed up. Would you be so
kind as to consider resending it?
- Don
frank@xxxx wrote:
Tomasz, Jayson and Dimitris,
Three different solutions ! Thanks to you all for the contributions !
Rick
-----Original Message-----
From: DIMITRIS TSOKAKIS [mailto:TSOKAKIS@x...]
Sent: Tuesday, October 15, 2002 2:54 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Simply Add
Rick,
COND1=YOUR 1ST CONDITION;
COND2=YOUR NEXT CONDITION;
POINTS=5*(COND1+COND2);
It will be
5*(0+0) or 5*(1+0) or 5*(0+1) or 5*(1+1) when both conditions are
true.
No iif statement needed.
DT
--- In amibroker@xxxx, "Rick Parsons" <RickParsons@xxxx> wrote:
> Sometimes the way we have always done something is not so simple in
AFL.
>
> How do I accumulate "Points"?
>
> If condition 1 is true then Points = 5.
> If Condition 2 is true then I want to add another 5 to "Points".
> The statement: Points = 5 + 5; will work fine.
>
> The Statement: Points = Points + 5; will not work giving me an
Unknown identifier message.
>
> It should be this simple !!
>
> Thanks,
> Rick
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
<http://groups.yahoo.com/group/amiquote/messages/%29>
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=234050.2482567.3895507.2273195/D=egroupweb/S=1705632198:HM/A=1274244/R=0/*http://webevents.broadcast.com/universal/8mile>
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
<http://groups.yahoo.com/group/amiquote/messages/%29>
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
|