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

Re: [amibroker] if else else else



PureBytes Links

Trading Reference Links




Hello,
 
Yes it is possible; it is described in the AFL 
reference manual.
 
PS - Although there is no "break" or similar 
statement statement in AFL, you could probably jump out of your loop by 
checking for an additional condition, which you set inside the loop when 
you have found what you want and are ready to bail out.
 
Steve.
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  ed2000nl 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, October 05, 2003 4:13 
  PM
  Subject: [amibroker] if else else 
  else
  hi,because I can't jump directly out of a loop in 
  AFL I want to make use of a construction (I think it is called nesting if 
  statements):if (condition) {} else {if (condition) 
  {}} else {if (condition) {}} else {if 
  (condition) {}}is this possible in AFL?thanks, 
  EdSend 
  BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------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. 







Yahoo! Groups Sponsor


  ADVERTISEMENT









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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.