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

[amibroker] AFL brackets and parentheses



PureBytes Links

Trading Reference Links




Fred, this is a huge help.  I would appreciate 
it if you could even embellish your explanation further as suggested below. I 
have also read about the use of these identifiers, but failed to 
 understand their use.  I realise that I may  have a 
learning disability.  Ron D
 
 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Fred 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, August 29, 2003 7:24 
  PM
  Subject: [amibroker] Re: AFL brackets and 
  parentheses
  
  [] are used to identify individual items of an array i.e. Data[6] or 
  Data[i]() can be used to clarify a compare or computational 
  instruction i.e.if((A = B AND C = D) OR E = F){} are used in 
  Do/While/For/If statements i.e.if(A == B) < <FONT 
  color=#ff0000>this means  if  (A is equal to B)  
  some of us may not know that two equal signs are needed in 
  AFL{    <Does this mean 
  that if A is equal to B, then C will be defined as D, and E will be 
  defined as F?
   C = D;  <I 
  understand that one equal sign means that when C appears in your code, 
  then whatever code D is will be used.   E = 
  F;  <An example of   
  E=F   could be    
  "E=cross(stochk(14),stochd(14)".}   <FONT 
  color=#ff0000>< this marks the end of C=D and E=F.else  
  <This must mean that if A is not equal to B, 
  then C=D and E=F will be ignored, and G=H and I=J will be 
  used. { G = H; I = 
  J;}------------------------ Yahoo! Groups Sponsor 
  ---------------------~-->Buy Ink Cartridges or Refill Kits for Your HP, 
  Epson, Canon or LexmarkPrinter at Myinks.com. Free s/h on orders $50 or 
  more to the US & Canada. <A 
  href="">http://www.c1tracking.com/l.asp?cid=5511<A 
  href="">http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send 
  BUG REPORTS to <A 
  href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  <A 
  href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: <A 
  href="">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 <A 
  href="">http://docs.yahoo.com/info/terms/ 
  






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.